[root@lamp ~]# xterm
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
[root@lamp ~]# gedit
(gedit:4280): Gtk-WARNING **: cannot open display:
[root@lamp ~]# echo $DISPLAY
10.200.28.132:0
[root@lamp ~]# kedit
kedit: cannot connect to X server 10.200.28.132:0
[root@lamp ~]# ping 10.200.28.132
PING 10.200.28.132 (10.200.28.132) 56(84) bytes of data.
64 bytes from 10.200.28.132: icmp_seq=0 ttl=64 time=0.187 ms
好像不可以!作者: sakulagi 时间: 2005-11-02 13:39
在10.200.28.132那个机器上执行一下xhost +然后再试试作者: ppxp 时间: 2005-11-02 14:13 标题: ? [root@ppxp ~]# xhost +
access control disabled, clients can connect from any host
[root@lamp ~]# kedit
kedit: cannot connect to X server 10.200.28.132:0
[root@lamp ~]# gedit
(gedit:4345): Gtk-WARNING **: cannot open display: