t*******t 发帖数: 1067 | 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:
|
D****g 发帖数: 2860 | 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: :
|
p**v 发帖数: 853 | 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: :
|
p**v 发帖数: 853 | 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: :
|
D****g 发帖数: 2860 | 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.
|
p**v 发帖数: 853 | 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.
|