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...")
 
imported>Dalto
(Redirect to main DM article)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
= Overview =
#REDIRECT [[Install_Display_Managers]]
 
{{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 12:




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 19:
= 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.


[[Category:Customisation and Configuration]]
Reboot your system to see if it works as intended.
[[Category:Contents Page]]

Latest revision as of 22:54, 26 May 2019

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 (or mousepad in recent releases), which is a graphical text editor:

sudo gedit /etc/lightdm/lightdm.conf


Set Autologin

See https://wiki.archlinux.org/index.php/LightDM#Enabling_autologin


Reboot your system to see if it works as intended.

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