# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path ./:/bin:/usr/bin:/usr/local/bin:/usr/bin
default_xserver /usr/bin/X
xserver_arguments -nolisten tcp vt07
# Commands for halt, login, etc.
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd /usr/sbin/suspend
# Full path to the xauth binary
xauth_path /usr/bin/xauth
# Xauth file for server
authfile /var/run/slim.auth
# Activate numlock when slim starts. Valid values: on|off
# numlock on
# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor false
# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
login_cmd exec /bin/sh - ~/.xinitrc %session -менял
#login_cmd exec /bin/bash -login ~/.xinitrc %session -^^^^
# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd some command
# sessionstop_cmd some command
# Start in daemon mode. Valid values: yes | no
# Note that this can overridden by the command line
# option "-d"
# daemon yes
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions xfce4
# Executed when pressing F11 (requires imagemagick)
screenshot_cmd import -window root /home/slim.png
# welcome message. Available variables: %host, %domain
welcome_msg Welcome to my hell!!!
# shutdown / reboot messages
shutdown_msg The system is halting...
reboot_msg The system is rebooting...
# default user, leave blank or remove this line
# for avoid pre-loading the username.
default_user medicus
# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme fingerprint
# Lock file
lockfile /var/lock/slim.lock
# Log file
logfile /var/log/slim.log
эти хауту читал
Не спеши, а то успеешь, следствие - тише едешь точнее диагноз.
Блог арчевода - http://grif12.blogspot.com
Закомментированный вариант пробовали? Как вариант ещё - попробуйте вместо /bin/sh - прописать /bin/sh -l .
А что в ~/.xinitrc и /var/log/slim.log (может какие-нибудь более внятные сообщения об ошибках)?
Я тоже когда-то сталкивался с этой проблемой, в результате как-то решилось, жаль конфига не осталось с того времени...
Cсылка не работает, документ был удалён. Есть где-нибудь ещё статьи по настройке slim'a?
Нашел ещё вики-статью для ArchLinux, правда, там немного. А вообще Dr.SMP прав, там настраивать почти нечего, нужные настройки прокомментированы в конфиге, для большинства из них смысл ясен из названий опций.
Нашел ещё вики-статью для ArchLinux, правда, там немного. А вообще Dr.SMP прав, там настраивать почти нечего, нужные настройки прокомментированы в конфиге, для большинства из них смысл ясен из названий опций.
та же проблема "failed to execute login command" после переноса системы на другой диск.
Рецептов не вижу, причем для только_что_созданного юзера вход выполняется, а для старого- нет.
Решение:
тоже странное- скопировать все файлы во временную папку, снести юзера, создать юзера, скопировать филе обратно. Пипец как интересно!
теперь-то что уже...
кстати, несколько раз прозвучавшее выше решение- создать .xinitrc- неверно. Потому как не обязательно.
Достаточно иметь соответствующие файлы *.desktop в /usr/share/xsessions/ и переключаться в Slim по F1 перед логином.