Autologin: re-login after logout

Asked by Michael Westbom on 2012-09-10

I just installed XBMCbuntu, based on Ubuntu 11.10. Is there a way to get lightdm to automatically log in again if a session dies?

Previously I'd used Arch with I forget what login manager; I had it just go right back into XBMC whenever a session died.

Occasionally (rarely) I'll have to connect via ssh and kill XBMC, which of course brings the session down with it. When this happens, it sits merrily at the lightdm login screen waiting for me to do something. This machine is meant to be without keyboard/mouse, leaving me with no way to tell it to log me back in if the session dies.

Question information

Language:
English Edit question
Status:
Expired
For:
Light Display Manager Edit question
Assignee:
No assignee Edit question
Last query:
2012-09-10
Last reply:
2012-09-25
amak79 (amak79) said : #1

I would like to know if this is possible as well.

Currently lightdm will start a greeter when the session ends but this requires interaction by the user.

KDM has the 'AutoLoginAgain' option in kdmrc which auto-logins after the session ends. This is extremely useful when the session ends unexpectedly e.g. media center appliance crashing. I would prefer not use KDM since it would pull in extra dependencies that I don't need.

Launchpad Janitor (janitor) said : #2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.