LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   xwindows to linux box (https://www.linuxquestions.org/questions/linux-newbie-8/xwindows-to-linux-box-413732/)

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 10.1.4.104:0.
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
password:
[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 - http://www.vanemery.com/Linux/XoverSSH/X-over-SSH2.html

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.