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
Post Reply
w201
Level 2
Level 2
Posts: 81
Joined: Wed Aug 22, 2012 8:34 pm

How to Enable Automatic Login Via Command Line

Post by 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 15
Level 15
Posts: 5804
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: How to Enable Automatic Login Via Command Line

Post by 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
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

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

Re: How to Enable Automatic Login Via Command Line

Post by w201 » Sun Sep 30, 2012 2:57 pm

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

Post Reply

Return to “Newbie Questions”