分页: 1 / 1

ssh到redhat上 然后xterm起不来

发表于 : 2010-04-26 16:01
reaver
具体报错如下:
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
我用redhat连redhait 然后起xterm可以 用U就这个错,网上搜了下,试了个别方法没奏效- - 请高人们驻足帮看阿- - :em20

Re: ssh到redhat上 然后xterm起不来

发表于 : 2010-04-26 20:38
速腾1994
:em06

Re: ssh到redhat上 然后xterm起不来

发表于 : 2010-04-27 16:04
reaver
:em19

Re: ssh到redhat上 然后xterm起不来

发表于 : 2010-04-28 11:39
AbuseYou
redhat ver?
for old sshd in redhat, it may need 2 steps 1st:

1) set DISPLAY environment
2) xhost +

for new sshd, you should try ssh +X

Re: ssh到redhat上 然后xterm起不来

发表于 : 2010-04-28 14:54
lhw828
redhat??

古董

Re: ssh到redhat上 然后xterm起不来

发表于 : 2010-04-28 15:20
速腾1994
redflag!

Re: ssh到redhat上 然后xterm起不来

发表于 : 2010-04-28 22:19
xieshaohu
redhat直接安装vnc-server软件包,配置一下,

然后就能用vnc客户端连接了。最近刚好做了一个这个配置。给你参考参考:
Install VNC Server on RedHat
http://xieshaohu.spaces.live.com/blog/c ... 1226.entry

Re: ssh到redhat上 然后xterm起不来

发表于 : 2023-08-26 16:01
wang_cyi
please check export DISPLAY=localhost:10.0