GNOME Bugzilla – Bug 624958
Remote TimedLogin disabled in gdm > 2.20
Last modified: 2014-08-20 15:07:58 UTC
In older version something like this: TimedLogin=/etc/gdm/gdm-autologin-script| Call this script and (based on DISPLAY) return a username string for autologin. In newer versions daemon/gdm-xdmcp-display.c hardcode empty user and disable autologin: static void gdm_xdmcp_display_get_timed_login_details (GdmDisplay *display, gboolean *enabledp, char **usernamep, int *delayp) { *enabledp = FALSE; *usernamep = g_strdup (""); *delayp = 0; daemon/gdm-xdmcp-display.c don't init dbus connection adn something like this: GDM_DISPLAY_GET_CLASS (display)->get_timed_login_details (display, enabledp, usernamep, delayp); don't work. Please add support for remote TimedLogin again.
Created attachment 166324 [details] [review] Enable remote TimedLogin in new GDM I propose this simple patch. In older versions we need a key in config: [security] AllowRemoteAutoLogin=true In gdm > 2.20 this key is no longer avalaible, please re-add it.
Created attachment 170647 [details] [review] New patch that reads security/AllowRemoteAutoLogin This patch create security/AllowRemoteAutoLogin key (deprecated in >= 2.20) and read it in remote TimedLogin.
Hello All, Are there any chances to fix this regression bug? We are independent software vendor provider (SCADA/DMS and industry software where industrial automation is used) and use CentOS 5 with GDM version GDM 2.16.0 and RemoteAutoLogin works fine. Now we are trying to migrate to modern version of Centos: v6.0 (and in near future 7) where GDM is in version 2.30.4 and now is impossible for us because of this bug. Keeping the old CentOS 5 is no option for us because of GCC/G++ improvements. This same bug also exists in Debian bugzilla: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597504 and as I see mariodebian@gmail.com proposed a patch for resolving this issue. Regards, Karol Szkudlarek
Created attachment 283974 [details] [review] xdmcp: Allow timed/autologin on remote displays This commit readds the security/AllowRemoteAutoLogin key (deprecated in >= 2.20) and so XDMCP setups can be configured to use autologin and timedlogin.
Attachment 283974 [details] pushed as 9ea772c - xdmcp: Allow timed/autologin on remote displays