Bug 248069 - x11/gnome3-lite requires gdm to run
Summary: x11/gnome3-lite requires gdm to run
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
Depends on:
Reported: 2020-07-18 15:44 UTC by Jason W. Bacon
Modified: 2020-10-09 21:11 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Note You need to log in before you can comment on or make changes to this bug.
Description Jason W. Bacon freebsd_committer 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 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 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

  Add gdm to the list of gnome-lite dependencies

  PR:		248069
  Submitted by:	jwb