LinuxSir.cn,穿越时空的Linuxsir!

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

LFS中一直没有解决的问题, SU下运行X程序。

[复制链接]
发表于 2003-8-26 16:27:17 | 显示全部楼层 |阅读模式
Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s


xhost  +   DISPLY
xauth

都用过, 但都解决不了问题。
发表于 2003-8-26 22:09:08 | 显示全部楼层
xhost + localhost
su -
xterm -display localhost:0.0
应该没问题的。
 楼主| 发表于 2003-8-27 10:26:28 | 显示全部楼层
试过,不行
当然了,普通用户是没有问题的。

这可能与安全设置有关。
我使用KDM,或许有关,或者跟PAM,或是PORTMAP有关。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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