Re: Redirecting X from a remote host
Thanks Mark.
Ed
On Wed, May 24, 2006 at 11:31:36AM -0600, Ed wrote:
I need to redirect an X application on a Debian box to run on another
system running cygwin X.
I managed to start X on the cygwin machine.
I telneted to the remote Debian box.
Now I want to invoke an application and have it displayed on my cygwin
X (client?)
On the debian box I know I need to do something like
xhost +192.168.2.50 (the cygwin machine)
set DISPLAY=192.168.2.50:0.0
I'm not quite getting it. Can someone set me straight?
A much better method is to use ssh with the -X option. You need to make
sure that the ssh on the debian box is set up to allow X forwarding
(check the /etc/ conf files for ssh). Then just do:
ssh -l your_user_name -X debian.box
You'll have to enter your password, then just start up the application
as you would normally, and it'll display on the cygwin box.
There is a ssh option to compress, which could be useful if you have
powerful boxes and a low-speed link between them.
You should avoid the xhost method unless you're 110% sure that you
cannot be hacked.
--
Mark Kent
--
Ed
Reply to: