Difference between revisions of "LightDM Auto Login"

imported>Pavbaranov
(Undo revision 8175 by Pavbaranov (talk))
imported>Aaditya
Line 1: Line 1:
= 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 =
= Open the LightDM Configuration File =


Line 18: Line 11:




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:
Otherwise, you may find it easier to read and edit the file by using gedit (or '''mousepad''' in recent releases), which is a graphical text editor:


  sudo gedit /etc/lightdm/lightdm.conf
  sudo gedit /etc/lightdm/lightdm.conf
Line 25: Line 18:
= Set Autologin =
= Set Autologin =


Find the following codes in the configuration file:
See https://wiki.archlinux.org/index.php/LightDM#Enabling_autologin
 
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.
Reboot your system to see if it works as intended.




[[Category:Contents Page]]
[[Category:Contents Page]]
Anonymous user