Bug 746693

Summary: Can't login via gdm when `metacity` pkg is not installed
Product: [Fedora] Fedora Reporter: Adam Tkac <atkac>
Component: gdmAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 16CC: awilliam, bowie.owens, cwickert, jan.kratochvil, mads, mkrizek, ovasik, rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=750397
Whiteboard: AcceptedNTH RejectedBlocker
Fixed In Version: gdm- Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-02 14:19:27 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 748255    
Description Flags
add xfwm4 launcher to gdm none

Description Adam Tkac 2011-10-17 10:40:49 EDT
Description of problem:
I've just updated to the F16 and I'm not able to login via gdm when metacity
package is not installed. I don't use GNOME, I use fluxbox, so metacity wasn't
present on my fully-functional F15 machine.

Version-Release number of selected component (if applicable):
$ rpm -q gdm

How reproducible:

Steps to Reproduce:
1. install gdm and fluxbox pkgs, remove metacity pkg
2. boot to runlevel 5 and try to log in
Actual results:
gdm fails to start with complains that gdm-shell is missing (I don't have it installed)

Expected results:
successful login

Additional info:
When I installed metacity package, I was able to login again.
Comment 1 Matthias Clasen 2011-10-24 17:56:38 EDT
*** Bug 747161 has been marked as a duplicate of this bug. ***
Comment 2 Matthias Clasen 2011-10-24 18:09:44 EDT
*** Bug 729642 has been marked as a duplicate of this bug. ***
Comment 3 Adam Williamson 2011-10-26 15:43:35 EDT
gdm should probably require metacity, for now at least. but why does it require a WM at all, in fallback mode? gdm never used to need one.
Comment 4 Christoph Wickert 2011-11-01 09:44:31 EDT
This is a blocker for the Xfce Spin, raising severity to urgent.

Ray, Matthias, please give some insight what causes this bug and what we are supposed to do here. We fixed bug 750397 and now we are running into this problem.
Comment 5 Christoph Wickert 2011-11-01 10:45:50 EDT
*** Bug 750523 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Wickert 2011-11-01 10:47:06 EDT
As you can see from the number of duplicates this needs to be fixed in gdm. We can only fix it for the Xfce spin if if we add metacity there, but this won't help people who install Xfce from the DVD.
Comment 7 Christoph Wickert 2011-11-01 10:50:53 EDT
Setting F16Blocker since this not only affects Xfce (which is only NTH but not a blocker) but GNOME itself.
Comment 8 Adam Williamson 2011-11-01 11:44:26 EDT
This has no material impact on a default GNOME install from spin or DVD because they both contain the 'metacity' package, so this isn't really a blocker. But I'd support re-spinning Xfce one more time to fix it.

Fedora Bugzappers volunteer triage team
Comment 9 Adam Williamson 2011-11-01 15:54:44 EDT
Discussed at 2011-11-01 emergency blocker review meeting. Accepted as NTH as it breaks the non-blocker Xfce desktop.

Fedora Bugzappers volunteer triage team
Comment 10 Fedora Update System 2011-11-01 16:11:48 EDT
gdm- has been submitted as an update for Fedora 16.
Comment 11 Michael Cronenworth 2011-11-01 16:45:08 EDT
Created attachment 531193 [details]
add xfwm4 launcher to gdm

I've attached a simple patch that will call xfwm4 if metacity doesn't exist. It falls back to compiz, last, if both metacity and xfwm4 do not exist.

Why is the calling of window managers hard coded in GDM? I swear that back in the old days we had a "switch-desk" or similar named program that allowed you to use different window managers.
Comment 12 Bowie Owens 2011-11-01 17:58:58 EDT
If it helps, I am happy to retry the installation process. Please let me know when the fix is ready to try.
Comment 13 Fedora Update System 2011-11-02 14:19:27 EDT
gdm- has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.