How to logon automatically

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon

How to logon automatically

Postby Sugarat on Mon Feb 04, 2013 3:02 pm

Hi All,

I have just installed Linux Mint 14 Cinnamon and I need it to login automatically.

Therefore, I went into Preferences -> User Accounts, and on my account I clicked the slider button to login automatically. Strangely, if I then close the GUI and load it again (Preferences -> User accounts) it has remembered my selection and shows automatic login as being activated for my user account. If I restart the system, it does *not* automatically log me in. If I login and go back to user account preferences it has returned to automatic login being turned off.

What's going wrong here?

Many thanks
Sugarat
Level 1
Level 1
 
Posts: 15
Joined: Mon May 02, 2011 7:17 am

Linux Mint is funded by ads and donations.
 

Re: How to logon automatically

Postby xenopeek on Mon Feb 04, 2013 4:11 pm

Automatic login is configured in the Login Window application, on the Security tab.
Image
User avatar
xenopeek
Level 21
Level 21
 
Posts: 16410
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: How to logon automatically

Postby Sugarat on Mon Feb 04, 2013 4:47 pm

Okay thanks.

Then what is the point of the auto-login switch in the user accounts panel?
Sugarat
Level 1
Level 1
 
Posts: 15
Joined: Mon May 02, 2011 7:17 am

Re: How to logon automatically

Postby xenopeek on Mon Feb 04, 2013 4:49 pm

Well, I'm not sure. I'd guess it is feature in the program, but the program doesn't know about MDM (the Linux Mint login window).
Image
User avatar
xenopeek
Level 21
Level 21
 
Posts: 16410
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: How to logon automatically

Postby Sugarat on Mon Feb 04, 2013 6:04 pm

If this option does not work it definitely needs removing. It is things like this that drove me away from Ubuntu recently, so I'm a little disturbed to find it in Mint as well.
Sugarat
Level 1
Level 1
 
Posts: 15
Joined: Mon May 02, 2011 7:17 am

Re: How to logon automatically

Postby klick on Tue Feb 05, 2013 8:12 pm

Sugarat wrote:If this option does not work it definitely needs removing. It is things like this that drove me away from Ubuntu recently, so I'm a little disturbed to find it in Mint as well.


+1

I just about pulled my hair out with a similar problem. Had to go to Menu >System Tools> Administration> Login Window> Security Tab.

Going to User Accounts wouldn't do it, although the settings are there.
klick
Level 1
Level 1
 
Posts: 15
Joined: Fri Feb 01, 2013 8:56 pm

Re: How to logon automatically

Postby subbass on Fri Feb 15, 2013 10:52 am

Is there a way to correct this via SSH.

I've just been this morning to upgrade a PC and enabled auto login, in the wrong place it seems as it wouldn't work. If I can fix it via SSH then it will save me a trip.

Edit: Sorted it via SSH, for anyone else who may come looking for an answer.

Code: Select all
sudo nano /etc/mdm/mdm.conf


Under the [daemon] section:

Code: Select all
AutomaticLoginEnable=true
AutomaticLogin=TuxIsKing


Change "TuxIsKing" to the username you want to auto login.
subbass
Level 1
Level 1
 
Posts: 1
Joined: Fri Feb 15, 2013 10:44 am

Re: How to logon automatically

Postby MichaelJohn on Thu Jan 22, 2015 6:55 am

Thank you for this - it was really helpful :D My laptop needed another login without the ability to change change configuration and software. I was starting to think I was doing something wrong via the 'Users & Groups' module. This inconsistency needs addressing if Linux is really going to penetrate market! :(
MichaelJohn
Level 2
Level 2
 
Posts: 89
Joined: Fri Dec 12, 2014 6:46 am

Linux Mint is funded by ads and donations.
 

Return to Cinnamon

Who is online

Users browsing this forum: No registered users and 5 guests