Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Xterm

Status
Not open for further replies.

madkayak

Technical User
Joined
Apr 12, 2002
Messages
7
Location
GB
Hi
I can telnet out and into my linux box, I can call up a xterm of my box from my box, but I can't seem to do it when I telnet into a linux server on the domain.
WHat am I doing wrong?
Thanks
Sandy
 
Well, it's hard to say what you're doing wrong without knowing what you're doing. ;) You might want to give some more details.

Are you exporting your display after you telnet in, or are you trying to use the -display option of xterm? Either way, you need to make sure to run
xhost + server_name_or_ip
on the local system before telneting to the server. Otherwise, the local X server won't accept connections from the remote machine. After that, you can export your display in the normal way (with the command "export DISPLAY=server_name_or_ip:0.0") or use xterm's -display option.
 
don't use telnet! it's insecure, blahblah.....

ssh -X your.host

this will take care of exporting the DISPLAY variable and make your X sessions secure too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top