|
|

楼主 |
发表于 2009-2-7 15:55:00
|
显示全部楼层
看了您给的wiki
上面的内容也不太详细啊
按上面说的设置 在/etc/slim.conf配置如下
default_path ./:/bin:/usr/bin:/usr/local/bin
default_xserver /usr/bin/X
#xserver_arguments -dpi 75
# 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"
# 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
login_cmd exec /bin/sh -login ~/.xinitrc %session
daemon yes
sessions xfce4,openbox,twm
# Executed when pressing F11 (requires imagemagick)
screenshot_cmd import -window root /slim.png
# welcome message. Available variables: %host, %domain
welcome_msg Welcome to %host
# Session message. Prepended to the session name when pressing F1
session_msg Session:
shutdown_msg The system is halting...
reboot_msg The system is rebooting...
current_theme fingerprint
lockfile /var/run/slim.lock
logfile /dev/null
# Needed so your login will show up in wtmp and utmp, etc
sessionstart_cmd /usr/bin/sessreg -a -l $DISPLAY %user
sessionstop_cmd /usr/bin/sessreg -d -l $DISPLAY %user
slim起来后,按F1
仍然提示Session:top_cmd /usr/bin/sessreg -d -l $DISPALY %user
不能选择xfce4 只能进入一个比较奇怪的session 主体是openbox但又夹杂些xfce的效果
http://www.linuxsir.cn/bbs/lastpostinthread325630.html
上面这篇文章中对着/etc/X11/Xsession设置了不少
看解释好像是slim不干这 也不干那 啥都得自己搞进去才行... |
|