找回密码
 注册
查看: 752|回复: 3

自己新添加的帐号不能启动X窗口

[复制链接]
发表于 2005-4-24 20:02:23 | 显示全部楼层 |阅读模式
错误:
pam authentication failed,cannot start X server.
Perhaps you do not have console ownership?

xinit:NO such file or directory (errno 2):unable to connect to X server
xinit:NO such process (errno 3):Server error
xauth: error in locking authority file /home/oracle/.Xauthority



help,pls
发表于 2005-4-24 22:38:05 | 显示全部楼层

Re: 自己新添加的帐号不能启动X窗口

[quote:14fcf0a745="la"]错误:
pam authentication failed,cannot start X server.
Perhaps you do not have console ownership?

xinit:NO such file or directory (errno 2):unable to connect to X server
xinit:NO such process (errno 3):Server error
xauth: error in locking authority file /home/oracle/.Xauthority



help,pls[/quote]
把你的用户加到 console 组里边去。
回复

使用道具 举报

 楼主| 发表于 2005-4-24 23:38:15 | 显示全部楼层
请问如何添加,我查看我的组并没有console的组
pls
回复

使用道具 举报

发表于 2005-4-25 13:33:31 | 显示全部楼层
la, 请仔细看公告贴。描述问题要详细说明你的系统,别人才好给你对症。

我的 Gentoo 是有 console 组的。

至于别的发行版,可能有,可能没有。其实这都无关紧要,主要是你能够通过 PAM 的 “console ownership” 条件即可。

可是各个发行版、各人机器的 PAM 配置又都不一样,你不说,别人怎么会知道……



还有一种可能,就是你是如何进入 user 环境的?如果是 su 过去的,那么得到这个错误就是再正常不过了。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-2-22 17:39 , Processed in 0.040757 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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