LinuxSir.cn,穿越时空的Linuxsir!

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

非root不能进gnome?

[复制链接]
发表于 2005-3-3 00:12:49 | 显示全部楼层 |阅读模式
为什么用非root用户进不去gnome/xfce4?
很奇怪,为什么root可以进X,而非root用户进不去?
根用户执行startx的输出:

  1. Markers: (--) probed, (**) from config file, (==) default setting,
  2.         (++) from command line, (!!) notice, (II) informational,
  3.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  4. (==) Log file: "/var/log/Xorg.0.log", Time: Thu Mar  3 07:55:11 2005
  5. (==) Using config file: "/etc/X11/xorg.conf"
  6. Using vt 7
  7. Symbol __glXgetActiveScreen from module /usr/lib/modules/extensions/libdri.a is unresolved!
  8. Symbol __glXgetActiveScreen from module /usr/lib/modules/extensions/libdri.a is unresolved!
  9. Warning: font renderer for ".pcf" already registered at priority 0
  10. Warning: font renderer for ".pcf.Z" already registered at priority 0
  11. Warning: font renderer for ".pcf.gz" already registered at priority 0
  12. Warning: font renderer for ".snf" already registered at priority 0
  13. Warning: font renderer for ".snf.Z" already registered at priority 0
  14. Warning: font renderer for ".snf.gz" already registered at priority 0
  15. Warning: font renderer for ".bdf" already registered at priority 0
  16. Warning: font renderer for ".bdf.Z" already registered at priority 0
  17. Warning: font renderer for ".bdf.gz" already registered at priority 0
  18. Warning: font renderer for ".pmf" already registered at priority 0
  19. Could not init font path element /usr/share/fonts/local/, removing from list!
  20. Could not init font path element /usr/share/fonts/CID/, removing from list!
  21. SESSION_MANAGER=local/Soros:/tmp/.ICE-unix/25692
复制代码

而普通用户的输出类似上面的:

  1. ...........
  2. Could not init font path element /usr/share/fonts/local/, removing from list!
  3. Could not init font path element /usr/share/fonts/CID/, removing from list!
  4. SESSION_MANAGER=local/Soros:/tmp/.ICE-unix/25995

  5. (gnome-session:25995): Pango-WARNING **: Cannot open font file for font Helvetica Semi-Bold 9

  6. (gnome-session:25995): Pango-WARNING **: Cannot open fallback font, nothing to do


  7. waiting for X server to shut down
  8. FCITX -- Get Signal No.: 1
  9. FCITX -- Exit Signal No.: 1
复制代码

哪位大虾能帮忙分析一下,谢谢!
偶是用Gentoo。昨天普通用户还能进入gnome。
 楼主| 发表于 2005-3-3 16:48:53 | 显示全部楼层
已经解决,发现/usr/share/fonts下各文件夹的权限全是drwxr--r--,改为drwxr-xr-x就好了
回复 支持 反对

使用道具 举报

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

本版积分规则

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