Xterm help

ScottyB_

Senior member
Jan 6, 2001
236
0
0
I am new to liux and need some help with xterm. I am running redhat 7.1 and need to use an xterm to log into our main server at school so I can do my work from my room. I can do this on Windows with X-win pro but would like to do it with linux because it is just plain better. I can log in with telnet and with xterm but I can't display anything. What do I need to do?
 

thornc

Golden Member
Nov 29, 2000
1,011
0
0
You can probably use the -display <your address>:0 switch and redirect the display!! to your machine....
you must type something like xhost + before doing the telnet.......

edit: Well you'd better set the env variable DISPLAY to your address it better!!
on local machine type
xhost +
then telnet/ssh whatever and
on the remote machine type:
export DISPLAY=<your address>:0
any X display should then be redirected to you!!
 

cureless

Member
Apr 25, 2001
94
0
0
thonc, correct your line, it should be:
export DISPLAY=<your address>:0, without the ']'.
One thing, this assumes you're using bash (or similar) on your remote shell. The other option being something like
setenv DISPLAY <your address>:0

Also, ssh can do this for you. In case it doesn't work by default, use "ssh -X hostname".

BTW, don't use telnet if you can avoid it.

cl