From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1060 invoked by alias); 28 Nov 2011 15:01:21 -0000 Received: (qmail 1046 invoked by uid 22791); 28 Nov 2011 15:01:19 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.brodos.de (HELO mail.brodos.de) (194.153.150.18) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 Nov 2011 15:01:02 +0000 Received: from ASSP.nospam (localhost [127.0.0.1]) by mail.brodos.de (Postfix) with ESMTP id 1F4792F6086 for ; Mon, 28 Nov 2011 15:01:01 +0000 (UTC) Message-Id: <4ED3B0210200005600078789@pulsar.brodosmit.de> Date: Mon, 28 Nov 2011 15:01:00 -0000 From: To: Subject: 1.11.2.0: Avoid dialogs to pop up in the center of a two-monitor setup Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2011-11/txt/msg00044.txt.bz2 I use XWin to start remote applications (debian server) on a dual-headed Wi= ndows desktop environment. The login is done using putty with X forwarding enabled, as the server does= not provide Xdmcp, the reason for which is out of scope here. =20 When I start netbeans (for instance) the scplash screen and all dialogs are= centered on the display :0 which is of size 3840x1080 because of the two m= onitors of having 1920x1080 px each. That is, the dialog is split by the mo= nitor borders, which is very annoying.=20 =20 After some investigation I read about the xinerama extension, which should = solve this problem. So I tried to start XWin this way: =20 XWin +xinerama -screen 0 @1 -rootless -screen 1 @2 -rootless =20 With this configuration the Server is able to place the dialogs correctly, = that is, in the center of a monitor (not the whole workspace) - thanks to x= inerama. But I don't have a Window manager that's decorating the windows! O= K, I can start a window manager on the server side - that works for sure - = but what if I minimize a window? For the windows aren't managed by the Wind= ow's window manager, they are not displayed at the task bar. So I have to s= tart a panel on the server side as well (gnome panel for instance). =20 I would prefer to use the xwinwm locally (by running DISPLAY=3D:0.0 xwinwm = in a second bash), but this doesn't work. Xwinwm tells me: =20 Xlib: extension "Windows-WM" missing on display ":0.0". BScreen::BScreen: managing screen 0 using visual 0x21, depth 24 Xlib: extension "Windows-WM" missing on display ":0.0". Xlib: extension "Windows-WM" missing on display ":0.0". Xlib: extension "Windows-WM" missing on display ":0.0". Xlib: extension "Windows-WM" missing on display ":0.0". Xlib: extension "Windows-WM" missing on display ":0.0". void* BlackboxWindow::getHWnd(void) - XGetWindowProperty failed. 0 0 0 0 0 =20 and the decoration is not painted. =20 I tried different things: =20 XWin +xinerama -multiwindow -screen 0 @1 -screen 1 @2=20 =20 ends up with all remote applications displayed *twice* - one time with bord= ers, the other one without! =20 Is there a solution to this? Did anyone have the same problems? =20 Thanks, Alexander. =20 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/