gnome-base/gdm-3.2.1.1-r1 fails to start with complains that gdm-shell is missing.
Steps to Reproduce: Uninstall metacity ebuild, or not install it at all which is a tipical scenario when not using GNOME but using GDM, for example to load XFCE4.
Created attachment 296383 [details] gnome-base/gdm-3.2.1.1-r2 Patch that will call xfwm4 if metacity doesn't exist. It falls back to compiz, last, if both metacity and xfwm4 do not exist. Taken from https://bugzilla.redhat.com/show_bug.cgi?id=746693
Created attachment 296385 [details] files/gdm-3.2.1.1-xfwm4-compat.patch Patch that will call xfwm4 if metacity doesn't exist. It falls back to compiz, last, if both metacity and xfwm4 do not exist. Taken from https://bugzilla.redhat.com/show_bug.cgi?id=746693
Above patch seems to not work. What works is to modify: /usr/share/gnome-session/sessions/gdm-fallback.session [GNOME Session] Name=Display Manager RequiredComponents=gdm-simple-greeter;gnome-settings-daemon; RequiredProviders=windowmanager; DefaultProvider-windowmanager=xfwm4 and create /usr/share/applications/xfwm4.desktop [Desktop Entry] Type=Application Name=XFWM4 Name[es]=XFWM4 Exec=xfwm4 NoDisplay=true X-GNOME-WMSettingsModule=xfwm4 X-GNOME-WMName=XFWM X-GNOME-Autostart-Phase=WindowManager X-GNOME-Provides=windowmanager X-GNOME-Autostart-Notify=true This would make GDM to start without metacity installed but with XFWM4 instead.
The lazy fix is to remove the dependency condition on the ebuild !gnome-shell? ( x11-wm/metacity ) and add metacity as an always dependency being it always needed (being compiled with or withouth gnome-shell).
Fixed in 3.2.1.1-r2 by adding a default-enabled fallback USE flag that pulls in metacity. Thanks for reporting! >*gdm-3.2.1.1-r2 (31 Dec 2011) > > 31 Dec 2011; Alexandre Rostovtsev <tetromino@gentoo.org> > +files/gdm-3.2.1.1-pam-fix-1.patch, +files/3.2.1.1/gdm-fingerprint, > +files/gdm-3.2.1.1-pam-fix-2.patch, +files/3.2.1.1/gdm, > +files/3.2.1.1/gdm.service, +files/3.2.1.1/gdm-autologin, > +files/3.2.1.1/gdm-welcome, gdm-3.2.1.1-r1.ebuild, +gdm-3.2.1.1-r2.ebuild, > +files/3.2.1.1/gdm-password, +files/3.2.1.1/gdm-smartcard, metadata.xml: > Add upstream patches to fix login problems with slow pam modules. Add > default-enabled fallback USE flag to pull in metacity (bug #395295, thanks to > Octavio Ruiz (Ta^3) for reporting). Use a better systemd service file (bug > #396317, thanks to Michał Górny). Ship systemd service file and pam.d files > in FILESDIR instead of a separate tarball; these are small files and unlikely > to change (bug #396317, comment 8). Punt unused elibc_glibc from IUSE. Move > gnome2_src_prepare after eautoreconf. > Forced to drop arm keyword due to gnome-session dependency (bug #390345).