|
|
发表于 2008-4-3 16:28:52
|
显示全部楼层
我用的slim+xfce4,一直没有什么问题,就是按照handbook上来的。
http://www.gentoo.org/doc/zh_cn/xfce-config.xml
还有就是我刚刚发现我在/etc/rc.conf没有设置XSESSION="Xfce4"这一步。。- hunk@localhost~$cat /etc/conf.d/xdm
- # We always try and start X on a static VT. The various DMs normally default
- # to using VT7. If you wish to use the xdm init script, then you should ensure
- # that the VT checked is the same VT your DM wants to use. We do this check to
- # ensure that you have't accidently configured something to run on the VT
- # in your /etc/inittab file so that you don't get a dead keyboard.
- CHECKVT=7
- # What display manager do you use ? [ xdm | gdm | kdm | kdm-3.5 | kdm-4.0 | entrance ]
- # NOTE: If this is set in /etc/rc.conf, that setting will override this one.
- # KDE-specific note: kdm-3.5 and kdm-4.0 are just examples. You will find all
- # possible versions by looking at the directories in /usr/kde/.
- DISPLAYMANAGER="slim"
- hunk@localhost~$cat /etc/rc.conf
- # /etc/rc.conf: Global startup script configuration settings
- # UNICODE specifies whether you want to have UNICODE support in the console.
- # If you set to yes, please make sure to set a UNICODE aware CONSOLEFONT and
- # KEYMAP in the /etc/conf.d/consolefont and /etc/conf.d/keymaps config files.
- UNICODE="yes"
- # Set EDITOR to your preferred editor.
- # You may use something other than what is listed here.
- #EDITOR="/bin/nano"
- #EDITOR="/usr/bin/vim"
- EDITOR="/usr/bin/emacs"
- # DISPLAYMANAGER has moved to /etc/conf.d/xdm
- # XSESSION is a new variable to control what window manager to start
- # default with X if run with xdm, startx or xinit. The default behavior
- # is to look in /etc/X11/Sessions/ and run the script in matching the
- # value that XSESSION is set to. The support scripts are smart enough to
- # look in all bin directories if it cant find a match in /etc/X11/Sessions/,
- # so setting it to "enlightenment" can also work. This is basically used
- # as a way for the system admin to configure a default system wide WM,
- # allthough it will work if the user export XSESSION in his .bash_profile, etc.
- #
- # NOTE: 1) this behaviour is overridden when a ~/.xinitrc exists, and startx
- # is called.
- # 2) even if ~/.xsession exists, if XSESSION can be resolved, it will
- # be executed rather than ~/.xsession, else KDM breaks ...
- #
- # Defaults depending on what you install currently include:
- #
- # Gnome - will start gnome-session
- # kde-<version> - will start startkde (look in /etc/X11/Sessions/)
- # Xfce4 - will start a XFCE4 session
- # Xsession - will start a terminal and a few other nice apps
- #XSESSION="Gnome"
复制代码 |
|