1. # Path, X server and arguments (if needed)
  2. # Note: -xauth $authfile is automatically appended
  3. #
  4. default_path /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
  5. default_xserver /usr/bin/X11/X
  6. xserver_arguments -nolisten tcp -dpi 96
  7. # Commands for halt, login, etc.
  8. halt_cmd /sbin/shutdown -h now
  9. reboot_cmd /sbin/shutdown -r now
  10. console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue.net; exec /bin/login"
  11. #suspend_cmd /usr/sbin/suspend
  12. # Full path to the xauth binary
  13. xauth_path /usr/bin/X11/xauth
  14. # Xauth file for server
  15. authfile /var/run/slim.auth
  16. # Activate numlock when slim starts. Valid values: on|off
  17. numlock on
  18. # Hide the mouse cursor (note: does not work with some WMs).
  19. # Valid values: true|false
  20. # hidecursor false
  21. # This command is executed after a succesful login.
  22. # you can place the %session and %theme variables
  23. # to handle launching of specific commands in .xinitrc
  24. # depending of chosen session and slim theme
  25. #
  26. # NOTE: if your system does not have bash you need
  27. # to adjust the command according to your preferred shell,
  28. # i.e. for freebsd use:
  29. # login_cmd exec /bin/sh - ~/.xinitrc %session
  30. login_cmd exec /bin/bash -login /etc/X11/Xsession %session
  31. # Commands executed when starting and exiting a session.
  32. # They can be used for registering a X11 session with
  33. # sessreg. You can use the %user variable
  34. #
  35. # sessionstart_cmd some command
  36. # sessionstop_cmd some command
  37. # Start in daemon mode. Valid values: yes | no
  38. # Note that this can be overriden by the command line
  39. # options "-d" and "-nodaemon"
  40. # daemon yes
  41. # Set directory that contains the xsessions.
  42. # slim reads xsesion from this directory, and be able to select.
  43. sessiondir /usr/share/xsessions/
  44. # Executed when pressing F11 (requires scrot)
  45. screenshot_cmd scrot /root/slim.png
  46. # welcome message. Available variables: %host, %domain
  47. welcome_msg Welcome to %host
  48. # Session message. Prepended to the session name when pressing F1
  49. # session_msg Session:
  50. # shutdown / reboot messages
  51. shutdown_msg The system is halting...
  52. reboot_msg The system is rebooting...
  53. # default user, leave blank or remove this line
  54. # for avoid pre-loading the username.
  55. default_user tuxd3v
  56. # Focus the password field on start when default_user is set
  57. # Set to "yes" to enable this feature
  58. focus_password yes
  59. # Automatically login the default user (without entering
  60. # the password. Set to "yes" to enable this feature
  61. #auto_login no
  62. # current theme, use comma separated list to specify a set to
  63. # randomly choose from
  64. current_theme desktop-slim-theme
  65. # Lock file
  66. lockfile /var/run/slim.lock
  67. # Log file
  68. logfile /var/log/slim.log

my /etc/slim.conf