Bug 248069

Summary: x11/gnome3-lite requires gdm to run
Product: Ports & Packages Reporter: Jason W. Bacon <jwb>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me CC: lantw44
Priority: --- Flags: bugzilla: maintainer-feedback? (gnome)
Version: Latest   
Hardware: Any   
OS: Any   

Description Jason W. Bacon freebsd_committer freebsd_triage 2020-07-18 15:44:57 UTC
Trying to test a basic gnome3-lite installation using startx and the following at the end of .xinitrc:

export XDG_SESSION_TYPE=x11
export GDK_BACKEND=x11
exec gnome-session

Xorg starts, but I just get a black screen.

After pkg install gdm, startx works fine.

I noticed that gdm depends on polkit-gnome, so I tried that alone and found it was not sufficient.

Maybe gdm should be added to RUN_DEPENDS for gnome3-lite?
Comment 1 Ting-Wei Lan 2020-07-26 14:30:42 UTC
(In reply to Jason W. Bacon from comment #0)
Yes, gnome3-lite should depend on gdm. The problem is that gnome-shell depends on gdm and gdm depends on gnome-shell, but FreeBSD ports do not allow dependencies to be declared in this way.
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-10-09 21:09:00 UTC
A commit references this bug:

Author: bapt
Date: Fri Oct  9 21:08:17 UTC 2020
New revision: 551828
URL: https://svnweb.freebsd.org/changeset/ports/551828

Log:
  Add gdm to the list of gnome-lite dependencies

  PR:		248069
  Submitted by:	jwb

Changes:
  head/x11/gnome3/Makefile