How to dis able auto login

I am posting this from my phone. How do you disable the auto login from tty? I am stuck with Kodi using as a desktop. There no log out feature to go back to the login screen.

If Kodi uses lightdm:
https://wiki.archlinux.org/index.php/Kodi

you can edit files appropriate,

In
sudo gedit /etc/lightdm/lightdm.conf
you have to eanble:

pam-greeter-service=lightdm-greeter
greeter-session=lightdm-gtk-greeter

or see:
https://wiki.archlinux.org/index.php/Kodi#Xsession_with_LightDM
https://wiki.archlinux.org/index.php/LightDM#Enabling_autologin

1 Like

I do not know how to get back to a normal desktop. Every time try to exit Kodi go back to log in screen it hangs.

The older versions of Kodi had an actual logout command. All they have available on Kodi Krypton is; suspend, reboot, shutdown, and hibernate.

I haven't used Kodi in quite a while. Will simply killing kodi from the terminal return you to the desktop. Not elegant, but hey, if it works.

It is currently the desktop.

I am trying to get back to the login screen. Where you login to a desktop.

This is the Display Manager. A favorite one is LightDM, which you need to install, if you haven't already and make sure it is not configured to AutoLogin.
AFAIK you can start Desktop apps from within Kodi (Applications?). Search for Login Screen/Manager Configuration (or similar name) and if you have some DM installed you maybe able to configure it there (Kodi GUI).

I have gdm installed as login manager. The problem is I can't get back to the login screen. Thought maybe someone would have a a solution using try.

But how did YOU configure AutoLogin?

Edit /etc/gdm/custom.conf and comment-out the Autologin settings

sudo nano /etc/gdm/custom.conf

These are related to Autologin:

[daemon]
AutomaticLogin=username
AutomaticLoginEnable=True
TimedLoginEnable=true
TimedLogin=username
TimedLoginDelay=1
1 Like

My original install was a cinnamon build. Which I configured it to auto login. I also have kde as well. Without using try not sure how to get terminal to come up to do that.

It doesn't matter what DE, but what DM. You said GDM is used.
I gave you the command to use to edit (with nano). Usage Instructions inside the program, bottom side. Go ahead!!

Okay thank you

I still don't know how to use nano the text editor. Think I just do fresh install. Thanks for trying to help me.

Ctrl + O + Enter = save the edit file
Ctrl + X = Exit nano

Do not ask about vi :smiley: :q :wink:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by