具体报错如下:
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就这个错,网上搜了下,试了个别方法没奏效- - 请高人们驻足帮看阿- -
ssh到redhat上 然后xterm起不来
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
- reaver
- 帖子: 212
- 注册时间: 2009-10-29 14:12
ssh到redhat上 然后xterm起不来
老虎不发猫,你当我是病危啊
我很菜但我很温柔
我很菜但我很温柔
- 速腾1994
- 论坛版主
- 帖子: 17379
- 注册时间: 2008-11-01 20:43
- 系统: Arch+gnome
- reaver
- 帖子: 212
- 注册时间: 2009-10-29 14:12
Re: ssh到redhat上 然后xterm起不来
老虎不发猫,你当我是病危啊
我很菜但我很温柔
我很菜但我很温柔
- AbuseYou
- 帖子: 91
- 注册时间: 2010-01-22 15:39
Re: ssh到redhat上 然后xterm起不来
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
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
We Sell LOVE, Buy SEX
Kill ME, I'm Hungry....!!
RedHat -> SuSe -> Ubuntu
Kill ME, I'm Hungry....!!
RedHat -> SuSe -> Ubuntu
- lhw828
- 帖子: 2797
- 注册时间: 2007-03-15 16:58
- 来自: 湖北武汉
- 联系:
Re: ssh到redhat上 然后xterm起不来
redhat??
古董
古董
.
Linux下安装QQ的各种办法——2017年3月7日更新——QQ8.8
Linux/Ubuntu学习笔记——用前人的经验,让你快速进入Linux的怀抱
科学上网的姿势,无痛穿越长城
Ubuntu交流QQ群:16308991(500人群)和10993386(500人群)疯狂招人!大家速来!
.
- 速腾1994
- 论坛版主
- 帖子: 17379
- 注册时间: 2008-11-01 20:43
- 系统: Arch+gnome
Re: ssh到redhat上 然后xterm起不来
redflag!
- xieshaohu
- 帖子: 1565
- 注册时间: 2007-10-24 20:20
- 来自: 北京、海淀
- 联系:
Re: ssh到redhat上 然后xterm起不来
redhat直接安装vnc-server软件包,配置一下,
然后就能用vnc客户端连接了。最近刚好做了一个这个配置。给你参考参考:
Install VNC Server on RedHat
http://xieshaohu.spaces.live.com/blog/c ... 1226.entry
然后就能用vnc客户端连接了。最近刚好做了一个这个配置。给你参考参考:
Install VNC Server on RedHat
http://xieshaohu.spaces.live.com/blog/c ... 1226.entry
Dell Vostro 1500, T7300/4GB/WD5000BEVT/nVidia 8400GM, Ubuntu 10.04 x86_64/VMware 7(Win7)
我的博客:http://xieshaohu.wordpress.com/
我的博客:http://xieshaohu.wordpress.com/
-
- 帖子: 1
- 注册时间: 2013-08-19 10:14
- 系统: ubuntu
Re: ssh到redhat上 然后xterm起不来
please check export DISPLAY=localhost:10.0