Bug#666042: autologin works. but when logging out, there will be no more autologin.

Erik Thiele erik.thiele at thiele-hydraulik.de
Wed Mar 28 05:56:02 UTC 2012


Package: gdm3
Version: 3.0.4-4

hello,

my gdm3 is configured for autologin like this:

/etc/gdm3/daemon.conf:
[daemon]
#AutomaticLoginEnable = false
#AutomaticLogin =
TimedLoginEnable=true
TimedLogin=fox
TimedLoginDelay=1
[security]
[xdmcp]
[greeter]
[chooser]
[debug]

Now when i start gdm3, an autologin will happen and the user "fox" will
automatically log in after 1 second timeout. But when "fox" logs out,
the normal gdm login screen will appear and there will be no more
automatic login.

as this is a kiosk type application, there will always be users who log
out...

i found the idea for this workaround on the internet:

cat /etc/gdm3/PostSession/Default
#!/bin/bash

( /etc/init.d/gdm3 stop ; sleep 5; /etc/init.d/gdm3 start) </dev/null
>/dev/null 2>/dev/null &
disown

exit 0

that workaround is nice if there is only one local autologin user. but
if at the same time there are other open sessions for example over XDMCP
then of course it is not nice, if all sessions are killed each time the
local user logs off. So this work around really is only a work around. A
real fix should be made.



Thanks!
Erik





More information about the pkg-gnome-maintainers mailing list