Difference between revisions of "LightDM Auto Login"
Views
Actions
Namespaces
Variants
Tools
imported>Pavbaranov |
imported>Pavbaranov (Undo revision 8175 by Pavbaranov (talk)) |
||
Line 1: | Line 1: | ||
= | = Overview = | ||
{{Note| | {{Note|LightDM has been replaced by LXDM from Manjaro 0.8.1 onwards. '''This article also requires expansion'''.}} | ||
Manjaro 0.8.0 | 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 [ | 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 | 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 | session-wrapper=/etc/lightdm/xsession | ||
Line 37: | Line 38: | ||
#autologin-session=UNIMPLEMENTED | #autologin-session=UNIMPLEMENTED | ||
Delete the '#' from the following line as shown below, and add your username to it: | |||
session-wrapper=/etc/lightdm/xsession | session-wrapper=/etc/lightdm/xsession | ||
Line 45: | Line 46: | ||
#session-cleanup-script= | #session-cleanup-script= | ||
#autologin-guest=false | #autologin-guest=false | ||
'''autologin-user=''[ | '''autologin-user=''[your username here]'' | ||
#autologin-user-timeout=0 | #autologin-user-timeout=0 | ||
#autologin-session=UNIMPLEMENTED | #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:Contents Page]] | [[Category:Contents Page]] |
Revision as of 10:55, 23 November 2013
Overview
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.