You are not logged in.
Pages: 1
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
Try this method:
https://wiki.debian.org/LightDM#Enable_autologin
Offline
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
To disable the autolocking :
rename or delete
/etc/xdg/autostart/light-locker.desktop
Offline
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
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
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
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
Pages: 1