LinuxSir.cn,穿越时空的Linuxsir!

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

普通用户无法startx

[复制链接]
发表于 2005-9-26 00:32:12 | 显示全部楼层 |阅读模式
为了安装wine 我用useradd 加了一个普通用户,而且在/home中建立了一用户目录。但是用普通用户登录后startx起不来XWIN。

xep007 had fixed the problem, but he do not show how.
发表于 2005-9-26 09:18:34 | 显示全部楼层
It could happen when the system attempt to write some temporary files but the user does not have write permission to certain directories.

What is your error message?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-9-26 12:14:00 | 显示全部楼层
X: user not authority to run xserver, aborting.
giving up.
xinit: Connection refused (errno 111):unable to connect to Xserver
xinit: No such process (errno 3):Server error.
xauth: timeout in locking authority file /home/leo/.Xauthority
回复 支持 反对

使用道具 举报

发表于 2005-9-26 16:48:11 | 显示全部楼层
chown -R 用户名.用户组名 /home/用户主目录
回复 支持 反对

使用道具 举报

发表于 2005-9-26 16:48:35 | 显示全部楼层
我也遇到了这个问题,出错提示好象有点不同。

我不知道怎么把那些复制下来。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-9-26 18:40:46 | 显示全部楼层
chown过,但是不允许操作,我也很奇怪。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-9-26 22:58:37 | 显示全部楼层
chown 已经ok了  但是
(WW) xf86ReadBIOS: Failed to open /dev/mem (Operation not permitted)

Fatal server error:
xf86OpenConsole: Server must be suid root

而且我也改过mam的权限了 但没有用。
回复 支持 反对

使用道具 举报

发表于 2005-10-1 13:16:54 | 显示全部楼层
Post by lionleonleo
chown 已经ok了  但是
(WW) xf86ReadBIOS: Failed to open /dev/mem (Operation not permitted)

Fatal server error:
xf86OpenConsole: Server must be suid root

而且我也改过mam的权限了 但没有用。



解决了吗?
回复 支持 反对

使用道具 举报

发表于 2005-10-1 14:10:28 | 显示全部楼层
估计还是权限的问题
回复 支持 反对

使用道具 举报

发表于 2005-10-1 23:25:07 | 显示全部楼层
Post by linuxcpp
估计还是权限的问题



应该是,我实验了一下,chown后新用户就可以使用startx命令了

但 是有一点不明白,为什么自己的home自己还权限不足呢,难道是那几配置文件的权限问题?
回复 支持 反对

使用道具 举报

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

本版积分规则

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