Goodbye GDM (for the moment)

Our school system has been running Fedora on our desktops since early 2008. During that time, our login screen has been managed by GDM and our desktop session has been GNOME. It doesn’t look like our desktop session is going to change any time soon, as we transitioned to GNOME Shell in Fedora 13 and the students and teachers have overwhelmingly preferred it to GNOME 2.

At our school we have a couple of IT policies that affect our login sessions. All lab computers that aren’t logged in have some form of screensaver running (not a black screen) as it helps students identify which computers are on and which aren’t at a glance. It also helps IT see which computers need to be checked. Logged in computers should never have a screensaver running and screen-locking is disabled as we have far more users than computers. Some may argue that these policies should be amended, but, for the moment, they are what they are.

In older versions of Fedora, gnome-screensaver was set to run in gdm with the floating Fedora bubbles coming on after a minute of disuse. The screensaver was inhibited during the login session (I experimented with changing the gconf settings so it didn’t come on for 100 hours and other such nonsense, but inhibiting the screensaver was the only way I found that worked reliably over long periods of time).

With Fedora 16 we now have a much more beautiful new version of GDM, but, unfortunately, the gnome-screensaver that comes with it no longer allows you to actually show a screensaver. I decided to try using xscreensaver instead, but it cannot run in GDM. It keeps complaining that something else is grabbing the keyboard, and I can only assume that something is GDM. Finally, I can’t even write a simple screensaver program in python as it seems I can’t even run a full-screen app over the GDM screen.

Add to all that the fact that we have 1000+ students in the school who are able to log into any lab computer and GDM lists all users who ever logged into the computer. Which theoretically could be 1000. Urgh!

So for our Fedora 16 system, I’ve switched over to lxdm. A quick configuration change to tell it to boot gnome-shell as its default session (and some hacks so it doesn’t try to remember what language the last user used to log in) and it was set. Xscreensaver runs just fine over it and we now have some pretty pictures of Lebanon and the school in a carousel as our login screensaver.

It looks like the screensaver functionality will get merged straight into gnome-shell, and, if it does, we may be able to have extensions that actually implement the screensaver. If that happens, and if GDM re-acquires the ability to not show the user list, we’ll switch back to GDM. Until then, we’ll stick with lxdm.

Now I just need to work out how to inhibit gnome-screensaver during login as gnome-screensaver --inhibit no longer works. I’m sure there was a good reason for removing that code, but for the life of me I can’t work out what it was…


5 thoughts on “Goodbye GDM (for the moment)

  1. Erinn Looney-Triggs

    Just FYI, on the listing users front, the following works fine in RHEL 6.2:
    sudo -u gdm gconftool-2 -s /apps/gdm/simple-greeter/disable_user_list -t bool true

    Your mileage may vary with newer Fedora releases.

    Can’t help much with the screen saver though.


  2. jdieter Post author

    Yes, and that’s what we had set in older Fedora releases. The new GDM uses gsettings which is built on dconf, and the above command no longer works, unfortunately. The equivalent gsettings command also has no effect. 😦

    Thanks for the thought, though. I do expect that this functionality will get built back into GDM soon enough.

  3. hvn

    I tried Fedora 16 Gnome3 for three weeks…Gnome3 surely drives people away for its cumbersome and unfriendly interface. Last week I switched to LXDE, I was not happy with LXDE either (very buggy and some apps, such as Geany IDE, do not work correctly. LXDE does not work with dual monitors properly) I tried Fedora XFCE and now very happy with it. XFCE allows user to customize almost every items on screen – unlike Gnome3 !!! XFCE is fast and small. Give Fedora 16 XFCE a try and you will love it.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s