I want user foo to auto-login using LightDM (which has been used by Ubuntu since version 11.10). How would I do that?
|
|
|||||
|
|
You can do this without editing configuration files: go to System Settings > User accounts, click "Unlock" and enter your password, then click the button next to "Automatic login": ' |
|||||||||||||
|
|
An alternative to Alin's answer is to create a file
Next time you start, auto-login should work like expected. |
|||||||||
|
|
For Ubuntu 14.04 create the file:
and add:
|
|||||
|
|
You can easily do this with
It will not set the autologin timeout, but the default for that is 0 in the code anyway, so you don't need to set it. |
|||||||||
|
add lines:
example:
|
||||
|
|
|
Open settings, select 'user accounts'. Click the unlock button, then change the Automatic Login switch to "On" |
|||||
|
|
Search for "User Accounts" application. Select the account you want to autologin Toggle the Automatic Login switch to On That should do the work. |
|||
|
|
|
I can confirm that this works for 16.04.
Remember to also set the Not asked to login option under Users and Groups. |
||||
|
|
|
I have 12.10 xubuntu. In users and groups choose your user, and click word "Change..." next to "Password:" (it does not look like a button, what might be a bit misleading). There you can change password, or at the bottom mark "Don't ask for password on login" box. Hope it works. |
|||||
|
|
I just discovered that, I need to have ubuntu-desktop to be install before lightdm could function. This solved my issue when trying to get lightdm to actually login in without going in loop. The reason for the system to go in loop may be because lightdm needs the ubuntu desktop before it may work.
|
|||||
|
|
I had the same problem, I solved it with the following steps:
This should definitely work. |
||||
|
|
