Lazar Fleysher <[EMAIL PROTECTED]> writes:

> What I can not do (and what the question is about) is run an X-Windows
> application off remote host on my second computer. I mean the following.
> If I telnet from my second computer to, say, my university account and run
> xclock off my university it opens window on my first computer, not second.
> Is it possible to redirect it to the second one? 

You should probably run `redir' on the first host to send port 6001 on
it to port 6000 on the second.  e.g. in /etc/inetd.conf:

    6001 stream tcp nowait nobody /usr/sbin/redir redir --inetd host2 6000

(untested)

You'll then need to make DISPLAY on your university account host1:1,
which will be redirected to host2:0.  You'll also need to get the
appropriate xauth information to your university account or use xhost,
which is quite insecure.

This doesn't need IP forwarding or masquerading enabled at all.

-- 
    Carey Evans  <*>  http://home.clear.net.nz/pages/c.evans/  gc

               Neniu anticipas la hispanan Inkvizicion.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to