Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <433A7808.5020807@cystar.cn> Date: Wed, 28 Sep 2005 19:01:28 +0800 From: Bobber Cheng User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: Alexander Gottwald Cc: Bobber Cheng , cygwin AT cygwin DOT com, cygwin-xfree AT cygwin DOT com Subject: Re: a feathiable solution displaying Windows program on Linux via ssh / X? References: <433275B4 DOT 20300 AT cystar DOT cn> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Hi, ago I use CYGWIN_NT-5.1 with gcc 3.4.4 to compile cygpeace-0.0.0. tut it failed with error: ./configure ..... ./make ... dll/ui.so/X11.cc: In member function `virtual HWND__* X11::GetForegroundWindow() ': dll/ui.so/X11.cc:295: error: invalid conversion from `uint32_t*' to `UINT*' dll/ui.so/X11.cc:295: error: initializing argument 2 of `virtual HWND__** X11: :GetChildWindowHandles(Window, UINT*)' Bests, Bobber Cheng Alexander Gottwald wrote: >On Thu, 22 Sep 2005, Bobber Cheng wrote: > > > >>Had anyone found a feathiable solution displaying Windows program on >>Linux via ssh / X? If the answser is no, i beg X gurus to give me any >>advice how to implement it. Wine and VNC are not my choice. >> >> > >An alternative to Terminal client or cytrix is rdesktop. But besides that >there is no working solution to wrap windows programs with X11. You might >want to take a look at cygpeace which is not much more than a prove of >concept which allowed to export winmine over x11. > >http://www.freedesktop.org/~ago/cygpeace/ > >Before begging X gurus (which btw is the wrong group to ask) you should >check the win32-x11 archives http://sourceware.org/ml/win32-x11/ starting >with July - September, 2002 until July - September, 2004. Some techniques >for wrapping and redirecting windows GDI calls to X11 were discussed there >but most of the initial activity vaporized after few months. > >Basicly there are a few ways which might work: > >- build a display driver which uses X11 as backend > x11_drv from wine might provide the conversion to X11 calls >- wrap GDI calls from applications with own, X11 aware implementations > cygpeace aproach >- Check how Terminal Client works and implement a backend which uses X11 > instead of RDP > >bye > ago >BTW: Use rdesktop. > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/