Advertisement

06.15.2005 at 03:41AM PDT, ID: 21458651
[x]
Attachment Details

ssh tunnel between Linux and Cygwin-X, multiple windows problem.

Asked by jim_s_w in X-Windows Window Manager

Tags: cygwin, putty, ssh

I Have a linux (FC3) and a Windose machine with cygwin-X and Putty. With no problems i can connect to the Linux server with cygwin with no problem login in and using the KDE/GDM GUI. But now i want to use a ssh tunnel. I start Putty, with ssh-tunnel (X-forward) enabled, and with cygwin X started in passive mode, in single window, i can with no problem start e.g. "xclock", which then appears in the cygwin-x window. But its anoying because the e.g. xclock dont have any window frames on it, so i can move it around.

So now i started "xwin" with the "-multiwindow" option (still in passive mode, i.e. no query), and now when i start e.g. "xclock" in the putty shell (using ssh tunnel), it dont open a window on the windows machine as expected! It seems like the Linux box think everything is ok, because no errormessages, and with "ps" i can see the "xclock" application is running. Also if i stop the "xwin" application on the windows machine, the Linux box (in the putty shell) replies that connection to X-host is lost, and the xclock application exits. So it seems like it somehow works from the Linux point of view, but the cygwin-x just wont open a window for the application (and no errormessages in the xwin log).

It is not enough to start xwin with the parameter "-multiwindows"?

As told the ssh tunnel work if only using single window mode. Should putty have a special setup for using multiple windows?

/JimStart Free Trial
[+][-]06.15.2005 at 02:42PM PDT, ID: 14226281

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: X-Windows Window Manager
Tags: cygwin, putty, ssh
Sign Up Now!
Solution Provided By: wesly_chen
Participating Experts: 2
Solution Grade: B
 
 
[+][-]06.16.2005 at 01:45PM PDT, ID: 14235319

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32