[TriLUG] remote X display

Ryan Leathers Ryan.Leathers at globalknowledge.com
Wed Mar 5 13:15:38 EST 2003


I want to get an X client (on host A) to direct its display to an X
server (on host B)


The connection between hosts must be ssh.  I need the full desktop - not
individual X apps.  I can not use VNC instead, etc.

I have configured host A (xauth, xsessions, gdm stuff...) and am able to
use XDMCP and CHOOSER to connect from a solaris host (host C)
I am also able to ssh from host B to host A.  From the remote shell on
host A I can echo $DISPLAY and I see that it is set to localhost:11.0

I understand this to mean that an X client started on host A, directed
to localhost:11.0, will be treated as another local X display on host A,
but in fact the X will be redirected through the ssh tunnel back to host
B.

How do I now get host A's X desktop displayed back on host B?  
If I do X -query localhost (which is where DISPLAY is exported for the
ssh tunnel) I get an error saying unknown host: localhost
If I do X -query 172.16.128.140 (which is the ip address of host B) I
get an error saying Server is already active for display 0
    

Thanks to those who have helped so far... I asked questions of several
folks at the install-fest but still have not figured this out.






 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3061 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030305/a5e703ad/attachment.bin>


More information about the TriLUG mailing list