How to Enable Automatic Login Via Command Line

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
w201
Level 2
Level 2
Posts: 81
Joined: Wed Aug 22, 2012 8:34 pm

How to Enable Automatic Login Via Command Line

Postby w201 » Mon Sep 24, 2012 10:24 am

Anyone know which file must be edited to enable automatic login?

I'm trying to get the same with the command line that you get with login window preferences > security and checking enable automatic login.

User avatar
Flemur
Level 13
Level 13
Posts: 4649
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: How to Enable Automatic Login Via Command Line

Postby Flemur » Wed Sep 26, 2012 3:13 pm

For the mdm display manager:

/etc/mdm/mdm.conf

Look for this part:

[daemon]
AutomaticLoginEnable=true
AutomaticLogin=loginname
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

w201
Level 2
Level 2
Posts: 81
Joined: Wed Aug 22, 2012 8:34 pm

Re: How to Enable Automatic Login Via Command Line

Postby w201 » Sun Sep 30, 2012 2:57 pm

I almost forgot I had made this post. Thanks for your response!


Return to “Newbie Questions”