Wednesday, April 24, 2024
 Popular · Latest · Hot · Upcoming
16
rated 0 times [  16] [ 0]  / answers: 1 / hits: 49685  / 1 Year ago, wed, november 30, 2022, 3:18:38

I like to switch sometimes between Lubuntu and Ubuntu 2D on my laptop. But I especially like to choose which one I will use in the session I am about to start. But the only way of choosing is start the laptop up, and the last used thing will show up (as it should), then log out completely, and choose the other thing from the login menu.



I have spent a lot of my lifetime using Windows, and always I was asked a login BEFORE I actually could do anything. Now I think it is weird that anyone can log into a password-protected account without giving any passwords, as long as the last user was the Admin. Also: will logging out before shutdown help?



Here is my default.conf file.


More From » lubuntu

 Answers
6

Try this. To disable autologin, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.



sudo leafpad /etc/lxdm/default.conf


In the fist few line, you will see something like autologin=username change it to the original state of
# autologin=dgod. Save the file, and then reboot your machine.



Also try to go to System Settings --> Users and Groups, click on change next to Password



enter image description here



Make sure that the box is unchecked next to Don't ask for password on login
enter image description here



Try to edit sudo leafpad /etc/lightdm/lightdm.conf with these contents:



Remove or comment out the following lines



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


For 14.04 everything works. The /etc/lightdm/lightdm.conf doesn't exist in 14.04, but the other ways work. See image below:



enter image description here



enter image description here


[#35846] Thursday, December 1, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
erettor

Total Points: 303
Total Questions: 121
Total Answers: 103

Location: Colombia
Member since Mon, May 2, 2022
2 Years ago
;