During the Xubuntu installation, you have a choice of whether or not you wish to be asked for a user password at startup or not. However, the drawback is that after you've made your decision, you cannot change your mind again, or so you thought. This article will guide you step-by-step in how to disable auto-login in Xubuntu by editing a system file.

Steps

  1. 1
    Open up the terminal. This can be done by pressing Ctrl+Alt+T. Then copy-paste the following command into the terminal: gksu gedit /etc/lightdm/lightdm.conf. You will need to provided an administrator password for this step.
    • If you run this terminal and nothing happens, then you probably need to install the free software gedit. This can be done by typing in the following command into the terminal: sudo apt-get install gedit. After you do so, redo the step above.
  2. 2
    Locate your username. It should be located after the line autologin-user. In the picture above, we used your_username as an example.
    Advertisement
  3. 3
    Replace your username. Delete your username and replace it with false as shown in the picture.
  4. 4
    Restart your computer. After the splash screen, you will see the default login window asking for your user password.
  5. Advertisement

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 31,641 times.
How helpful is this?
Co-authors: 4
Updated: October 28, 2021
Views: 31,641
Categories: Linux
Advertisement