LinuxSir.cn,穿越时空的Linuxsir!

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

在终端中su之后运行图形界面的程序总有问题。

[复制链接]
发表于 2007-1-27 10:22:30 | 显示全部楼层 |阅读模式
报错信息:
localhost andy # gvim

(vim:2107): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

localhost andy # totem

(totem:2109): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

(totem:2109): gnome-vfs-modules-WARNING **: Could not initialize inotify

localhost andy # nautilus .

(nautilus:2113): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

How I can deal with this? Waiting for answer. Thanks very much!

用su -就没问题了。十分感谢gentoo forum上的朋友
发表于 2007-1-27 10:34:10 | 显示全部楼层
如果你想这样
su 的时候 不要 加 "-" 例如:

su root (即可) 不要  su - root
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-27 10:51:15 | 显示全部楼层
我只是用了su.gvim尚可用。不过其他的就不行了。而且界面下打开一些需要超级用户权限的程序像登录窗口输入密码后就没反应了!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-27 12:07:03 | 显示全部楼层
谁能帮帮我?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-27 22:21:19 | 显示全部楼层
Oh, My god! Please help me! Where's the master?
回复 支持 反对

使用道具 举报

发表于 2007-1-27 23:27:26 | 显示全部楼层
每个人都不可能什么都见过
没人回自然是没人知道
反正我是没见过,也不知道
给你支个招,权且一试,不保证起作用
你先在普通用户下执行xhost +,然后再su
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-28 00:53:48 | 显示全部楼层
只有凑合用了。幸好gvim可以用虽然报警告消息。反正也是装来做编程用的。xhost + 我一开始就试过了。还是要谢谢版主的热心
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-28 00:54:15 | 显示全部楼层
只有凑合用了。幸好gvim可以用虽然报警告消息。反正也是装来做编程用的。xhost + 我一开始就试过了。还是要谢谢版主的热心
回复 支持 反对

使用道具 举报

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

本版积分规则

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