At 2005-08-11 12:48:30 +0530, [EMAIL PROTECTED] wrote:
>
> Eh? did I mess up something? Why is the export wrong?

If you do this:

> host1$ xhost +host2
> host1$ ssh host2
>
> host2$ export DISPLAY="host1:0"
> host2$ gimp

It might work (if the X server on host1 accepts TCP connections, which
is now becoming increasingly unlikely), but it wouldn't be using ssh X
forwarding, it would use a direct TCP connection to host1:6000.

If you want to use ssh to forward X traffic, you should let it set the
DISPLAY for you (and it'll set it to something like "localhost:10.0").
Then it forwards data to the server so that it sees the connection as
being from (its) localhost, which is why the xhost is unnecessary.

-- ams

_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to