When I first installed the system on these two computers, I chose the Auto-login option. For a long time that worked properly.
But in recent months, Auto-login does not always work. Sometimes it does and these computers login automatically, but other times the auto-login does not work and I have to login the usual way. There does not appear to be any rhyme nor reason for when or how often this occurs.
Frankly I am tired of this anomaly and I would like to eliminate that Auto-login option altogether (in other words, I want to manually login each time I start the computers).
If lightdm is doing the auto login part, then you can edit /etc/lightdm/lightdm.conf as superuser.
Search for autologin-user and comment out the line that says autologin-user = <your-user-name>.
Comments are made by prefixing pound symbol (#) to the beginning of line.
I just tried your “fix” on one of the computers in question and it works perfectly. Thank you very much. I’ll try it on the other computer later today.
What I still mystified by is why the auto-login would work some of the time but not work other times. This, to me, is very strange …
But thanks very much again for explaining to me what I had to do in order to eliminate auto-login. (I’m never going to use auto-login again.)
I hope that you, and everyone here (and really everyone!), has a Happy and a HEALTHY New Year.
Just a hint. Do you use sleep/hibernate on the computer? Also, ther is probably an option on a “shutdown window” to “save session for future logins”. I would start my troubleshooting there.
I don’t have XFCE install at hand so I can’t help you more.
No I do not use sleep/hibernate. And, as I am never going to use the auto-login option again, none of it matters.
I set up the auto-login on two computers which I use for particular purposes. I thought that auto-login would just make things easier as there is no private information on these computers.
But, at least in my experience, auto-login is much more of a problem than merely logging in normally.
Back when I used Solus, I had auto-login enabled. It worked initially, but after a couple of months things became glitched. It would go pass the login screen automatically but before loading the DE, it would again show up the login screen. And it would anyways ask my password to unlock keyring if it auto logged in. So I have dropped auto-login for the near future.