-   Linux - Newbie (
-   -   xwindows to linux box (

thechap 02-10-2006 03:56 AM

xwindows to linux box
after firing up xwindows on a win2k laptop and doing a xhost + . Then i telnet to my redhat linux es box but am unable to run graphical applications.
The DISPLAY setting has been set.
The error i get is

emacs :Cannot connect to X server
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.

This is what i do before i get the error

[user@fred user]$xhost +barney
[user@fred user]$telnet barney
username: user
[user@barney user]$setenv DISPLAY fred:0.0
[user@barney user]$emacs

any ideas??

ethics 02-10-2006 04:59 AM

I'm not sure if telnet can handle X forwarding, i know SSH can and it's much better than telnet

man ssh

found this on a really quick google -

timmeke 02-10-2006 06:37 AM

I agree with ethics.
On Win, you may want to use a popular SSH client like PuTTy. It supports X windows forwarding.

Opening a telnet connection isn't exactly the same as logging in to the machine (as if you were logging in from Linux box onto another).

All times are GMT -5. The time now is 07:59 AM.