LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: reglinux

Gentoo能直接在图形界面下登录吗?XFCE4

[复制链接]
发表于 2008-4-3 16:28:52 | 显示全部楼层
我用的slim+xfce4,一直没有什么问题,就是按照handbook上来的。
http://www.gentoo.org/doc/zh_cn/xfce-config.xml

还有就是我刚刚发现我在/etc/rc.conf没有设置XSESSION="Xfce4"这一步。。
  1. hunk@localhost~$cat /etc/conf.d/xdm
  2. # We always try and start X on a static VT. The various DMs normally default
  3. # to using VT7. If you wish to use the xdm init script, then you should ensure
  4. # that the VT checked is the same VT your DM wants to use. We do this check to
  5. # ensure that you have't accidently configured something to run on the VT
  6. # in your /etc/inittab file so that you don't get a dead keyboard.
  7. CHECKVT=7
  8. # What display manager do you use ?  [ xdm | gdm | kdm | kdm-3.5 | kdm-4.0 | entrance ]
  9. # NOTE: If this is set in /etc/rc.conf, that setting will override this one.
  10. # KDE-specific note: kdm-3.5 and kdm-4.0 are just examples. You will find all
  11. # possible versions by looking at the directories in /usr/kde/.
  12. DISPLAYMANAGER="slim"
  13. hunk@localhost~$cat /etc/rc.conf
  14. # /etc/rc.conf: Global startup script configuration settings
  15. # UNICODE specifies whether you want to have UNICODE support in the console.  
  16. # If you set to yes, please make sure to set a UNICODE aware CONSOLEFONT and
  17. # KEYMAP in the /etc/conf.d/consolefont and /etc/conf.d/keymaps config files.
  18. UNICODE="yes"
  19. # Set EDITOR to your preferred editor.
  20. # You may use something other than what is listed here.
  21. #EDITOR="/bin/nano"
  22. #EDITOR="/usr/bin/vim"
  23. EDITOR="/usr/bin/emacs"
  24. # DISPLAYMANAGER has moved to /etc/conf.d/xdm
  25. # XSESSION is a new variable to control what window manager to start
  26. # default with X if run with xdm, startx or xinit.  The default behavior
  27. # is to look in /etc/X11/Sessions/ and run the script in matching the
  28. # value that XSESSION is set to.  The support scripts are smart enough to
  29. # look in all bin directories if it cant find a match in /etc/X11/Sessions/,
  30. # so setting it to "enlightenment" can also work.  This is basically used
  31. # as a way for the system admin to configure a default system wide WM,
  32. # allthough it will work if the user export XSESSION in his .bash_profile, etc.
  33. #
  34. # NOTE:  1) this behaviour is overridden when a ~/.xinitrc exists, and startx
  35. #           is called.
  36. #        2) even if ~/.xsession exists, if XSESSION can be resolved, it will
  37. #           be executed rather than ~/.xsession, else KDM breaks ...
  38. #
  39. # Defaults depending on what you install currently include:
  40. #
  41. # Gnome - will start gnome-session
  42. # kde-<version> - will start startkde (look in /etc/X11/Sessions/)
  43. # Xfce4 - will start a XFCE4 session
  44. # Xsession - will start a terminal and a few other nice apps
  45. #XSESSION="Gnome"
复制代码
回复 支持 反对

使用道具 举报

发表于 2008-4-3 22:22:18 | 显示全部楼层
Post by reglinux;1834374
gdm搭配XFCE怎么样?如何用gdm替换xdm


我不知道他们搭配怎么样。我的fluxbox在rc.conf中也没有设置。如果你没有安装其他窗口管理器建议你把最后一句XSESSION="Xfce4"注释掉。
再问一下。你有没有配置xdm。
我感觉:gdm是gnome的显示管理。不知道配xfce4会不会有问题。
要用的话应该直接emerge 然后加入default然后配置一下。把xdm从default里删除就可以了。
用了一段时间gentoo的感觉,应该就是这么安装。希望指正
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-4-4 09:00:48 | 显示全部楼层
还是不行
我的配置文件和BzFly 的一样。
XMD没有配置,怎么配置??
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-4-5 09:06:37 | 显示全部楼层
不知道为什么重启后就能图形下登录了
我只是搞了一下声卡,装了一个alsa-tools重启就能图形登录了
回复 支持 反对

使用道具 举报

发表于 2008-4-5 11:30:20 | 显示全部楼层
Post by BzFly

我用的slim+xfce4,一直没有什么问题,就是按照handbook上来的。
请问用Ctrl-Alt-Backspace退出X后,能自动返回到图形的登录界面吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表