Difference between revisions of "SLiM Configuration"
Views
Actions
Namespaces
Variants
Tools
no edit summary
imported>Verityproductions |
imported>Verityproductions |
||
Line 268: | Line 268: | ||
* '''console''' - Launch the terminal | * '''console''' - Launch the terminal | ||
= Enable Auto-Login = | |||
It is indeed possible to enable automatic login. To do so, it will be necessary to edit both the ''SLiM configuration file'' (slim.conf) and the and the ''X-Windows initialisation file''. Instructions on how to actually open these files to edit them have been omitted as they have already been provided earlier in the article. | |||
==Enable Auto-Login in the SLiM Configuration file== | |||
Once the SLiM configuration file has been opened, follow the three steps provided. | |||
'''1.''' Sash-out the the following command, as it is no longer-necessary to auto-detect installed desktop environments: | |||
sessiondir /usr/share/xsessions/ | |||
It should therefore look like this: | |||
#sessiondir /usr/share/xsessions/ | |||
'''2.''' Amend the following line to set yourself as the default user by removing the hash, and replacing 'simone' with your account name: | |||
#default_user simone | |||
For example, for the user 'carl', the line would be changed to: | |||
default_user carl | |||
'''3.''' Finally, enable auto-login by amending the following line: | |||
#auto_login no | |||
It should therefore look like this: | |||
auto_login yes | |||
Once complete, save and close the file. All that is required now is to edit the ''.xinitrc'' file. | |||
==Set the Desktop Environment in the .xinitrc Configuration file== | |||
Once the SLiM Configuration file has been amended, '''exec $1''' must be replaced with the session (i.e. Desktop Environment or Window Manager) to run automatically. The syntax of the new command is: | |||
exec [desktop-session] | |||
For example, to set Openbox as the default session to log into automatically, the following command would be used: | |||
exec openbox-session | |||
Here are a sample of exec commands for popular desktops to aid new users: | |||
exec openbox-session | |||
exec xfce4-session | |||
exec gnome-session | |||
exec startkde | |||
exec cinnamon-session | |||
exec razor-session | |||
exec lxsession | |||
exec mate-session | |||
Once complete, save and close the file. Reboot the system for the changes to take effect. | |||
[[Category:Contents Page]] | [[Category:Contents Page]] |