On Wed, 20 May 1998, Liran Zvibel wrote:

> I remember reading somewhere that I can change the remote DISPLAY variable
> so I can see the applications on my local screen.
> My machine name is debian (I gave it a lot of thought...) I tried changing
> DISPLAY to debian:0 but it didn't work.

Despite all the advice you have had to use xhost (bad) and xauth (clumsy),
what you really want is this: install ssh (from nonus.debian.org)

ssh is a (superior) alternative to telnet, rsh and rcp.

ssh does many tricks, encrypting network sessions is one, compressing
connections is another and forwarding many connections through a single
encrypted connection is the one that is useful when you want to display x
clients that run remotely on your local display. 

What happens is that ssh will make the x client believe that there is an
xserver on the remote end - it is in fact faked by the sshd on the remote
end.  the faked xserver on the remote end forwards the x connection to the
xserver on the local machine - to which you already had access.  No need
to mess with xauth cookies and setting DISPLAY (in fact, when you change
DISPLAY on the remote end, the faked server trick stops working.)

You should really install ssh. It has so many additional advantages while
the other tricks mostly have disadvantages.

So get ssh and read the fine manuals that come with it.

Cheers,


Joost


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to