LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 549|回复: 5

[已经解决]编译哪个包,导致xdm配置重写

[复制链接]
发表于 2009-12-11 10:04:28 | 显示全部楼层 |阅读模式
今天升级了,emerge后,提示不少不少配置要改

于是输入

etc-update

在提示修改xdm的时候,不知道误操作什么了,导致xdm出错了。
也就是/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


问题,好像我的印象中xdm内容可不是只有这么一点呀?需要重新编译什么才能导致系统重新产生一个/etc/conf.d/xdm呀?

我现在都不敢关机了!
发表于 2009-12-11 10:09:31 | 显示全部楼层
[php]
# equery b /etc/conf.d/xdm
* Searching for /etc/conf.d/xdm ...
x11-apps/xinit-1.2.0-r3 (/etc/conf.d/xdm)

# which equery
/usr/bin/equery

# equery b /usr/bin/equery
* Searching for /usr/bin/equery ...
app-portage/gentoolkit-0.3.0_rc7 (/usr/bin/equery)

[/php]
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-12-11 10:15:04 | 显示全部楼层
谢谢!

我重新emerge xinit好像不能产生新的xdm呀?
回复 支持 反对

使用道具 举报

发表于 2009-12-11 10:24:39 | 显示全部楼层
Post by forrestxz;2054716
谢谢!

我重新emerge xinit好像不能产生新的xdm呀?


要么改下文件名再重新emerge 试试?

我的系统这个文件的内容


  1. # We always try and start X on a static VT. The various DMs normally default
  2. # to using VT7. If you wish to use the xdm init script, then you should ensure
  3. # that the VT checked is the same VT your DM wants to use. We do this check to
  4. # ensure that you haven't accidentally configured something to run on the VT
  5. # in your /etc/inittab file so that you don't get a dead keyboard.
  6. CHECKVT=7

  7. # What display manager do you use ?  [ xdm | gdm | kdm | kdm-4.3 | gpe | entrance ]
  8. # NOTE: If this is set in /etc/rc.conf, that setting will override this one.
  9. #
  10. # KDE-specific note:
  11. # - If you are using kdeprefix go with "kdm-4.Y", e.g. "kdm-4.3".
  12. #     You can find possible versions by looking at the directories in /usr/kde/.
  13. # - Else, if you are using KDE 3 enter "kdm-3.5"
  14. # - Else, if you are using KDE 4 enter "kdm" without a version
  15. DISPLAYMANAGER="xdm"

  16. # Set whether xorg should depend on hald or not. If set to 'auto' then the init
  17. # script tries to determine the dependency on hald automatically, by examining
  18. # xorg.conf files on various locations. If you have built xorg without hal
  19. # use-flag, you should set 'no' here.  If xorg has been built with hal then you
  20. # may set 'auto' or 'yes' here.
  21. # Possible values are: [ yes | no | auto ]
  22. NEEDS_HALD="auto"

复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-12-11 12:57:02 | 显示全部楼层
谢谢! 是要把原来的删掉
回复 支持 反对

使用道具 举报

发表于 2009-12-11 15:14:14 | 显示全部楼层
呵呵,我提的那个bug 294958升级后 导致了你的问题:)
x11-apps/xinit-1.2.0-r3
回复 支持 反对

使用道具 举报

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

本版积分规则

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