Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

lxqt autologin

Started by ElQuia, July 16, 2015, 06:54:53 PM

Previous topic - Next topic

ElQuia

Hi guys.   :-[  Is there a way to get sparky lxqt to autologin a user?????

pavroo

Nothing is easy as it looks. Danielle Steel

ElQuia

Got it working that way in sparky xfce. I have switched to xfce for old machines, it runs ok on an Pentium 4 with 512 MB RAM, has better translation to spanish and more consistent interface for users migrating from XP.

XFCE autologins after fresh install (selecting the option during setup) but after system upgrade autologin stops working, don´t know why.

DID this (on 2 pentium 4 machines):

1. open terminal
2. type "su" (without quotes) and hit enter - (this will made you temporarily be root user which is necessary to edit important system files)
3. it will ask for password and it won't show letters while typing, put password hit enter
4. type in without quotes: "mousepad /etc/lightdm/lightdm.conf" and hit enter - (this will open lightdm.conf file in text editing program called mousepad)
5. under [SeatDefaults] (be sure not to search under: # Seat defaults), find line: #autologin-user= (after quotes there will be some comment), delete whole line (with # and comment), and replace it with: autologin-user=yourusername (instead of "yourusername" put your real user name)
6. under [SeatDefaults] (be sure not to search under: # Seat defaults), find line: #autologin-user-timeout= (after quotes there will be some comment), delete whole line (with # and comment), and replace it with: autologin-user-timeout=0
7. click: file-save, exit mousepad, exit terminal
8. restart computer and watch it logging in debian without prompting you for username and password



THANKS

way12go

sudo leafpad /etc/lightdm/lightdm.conf

edit the file manually, you should change the lines from:

#autologin-user=
#autologin-user-timeout=0


to:

autologin-user=your-username
autologin-user-timeout=0

Change the above lines or uncomment twice...

First two lines give a descrition like

#autologin-user= use your user name.... etc
#autologin-user-timeout=

Second two lines are

#autologin-user=
#autologin-user-timeout=

etc;

and then reboot... it works...

Just remove " # " four times.
Success gives birth to success? Failure gives birth to failure? - Sagar Gorijala.

View the most recent posts on the forum