Centos升级到5.5后PAM引起的无法远程启动xwindows
Posted on 五月 18th, 2010 in linux笔记 | 8 Comments »
昨天将Centos升级到5.5后,突然发现无法通过telnet启动xwindows了。
错误提示如下图:
但是如果从本机直接运行startx的话,没有问题。
本机运行startx后,再退出,然后在telnet下再运行startx也没有问题了。
觉得这应该是与权限有关,通过Google搜索得到解决方案:
在/var/run/console/目录下新建一个当前用户的用户名的目录
然后再运行startx即可
Leave a Reply
You must be logged in to post a comment.

8 Responses
Strange this post is totaly unrelated to what I was searching google for, but it was listed on the first page. I guess your doing something right if Google likes you enough to put you on the first page of a non related search. :)
I can’t figure out how to subscribe to the comments via feed . I want to keep on top of this, how do I do that?
Just looking at your post on my new iPhone , and I wanted to check if it would allow me comment or if it was going to me go to a full pc to do that. Ill check back later to see if it worked.
@chels I know what you mean, its hard to find good help these days. People now days just don’t have the work ethic they used to have. I mean consider whoever wrote this post, they must have been working hard to write that good and it took a good bit of their time I am sure. I work with people who couldn’t write like this if they tried, and getting them to try is hard enough as it is.
Just killing some in between class time on Digg and I found your entry. Not normally what I prefer to learn about, but it was absolutely worth my time. Thanks.
Glad to see that this site works well on my Blackberry Bold, everything I want to do is functional. Thanks for keeping it up to date with the latest.
Well, I don’t know if that’s going to work for me, but definitely worked for you! :) Excellent post!
Hé c’est un grand poteau. Est-ce que je peux employer une partie là-dessus sur mon emplacement ? Je naturellement lierais à votre emplacement ainsi les gens pourraient lire le plein article s’ils voulaient à. Remercie l’une ou l’autre manière.