Manjaro Difference between revisions of "LightDM Auto Login"

Difference between revisions of "LightDM Auto Login"

From Manjaro
imported>Verityproductions
(Created page with "= Overview = {{Note|LightDM has been replaced by LXDM from Manjaro 0.8.1 onwards. '''This article also requires expansion'''.}} Manjaro 0.8.0 uses a lightweight display / lo...")
(No difference)

Revision as of 22:22, 13 October 2012

Overview

Note
LightDM has been replaced by LXDM from Manjaro 0.8.1 onwards. This article also requires expansion.

Manjaro 0.8.0 uses a lightweight display / login manager called LightDM by default. LXDM is responsible for providing the login screen. It also functions as a protective security barrier to prevent unauthorised access to your system. However, some users may prefer to bypass the login screen to boot straight into their desktop environment without entering a password.


Open the LightDM Configuration File

The syntax the command to edit the LightDM configuration file is:

sudo [text editor] /etc/lightdm/lightdm.conf


To use nano (the default text-based terminal editor) enter the command:

sudo nano /etc/lightdm/lightdm.conf


Otherwise, you may find it easier to read and edit the file by using gedit, which will open the configuration file as if it were a document. To use gedit instead, enter the command:

sudo gedit /etc/lightdm/lightdm.conf


Set Autologin

Find the following codes in the configuration file:

session-wrapper=/etc/lightdm/xsession
............
#display-setup-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=
#autologin-user-timeout=0
#autologin-session=UNIMPLEMENTED

Delete the '#' from the following line as shown below, and add your username to it:

session-wrapper=/etc/lightdm/xsession
#display-setup-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
autologin-user=[your username here]
#autologin-user-timeout=0
#autologin-session=UNIMPLEMENTED
Example: A user called yfdogan would chance the line to: autologin-user=yfdogan

Once your amendments have been completed save your changes and close the configuration file by:

  • nano: Press CTRL and 'x' to exit, 'y' to save, and <enter> to finish, or
  • gedit: Select the 'save' option and then close the window.


Reboot your system for the changes to take effect.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.