LinuxSir.cn,穿越时空的Linuxsir!

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

debian 升级后不能进入X-windows了(问题与解决)

[复制链接]
发表于 2010-11-25 16:16:15 | 显示全部楼层 |阅读模式
debian 升级后不能进入X-windows了,root用户执行 startx 可以进入,一般用户则不能进入,提示信息如下:

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.2-10.lenny2)
Current Operating System: Linux debian 2.6.26-2-686 #1 SMP Thu Sep 16 19:35:51 UTC 2010 i686
Build Date: 08 June 2009  09:12:57AM

    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov 23 19:38:32 2010
(==) Using config file: "/etc/X11/xorg.conf"
(II) Module "i2c" already built-in
(II) Module "ddc" already built-in
(II) Module "ramdac" already built-in
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!

waiting for X server to shut down FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.

请大家指点一下,这是什么原因,如何解决


原因:普通用户对/tmp 没有写权限
偶尔查看了一 /tmp的权限为  drwxr-xr-x
sudo chmod 1777 /tmp
一切OK!
发表于 2010-11-25 19:18:38 | 显示全部楼层
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
提示已经讲很明白了,看看目录有没有存在。
另外tail ~/.xsession-errors看看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-26 14:14:14 | 显示全部楼层
谢谢楼上的指点,问题与解决:flash:
回复 支持 反对

使用道具 举报

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

本版积分规则

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