avatar
an unixquestions, Please help!# Unix - 噫吁兮,危乎高哉
t*t
1
# 1:
I'm having problem displaying the X front end to my remote X server.
On my remote X server, I set
xhost+
so that it will allow remote connects. On X client, I set
setenv DISPLAY hostname:0
(where hostname is the name of the remote X server). I still get an error
message "Can't open display". What can I try?
# 2:
avatar
D*g
2
try ssh instead

【在 t*******t 的大作中提到】
: # 1:
: I'm having problem displaying the X front end to my remote X server.
: On my remote X server, I set
: xhost+
: so that it will allow remote connects. On X client, I set
: setenv DISPLAY hostname:0
: (where hostname is the name of the remote X server). I still get an error
: message "Can't open display". What can I try?
: # 2:
:

avatar
p*v
3
first doublecheck your current display is indeed hostname:0
sometimes it may be :0.X. then "xhost servername", rlogin or
telnet, then set setenv over there. if still not work, ask
the tech support for help since it is possible that the remote
server does not allow you to use X display.
good luck.

【在 t*******t 的大作中提到】
: # 1:
: I'm having problem displaying the X front end to my remote X server.
: On my remote X server, I set
: xhost+
: so that it will allow remote connects. On X client, I set
: setenv DISPLAY hostname:0
: (where hostname is the name of the remote X server). I still get an error
: message "Can't open display". What can I try?
: # 2:
:

avatar
p*v
4
just noticed that you should not set display using the server's
name. it should be your local machine's name.

【在 t*******t 的大作中提到】
: # 1:
: I'm having problem displaying the X front end to my remote X server.
: On my remote X server, I set
: xhost+
: so that it will allow remote connects. On X client, I set
: setenv DISPLAY hostname:0
: (where hostname is the name of the remote X server). I still get an error
: message "Can't open display". What can I try?
: # 2:
:

avatar
D*g
5
that is the X server.

【在 p**v 的大作中提到】
: just noticed that you should not set display using the server's
: name. it should be your local machine's name.

avatar
p*v
6
i should say at local machine do echo $DISPLAY and then
setenv this display at remote machine.

error

【在 D****g 的大作中提到】
: that is the X server.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。