Mississippi -> Miiippi
Thomas Chadwick
j_tetazoo@hotmail.com
Wed Oct 8 12:51:00 GMT 2003
Oh, OK. In that case, maybe rsh would be a useful alternative? Here's
something I do all the time from the local host running the Cygwin Xserver:
xhost remotehost
rsh remotehost xterm -display localhost:0 &
You can even wrap it inside a shell script:
#!/bin/sh
rhost=$1
lhost=`hostname`
xhost $rhost
rsh $rhost xterm -display $lhost:0
If you save this as, say, "rxterm", you'd call it with simply:
rxterm remotehostname
>From: "Dai Itasaka" <ditasaka@silverbacksystems.com>
>Reply-To: cygwin-xfree@cygwin.com
>To: <cygwin-xfree@cygwin.com>
>Subject: Re: Mississippi -> Miiippi
>Date: Tue, 7 Oct 2003 14:30:32 -0700
>
>I have no intention to secure the X connection.
>I use ssh simply because the remote guy doesn't have a telnet server
>running. Do I still need to use the -X option?
>
>
>) By the way, you're using ssh all wrong. What you should really be doing
>is:
>)
>) 1) Invoke startxwin.sh
>) 2) In the local xterm, verify that the value of DISPLAY is 127.0.0.1:0
>) (and set it to that if it is not)
>) 3) ssh to the remote box using the "-X" flag to enable X-forwarding.
>) 4) Once connected to the remote host, verify that the value of DISPLAY
>) is something like remotehost:8.
>) 5) Run your remote X-clients normally.
>
>
_________________________________________________________________
Instant message with integrated webcam using MSN Messenger 6.0. Try it now
FREE! http://msnmessenger-download.com
More information about the Cygwin-xfree
mailing list