imported>Verityproductions |
imported>Verityproductions |
Line 174: |
Line 174: |
| Where two or more desktop environments have be installed (or at least just Openbox), then they can be cycled and selected by pressing the '''F1''' key on the SLiM login screen. | | Where two or more desktop environments have be installed (or at least just Openbox), then they can be cycled and selected by pressing the '''F1''' key on the SLiM login screen. |
| <br clear="all" /> | | <br clear="all" /> |
|
| |
|
| |
| = Enabling Auto Login =
| |
|
| |
| It is possible to bypass the login screen completely and go straight into your chosen desktop environment upon booting up Manjaro. '''Of course, it will be necessary to have already configured SLiM to manually launch your installed desktop environment in order to use this feature'''.
| |
|
| |
|
| |
| == Open the Slim Configuration File ==
| |
|
| |
| You will need to first open your terminal in order to edit the '''SLiM configuration file'''. The syntax of the command to do this is:
| |
|
| |
| sudo [text editor] /etc/slim.conf
| |
|
| |
|
| |
| For example, if you wish to edit the file within the terminal using nano (a standard terminal-based text editor) then enter:
| |
|
| |
| sudo nano /etc/slim.conf
| |
|
| |
|
| |
| Otherwise - if you have installed the full version of Manjaro (i.e. not the NET-Edition) - you may find it easier to use the pre-installed ''gedit'' text editor instead. This will open the configuration file up as a document, making it easier to read and edit. To use gedit instead, the command is:
| |
|
| |
| sudo gedit /etc/slim.conf
| |
|
| |
|
| |
| == Step 1: Set the Default User ==
| |
|
| |
| {{warning|There '''<u>must not</u>''' be any spaces before the '''default_user''' command, otherwise it will not work.}}
| |
|
| |
|
| |
| The first step is to set your personal account to be automatically logged in. This is undertaken in the following section, located near the bottom of the SLiM configuration file:
| |
|
| |
| # default user, leave blank or remove this line
| |
| # for avoid pre-loading the username.
| |
| # <font color="green">'''default_user simone'''</font color>
| |
|
| |
|
| |
| 1. Remove the hash ('#') from the beginning of the '''default_user''' command to activate it, ensuring that there are no spaces remaining at the beginning of the line.
| |
|
| |
| 2. Replace the existing name (i.e. simone) after the default_user command with the name of your personal user account
| |
|
| |
|
| |
| As an example, SLiM has been configured below to enable a personal user account named 'carl' to be logged in automatically:
| |
|
| |
| # default user, leave blank or remove this line
| |
| # for avoid pre-loading the username.
| |
| <font color="green">'''default_user carl'''</font color>
| |
|
| |
|
| |
| Once complete, the second and step is to enable the autologin feature itself.
| |
|
| |
|
| |
| == Step 2: Enable Auto Login ==
| |
|
| |
| {{warning|There '''<u>must not</u>''' be any spaces before the '''auto_login''' command, otherwise it will not work.}}
| |
|
| |
|
| |
| Enabling the automatic login is undertaken in the following section, also located near the bottom of the SLiM configuration file:
| |
|
| |
| # Automatically login the default user (without entering
| |
| # the password. Set to "yes" to enable this feature
| |
| # <font color="green">'''auto_login no'''</font color>
| |
|
| |
|
| |
| 1. Remove the hash ('#') from the beginning of the '''auto_login''' command to activate it, ensuring that there are no spaces remaining at the beginning of the line.
| |
|
| |
| 2. Replace the 'no' after the auto_login command with '''yes'''
| |
|
| |
|
| |
| As an example, SLiM has been configured below to enable the automatic login feature:
| |
|
| |
| # Automatically login the default user (without entering
| |
| # the password. Set to "yes" to enable this feature
| |
| <font color="green">'''auto_login yes'''</font color>
| |
|
| |
|
| |
| Once your amendments have been completed, you can 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.
| |
|
| |
|
|
| |
|