Author Topic: Peppermint 5 auto login (Solved)  (Read 2527 times)

Offline dfarquharson

  • Newly Subscribed
  • *
  • Posts: 21
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4
Peppermint 5 auto login (Solved)
« on: October 28, 2014, 06:09:59 am »
How do I get Peppermint 5 to automatically login with a specific user. I am setting up 2 dozen netbooks for use by elementary school classes and dealing with 2 dozen students trying to log in is way too much hassle. All the info I find says to edit /etc/lightdm/lightdm.conf but that file does not exist in Peppermint 5. The latest info I find on lubunto says to go in to /usr/share/lightdm/lightdm.conf.d/ but that directory contains the following files:
50-greeter-wrapper.conf
50-guest-wrapper.conf
50-xserver-command.conf
60-lightdm-gtk-greeter.conf
and none of these contain any login entries.
« Last Edit: November 03, 2014, 07:52:00 am by dfarquharson »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Peppermint 5 auto login
« Reply #1 on: October 28, 2014, 09:03:25 am »
If /etc/lightdm/lightdm.conf doesn't exist, create it by following the instructions below...

Open a terminal and run:
Code: [Select]
sudo gedit /etc/lightdm/lightdm.confmake it read:-
Code: [Select]
[SeatDefaults]
autologin-guest=false
autologin-user=username
autologin-user-timeout=0
autologin-session=lightdm-autologin
SAVE the file and REBOOT to test.

Be SURE to replace username in the above example with the username of the account you want to autoligin .. so for example if I wanted to autolgin user 'mark' I'd make it read:
Code: [Select]
[SeatDefaults]
autologin-guest=false
autologin-user=mark
autologin-user-timeout=0
autologin-session=lightdm-autologin
« Last Edit: October 28, 2014, 09:05:10 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline dfarquharson

  • Newly Subscribed
  • *
  • Posts: 21
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4
Re: Peppermint 5 auto login
« Reply #2 on: October 29, 2014, 06:31:51 am »
That worked perfectly. Thank you very much!

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Peppermint 5 auto login
« Reply #3 on: October 29, 2014, 06:53:55 pm »
You're most welcome :)

If you're happy the issue has been resolved, please remember to mark the topic (SOLVED) .. you can do this by editing the FIRST posting in this topic and changing:-

Subject: Peppermint 5 auto login (SOLVED)

Thanks in advance :)
« Last Edit: October 29, 2014, 06:59:20 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec