You are not logged in.

#1 2015-10-10 02:55:54

rodeoflea
Member
Registered: 2015-10-09
Posts: 28

Autologin

Anyone have any luck getting autologin to work in LightDM? I also can't seem to disable the lockscreen or set a default user.

Cheers.

Offline

#2 2015-10-10 11:31:04

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,068
Website

Offline

#3 2015-10-10 11:52:07

schwim
Member
From: Coastal VA, Murica
Registered: 2015-09-29
Posts: 342
Website

Re: Autologin

What you may be missing is the command at the top of the page that you have to run after any changes to the conf file..  Be sure to run the following in a terminal after making the changes to get them to take effect:

sudo dpkg-reconfigure lightdm


Schw.im! A social site with an identity crisis.

Offline

#4 2015-10-10 20:52:19

rodeoflea
Member
Registered: 2015-10-09
Posts: 28

Re: Autologin

To disable the autolocking :

rename or delete

/etc/xdg/autostart/light-locker.desktop

Offline

#5 2016-07-13 12:54:20

berniz95
Member
From: Vauréal France
Registered: 2016-02-23
Posts: 52

Re: Autologin

Digging that topic...

(that last link is broken)

The first link tells to uncomment:

[SeatDefaults]
#autologin-user=
#autologin-user-timeout=0

Obviously you should also uncomment the following line:

#pam-autologin-service=lightdm-autologin

Which works.

Last edited by berniz95 (2016-07-13 12:55:05)

Offline

#6 2016-07-13 21:45:32

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,039
Website

Re: Autologin

rodeoflea wrote:

To disable the autolocking :

rename or delete

/etc/xdg/autostart/light-locker.desktop

Better to just remove light-locker entirely, as an update/upgrade of light-locker will re-install that file...

sudo apt purge light-locker

If you don't want to remove it for some reason like you're using it in another session, copy light-locker.desktop to ~/.config/autostart , open it with a text editor and add or edit the Hidden= line to read...

Hidden=true

That will override the /etc/xdg file even after upgrades to light-locker.


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#7 2017-01-28 09:43:16

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Autologin

berniz95 wrote:

The first link tells to uncomment:

[SeatDefaults]
#autologin-user=
#autologin-user-timeout=0

Obviously you should also uncomment the following line:

#pam-autologin-service=lightdm-autologin

Autologin works great for me without uncommenting the "pam-autologin-service" line.

Recheck the correct username (after the "=" without space).

If you want that you don't have to type the username on the login screen (e.g. after suspend), uncomment the line

greeter-hide-users=false

Offline

#8 2017-02-07 18:58:39

geolaw
New Member
Registered: 2016-05-28
Posts: 3

Re: Autologin

I originally configured my system for autologin, then somewhere along the way with an update, something over wrote my config.

using the info above, the method that worked for me was to create a new file (something that isn't going to get over written with a future update)
/usr/share/lightdm/lightdm.conf.d/60_glaw.conf :

# BunsenLabs specific defaults
#
# - invoke user setup script on login
[SeatDefaults]
autologin-user=glaw
autologin-user-timeout=0
pam-autologin-service=lightdm-autologin


(pam-autologin-service needed - I dunno) ...

Offline

Board footer

Powered by FluxBB