[TriLUG] remote X display

Ken Mink kmtrilug at nc.rr.com
Thu Mar 6 12:11:01 EST 2003


On Wed, 2003-03-05 at 13:15, Ryan Leathers wrote:
> 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 use KDE3.1 on my laptop here at work and my desktop at home. KDE3.1
(and maybe previous versions) has a feature called Remote Desktop. It's
basically VNC. The server side is in KDE so that you can take over a
running desktops remotely. I leave myself logged in at home. I can
connect through ssh from work and can use my existing session remotely.

I am running KDE3.1 on RH8. There is a sourceforge project that has all
the rpms; http://kde-redhat.sourceforge.net . They're set up for
apt-get.

Ken

> 
> 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: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030306/b5f7119b/attachment.pgp>


More information about the TriLUG mailing list