LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't disable autologin (https://www.linuxquestions.org/questions/linux-newbie-8/cant-disable-autologin-4175603317/)

vbmark 04-06-2017 08:13 AM

Can't disable autologin
 
I am using KDE on Ubuntu and would like to try Gnome but I cannot disable autologin.

Unchecking the box in system settings won't stick. It just changes back.

I created a lightdm.conf file and added

Code:

[SeatDefaults]
autologin-user=

But no change.

I also tried running:

Code:

kdesudo systemsettings
But nothing starts.

Why else can I try?

Thank you.

Shadow_7 04-06-2017 11:35 AM

$ sudo -s
# echo "false" > /etc/X11/default-display-manager
# exit
(disables the gui login)

$ sudo systemctl --set-default multi-user.target
(where graphical.target is the default)
(also disables the gui login)

not sure if that's what you want, but an option.

beroal 04-07-2017 05:05 AM

This is what I have in my "/etc/lightdm/lightdm.conf".
Code:

[Seat:*]
allow-guest=false
autologin-guest=false


cepheus11 04-07-2017 08:43 AM

Is lightdm even active as display manager? Please post the output of

Code:

inxi -Fxxz
If command not found, install the package "inxi".
The output will tell many system configuration properties, including the active display manager.

Quote:

kdesudo systemsettings
The command is "systemsettings5".


All times are GMT -5. The time now is 11:24 PM.