PDA

View Full Version : xterm window problem?



majo
11-19-2004, 10:50 AM
Hi,
When I connect from knoppix computer K to another linux computer B using telnet,I can't start xterm client from B,I get following error:

xterm Xt error: Can't open display: K:0.0

But if I connect from K to B usin rsh protocol, i can start start xterm from B without any error. So my question is: Is there any settings for telnet session to start xterm or it does not support xterm?

Thanks for the Knoppix OS CD effort,it is wonderful!

My environment: Knoppix 3.4,other computer SuSE 9.0

Regards.

majo

OErjan
11-19-2004, 06:10 PM
i use ssh, that is more secure than rsh and telnet and it can even forward X.

majo
11-19-2004, 11:43 PM
I think rsh & ssh are same,as rsh is just symbolic link to /usr/bin/ssh

May be there is some rights & access problem,I did not have very much experience with linux may be xterm does not work with telnet protocol...

majo

nepulian
11-20-2004, 07:57 PM
I would also recommend using ssh. But if you want to use telnet then before starting an xterm, tyoe these lines

DISPLAY=<your machine IP address>:0.0
export DISPLAY

note that DISPLAY is in CAPS.

HTH