slim1
Simple login manager
Usage
slim [options]
[<arguments>]
Overview
SLiM is a lightweight login manager for X11, allowing the initialization of a graphical session by entering username and password in a login screen. It is desktop-agnostic and should work (suitably configured) with any session style.
Options
-
-c /path/to/config -
select a non-standard configuration file instead of /etc/slim.conf
-
-d -
run as a daemon
-
-n -
do NOT run as a daemon
-
-s -
be systemd compatible by disabling consolekit support. This option does nothing if consolekit support has not been built in.
-
-p /path/to/theme -
display a preview of the theme. An already running X11 session is required for theme preview.
-
-w <www>x<hhh> -
set the size of the window used for theme preview. This option is only valid after a -p option
-
-h -
display a brief help message
-
-v -
display version information
Examples
slim -d
|
run slim in daemon mode |
|---|---|
slim -p /usr/share/slim/themes/default -w 800x600
|
preview of the default theme at low resolution |
Starting slim at boot
Please refer to the documentation of your Operating System to make slim automatically startup after the system boots. In particular, the method is very different between SysV, OpenRC, runit and systemd init processes.
Configuration
Global configuration is stored in the /etc/slim.conf file. See the comments inside the file for a detailed explanation of the options.
Usage and special usernames
When started, slim will show a login panel; enter the username and password of the user you want to login as.
Special usernames:
|
open an xterm login console. No password needed |
|---|---|
|
quit slim. No password needed. See the note in BUGS. |
|
shutdown the machine |
|
reboot the machine |
|
power-suspend the machine |
See the configuration file for customizing the above commands. The 'halt' and 'reboot' commands need the root password, and hence may not work on systems where root login is disabled.
Shortcuts:
|
executes a custom command (by default takes a screenshot) |
|---|---|
|
choose session type from session list. |
Releases
10 releases since Debian 5.0 (Lenny); the text changed 2 times.
-c since Debian 13 (Trixie);
-n since Debian 13 (Trixie);
-s since Debian 13 (Trixie);
-w since Debian 13 (Trixie).