You are not logged in.
Pages: 1
Hi,
I am using Xubuntu 20.04. Although automatic login is turned on, sometimes the login screen appears at startup. It's very rare, but it's annoying. What can I do about it?
Offline
Hello and welcome.
Do you need the login screen (display manager) at all? Is there some use case where you want to logout of your auto-logged in session and login as someone else? If not, you can remove/uninstall the display manager and configure the system to autologin without a display manager.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks for your answer,
I don't need the login screen, I don't do any user switching.
What configs do I need to change for autologin after removing display manager?
Offline
I was just having a look at it on my 20.04 VM. You can disable the display manager but unfortunately now text gets printed to the screen that I cannot remove. Not sure if thats any better.
Anyways, to disable lightdm (the display manager):
sudo systemctl disable lightdm
Since you have autologin working now, try rebooting to see what happens.
You can always re-enable the display manager with:
sudo systemctl enable lightdm
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
When I disable lightdm, xubuntu does not open at all. Waiting on black screen after bios screen.
Offline
Hmmm. The Display Manager (lightdm) isn't actually part of Xfce. I personally don't use a display manager so I won't be able to offer any further advice - but perhaps someone at the ubuntuforums might be to assist with the black screen and with your autologin issue.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
There is one more thing that may be important, The processor of the device we see this error is AMD , We are using the same version of the operating system as an Intel processor and we did not encounter this error.
Offline
That's odd. I'm on Xubuntu 20.04 as well and have never had this issue.
Could you elaborate how exactly you set up auto-login? Here's two things that I did: 1) tick the "Don't ask for password on login" box; 2) edit the lightdm.conf file.
Did you do the same?
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
I have xubuntu installed on my 2 different types of devices, 1 of which never did. But it does it occasionally with AMD processors.
I turned off asking for password on login, now it just asks for login.
My lightdm.conf file is as follows
[Seat:*]
autologin-guest=false
autologin-user=USERNAME
autologin-user-timeout=0
Offline
Do you have guest users set up? If not, try removing the first and the third lines.
I suspect the problem is caused by PAM. Whenever this happens again, could you immediately switch to a virtual terminal, run
journalctl --boot
and press Shift-g or End to reach the last line.
journalctl --follow
will also work, but it defaults to 10 lines so we might miss out on something that happened prior.
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
Do you have guest users set up? If not, try removing the first and the third lines.
When troubleshooting by making line deletions to files, when one does not know for sure that the edit(s) will solve an issue, I would suggest that a person turn the line into a comment, rather than actually remove it. In case the thing does not solve the issue, it is easier to go back and remove the ";" that the person added to the beginning of the line than to retype it.
Regards,
MDM
Offline
Pages: 1