Description of problem: netinstall to HD f16 Beta of LDXE and sugar (no gnome) fails to start gdm after firstboot Version-Release number of selected component (if applicable): netinstall RC4 Beta x86-64 CD How reproducible: this happens with fedora repo only and with updates testing and fedora repo selected Steps to Reproduce: 1.install to HD with LXDE and sugar selected in customize now 2.deselect gnome 3.install Actual results: after completing firstboot: hangs at verne background and rotating cursor never starts gdm login Expected results: log in to gdm Additional info:
booted to init 3 did # yum install gdm gdm updated to updates testing (It was installed) start x as user pop up->Failed to load session "gnome" It looks like even with graphical desktop selected ( XFCE and sugar selected; gnome deselected) an incomplete install results.
I am seeing this problem also with full DVD. Errors in /var/log/gdm/ are ** (gnome-settings-daemon:1125): WARNING **: Connection failed, reconnecting... setting the system to setenforce 0 and killing 1125 did not fix the issue so I don;'t think it is selinux related. There are messages in /var/log/messages stating: Oct 5 09:09:03 emachine01 dbus-daemon[916]: ** (polkitd:930): DEBUG: user of caller is unix-user:root Oct 5 09:09:03 emachine01 dbus-daemon[916]: ** (polkitd:930): DEBUG: user of subject is unix-user:gdm Oct 5 09:09:03 emachine01 dbus-daemon[916]: ** (polkitd:930): DEBUG: checking whether system-bus-name::1.41 is authorized for org.freedesktop.upower.hibernate Oct 5 09:09:03 emachine01 dbus-daemon[916]: ** (polkitd:930): DEBUG: 0x1678e60 Oct 5 09:09:03 emachine01 dbus-daemon[916]: ** (polkitd:930): DEBUG: subject is in session /org/freedesktop/ConsoleKit/Session1 (local=1 active=0) Oct 5 09:09:03 emachine01 dbus-daemon[916]: ** (polkitd:930): DEBUG: not authorized Oct 5 09:09:03 emachine01 dbus-daemon[916]: ** (polkitd:930): DEBUG: which may be related.
Created attachment 526546 [details] netinstall with graphical desktop (gnome LDXE sugar-desktop) list of installed packages 2 default repos 10/05/2011 This booted fine to gdm login. with gnome deselected in netinstall unable to boot to gdm stalls with Verne background and spinning circle cursor.
see attachment for list of installed packages when gnome is selected. It sucessfully boots to gdm and gnome3-shell 3.2.0
problem may be that gdm is now part of gnome3-shell....will not work without gnome install in netinstall?
well, that's not exactly it. it's more that GNOME doesn't use gdm any more, when 3D acceleration is available: gnome-shell itself does the login. GNOME only uses gdm proper in fallback mode. AIUI, anyway. But I don't think gdm is intending to stop supporting non-GNOME desktops, so this ought to be fixed. This isn't a blocker as the only release blocking desktops are GNOME and KDE, but certainly I'd be +1 NTH.
install with RC4 DVD of LDXE logs in properly using LDXE login. Is this only with netinstall that this error occurs?
Installed correctly with 2nd netinstall with LDXE only graphical desktop ?? (gnome deselected) got LDXE gdm login f16 RC4 Beta netinstall x86-64 CD I did not include sugar-desktop this time? Do software updates: 8 log out / login works shutdown start works
I think sugar will influence things, as sugar uses gdm, right? LXDE does not, it uses lxdm. So I suspect if you install with only LXDE you don't get gdm installed at all, only lxdm, and lxdm is used. If you install with Sugar and LXDE, you get both gdm and lxdm installed, and gdm takes priority. I haven't checked, but that's what I'd guess.
yum groupinstall gnome-desktop dbus-launch gsettings set org.gnome.desktop.session session-name 'gnome-fallback' starts gnome3 in fallback mode
(In reply to comment #10) > yum groupinstall gnome-desktop > > dbus-launch gsettings set org.gnome.desktop.session session-name > 'gnome-fallback' > > starts gnome3 in fallback mode Farther tests: system settings/graphics/fallback mode off reboot uses gnome gdm to login to gnome3-shell? (overrides LDXE login) I need to test this with a netinstall of XFCE and sugar only again.
j'accuse: http://git.gnome.org/browse/gdm/commit/?id=f350f58c78551614d8c864921705f26aa2fffa18 I think this reverted a bit more than it should have done. Instead of just reverting the *version check* for gnome-shell, it takes out the check of shell's presence entirely. So as long as /usr/libexec/gnome-session-check-accelerated passes, it will happily try to fire up gnome-shell to handle login...even if gnome-shell does not in point of fact exist on the system. this is just me poking through git, but that's what it looks like to me.
...and indeed that was fixed upstream five days ago by this commit: http://git.gnome.org/browse/gdm/commit/data/gdm-shell.session.in?id=64e6b10f98fe7226a2f41807268dae3afa80236d we probably just need to pull that back downstream.
gdm-3.2.0-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/gdm-3.2.0-2.fc16
init 3 login pswd su # wget http://kojipkgs.fedoraproject.org/packages/gdm/3.2.0/2.fc16/x86_64/gdm-3.2.0-2.fc16.x86_64.rpm rpm -Uvh http://kojipkgs.fedoraproject.org/packages/gdm/3.2.0/2.fc16/x86_64/gdm-3.2.0-2.fc16.x86_64.rpm Restart This fixes this bug LDXE boots from gdm properly
great, can you file karma on the update? thanks!
I cannot file karma. only as Anonymous tester which I did. : (
Karma +1 filed
*** Bug 743924 has been marked as a duplicate of this bug. ***
Package gdm-3.2.0-2.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gdm-3.2.0-2.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-13908 then log in and leave karma (feedback).
Discussed at 2011-10-07 NTH review meeting. This is a 'blocker' bug for a non-blocking desktop, so NTH.
this probably would not show up in a virtual machine test or hardware that does not support hardware acceleration. ie: where fallback gnome3 is called. The fix is the gdm update in comment 15 and 20
Hi, I did the following: Installed Fedora 16 Beta: Added the F16 and F16 updates testing repo and selected "customize now" Deselected gnome and choose XFCE. The gdm version mentioned in comment 15 is in use (gdm-3.2.0-2.fc16.x86_64.rpm) After reboot the following message is displayed in a box: 'Failed to load session "gdm-shell"' I stumbled on this bug using the search, but this bug is supposed to be fixed by the gdm version I'm using.. Am I hitting another bug or is this the same one?
That does sound like this bug, but I'm not sure how it could be passing. Can you check if the gnome-shell package is installed? Can you double-check the gdm package you have?
Is this a netinstall of f16 RC4 beta? if so without sugar (which uses gdm and installs the required files) and only XFCE you should get the XFCE login, not the gnome one. Where did you deselect gnome? on initial netinstall? (or later)?
I double checked the gdm package - it is gdm-3.2.0-2.fc16.x86_64.rpm. This was not the netinstall. I used Fedora-16-Beta-x86_64-DVD.iso I deselected gnome during the installation process ("customize now"). btw: This is a VM. For now I "fixed the problem" by installing gnome (yum groupinstall gnome-desktop) to have at least a running system, but I can create a new VM if you want me to further track this down.
Xfce uses GDM. It doesn't have its own login manager.
gdm-3.2.0-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
Adam Williamson, I am today having the same problem ('Failed to load session "gdm-shell"') that Christophe A. was having. I too have gdm-3.2.0-2.fc16.x86_64.rpm but I can confirm that I did not have the gnome-shell package installed at all. 'sudo yum install gnome-shell' fixed the problem.
'Failed to load session "gdm-shell"' actually seems a slightly different error from what people were getting initially here. Can you please post your full gdm logs?
Adam, I did a clean install (note I selectED XFCE and unselected GNOME) and here is the greeter log from the /var/log/gdm directory. owe043@belgrave:foo> cat ':0-greeter.log' gnome-session[1315]: DEBUG(+): Enabling debugging gnome-session[1315]: DEBUG(+): GsmXsmpServer: SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/1315,unix/unix:/tmp/.ICE-unix/1315 gnome-session[1315]: DEBUG(+): GsmShell: Not connected to the shell gnome-session[1315]: DEBUG(+): GsmManager: setting client store 0x15bb920 gnome-session[1315]: DEBUG(+): GdmSignalHandler: Adding handler 1: signum=4 (nil) gnome-session[1315]: DEBUG(+): GdmSignalHandler: Registering for 4 signals gnome-session[1315]: DEBUG(+): GdmSignalHandler: Adding handler 2: signum=7 (nil) gnome-session[1315]: DEBUG(+): GdmSignalHandler: Registering for 7 signals gnome-session[1315]: DEBUG(+): GdmSignalHandler: Adding handler 3: signum=11 (nil) gnome-session[1315]: DEBUG(+): GdmSignalHandler: Registering for 11 signals gnome-session[1315]: DEBUG(+): GdmSignalHandler: Adding handler 4: signum=6 (nil) gnome-session[1315]: DEBUG(+): GdmSignalHandler: Registering for 6 signals gnome-session[1315]: DEBUG(+): GdmSignalHandler: Adding handler 5: signum=5 (nil) gnome-session[1315]: DEBUG(+): GdmSignalHandler: Registering for 5 signals gnome-session[1315]: DEBUG(+): GdmSignalHandler: Adding handler 6: signum=8 0x41bf30 gnome-session[1315]: DEBUG(+): GdmSignalHandler: Registering for 8 signals gnome-session[1315]: DEBUG(+): GdmSignalHandler: Adding handler 7: signum=1 0x41bf30 gnome-session[1315]: DEBUG(+): GdmSignalHandler: Registering for 1 signals gnome-session[1315]: DEBUG(+): GdmSignalHandler: Adding handler 8: signum=10 0x41bf30 gnome-session[1315]: DEBUG(+): GdmSignalHandler: Registering for 10 signals gnome-session[1315]: DEBUG(+): GdmSignalHandler: Adding handler 9: signum=15 0x41bf30 gnome-session[1315]: DEBUG(+): GdmSignalHandler: Registering for 15 signals gnome-session[1315]: DEBUG(+): GdmSignalHandler: Adding handler 10: signum=2 0x41bf30 gnome-session[1315]: DEBUG(+): GdmSignalHandler: Registering for 2 signals gnome-session[1315]: DEBUG(+): fill: *** Getting session 'gdm-shell' gnome-session[1315]: DEBUG(+): fill: *** Looking if /var/lib/gdm/.config/gnome-session/sessions/gdm-shell.session is a valid session file gnome-session[1315]: DEBUG(+): Cannot use session '/var/lib/gdm/.config/gnome-session/sessions/gdm-shell.session': non-existing or invalid file. gnome-session[1315]: DEBUG(+): fill: *** Looking if /etc/xdg/gnome-session/sessions/gdm-shell.session is a valid session file gnome-session[1315]: DEBUG(+): Cannot use session '/etc/xdg/gnome-session/sessions/gdm-shell.session': non-existing or invalid file. gnome-session[1315]: DEBUG(+): fill: *** Looking if /usr/share/gdm/greeter/gnome-session/sessions/gdm-shell.session is a valid session file gnome-session[1315]: DEBUG(+): Cannot use session '/usr/share/gdm/greeter/gnome-session/sessions/gdm-shell.session': non-existing or invalid file. gnome-session[1315]: DEBUG(+): fill: *** Looking if /usr/local/share/gnome-session/sessions/gdm-shell.session is a valid session file gnome-session[1315]: DEBUG(+): Cannot use session '/usr/local/share/gnome-session/sessions/gdm-shell.session': non-existing or invalid file. gnome-session[1315]: DEBUG(+): fill: *** Looking if /usr/share/gnome-session/sessions/gdm-shell.session is a valid session file gnome-session[1315]: DEBUG(+): fill: *** Launching helper 'bash -c 'gnome-shell --help | grep -q gdm-mode && /usr/libexec/gnome-session-check-accelerated'' to know if session is runnable bash: gnome-shell: command not found gnome-session[1315]: WARNING: Session 'gdm-shell' runnable check failed: Exited with code 1 gnome-session[1315]: DEBUG(+): fill: *** Session is not runnable gnome-session[1315]: DEBUG(+): fill: *** Getting session 'gdm-fallback' gnome-session[1315]: DEBUG(+): fill: *** Looking if /var/lib/gdm/.config/gnome-session/sessions/gdm-fallback.session is a valid session file gnome-session[1315]: DEBUG(+): Cannot use session '/var/lib/gdm/.config/gnome-session/sessions/gdm-fallback.session': non-existing or invalid file. gnome-session[1315]: DEBUG(+): fill: *** Looking if /etc/xdg/gnome-session/sessions/gdm-fallback.session is a valid session file gnome-session[1315]: DEBUG(+): Cannot use session '/etc/xdg/gnome-session/sessions/gdm-fallback.session': non-existing or invalid file. gnome-session[1315]: DEBUG(+): fill: *** Looking if /usr/share/gdm/greeter/gnome-session/sessions/gdm-fallback.session is a valid session file gnome-session[1315]: DEBUG(+): Cannot use session '/usr/share/gdm/greeter/gnome-session/sessions/gdm-fallback.session': non-existing or invalid file. gnome-session[1315]: DEBUG(+): fill: *** Looking if /usr/local/share/gnome-session/sessions/gdm-fallback.session is a valid session file gnome-session[1315]: DEBUG(+): Cannot use session '/usr/local/share/gnome-session/sessions/gdm-fallback.session': non-existing or invalid file. gnome-session[1315]: DEBUG(+): fill: *** Looking if /usr/share/gnome-session/sessions/gdm-fallback.session is a valid session file gnome-session[1315]: DEBUG(+): fill: *** Checking required components and providers gnome-session[1315]: DEBUG(+): fill: provider 'windowmanager' looking for component: 'metacity' gnome-session[1315]: DEBUG(+): GsmUtil: Looking for file 'metacity.desktop' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/var/lib/gdm/.config/autostart' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/usr/share/gdm/greeter/gnome/autostart' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/usr/local/share/gnome/autostart' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/usr/share/gnome/autostart' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/etc/xdg/autostart' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/var/lib/gdm/.local/share/applications' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/usr/share/gdm/greeter/applications' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/usr/local/share/applications' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/usr/share/applications' gnome-session[1315]: WARNING: Unable to find default provider 'metacity' of required provider 'windowmanager' gnome-session[1315]: DEBUG(+): GsmUtil: Looking for file 'gdm-simple-greeter.desktop' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/var/lib/gdm/.config/autostart' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/usr/share/gdm/greeter/gnome/autostart' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/usr/local/share/gnome/autostart' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/usr/share/gnome/autostart' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/etc/xdg/autostart' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/var/lib/gdm/.local/share/applications' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/usr/share/gdm/greeter/applications' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/usr/local/share/applications' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/usr/share/applications' gnome-session[1315]: DEBUG(+): GsmUtil: found in XDG dirs: '/usr/share/gdm/greeter/applications/gdm-simple-greeter.desktop' gnome-session[1315]: DEBUG(+): GsmUtil: Looking for file 'gnome-settings-daemon.desktop' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/var/lib/gdm/.config/autostart' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/usr/share/gdm/greeter/gnome/autostart' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/usr/local/share/gnome/autostart' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/usr/share/gnome/autostart' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/etc/xdg/autostart' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/var/lib/gdm/.local/share/applications' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/usr/share/gdm/greeter/applications' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/usr/local/share/applications' gnome-session[1315]: DEBUG(+): GsmUtil: Looking in '/usr/share/applications' gnome-session[1315]: DEBUG(+): GsmUtil: found in XDG dirs: '/etc/xdg/autostart/gnome-settings-daemon.desktop' gnome-session[1315]: DEBUG(+): fill: *** Done checking required components and providers gnome-session[1315]: DEBUG(+): fill: *** Session is not runnable
ah - so if you read that, it actually correctly rejects the gdm-shell.session, but then has trouble getting gdm-fallback.session to work. is metacity installed? if not, can you install it and see if that fixes things?
oh, and gnome-settings-daemon .
metacity was not installed. gnome-settings-daemon-3.2.0-3.fc16.x86_64 was already installed. Installing metacity-2.34.1-1.fc16.x86_64 (with dependencies zenity and libcanberra-gtk) resolved the problem. I now get same login window I am used to from Fedora 15 with XFCE installed but not Gnome.
okay, so that's a different bug. can you file it separately? i'm not sure exactly how we should resolve it - whether we should have gdm require metacity or have metacity pulled in via comps/spin-kickstarts. but file it against gdm for now.
Adam, I have filed a new bug 747161. Let me know if you need me to add any further information to the bug. I was not sure what severity to assign to the bug so I have left it unspecified. By the way, I forgot to say thanks for helping resolve my problem. I am trying to install Fedora 16 onto a 4GB USB stick and the fewer packages I have to install the better.