public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: <alexander.sahler@brodos.de>
To: <cygwin-xfree@cygwin.com>
Subject: 1.11.2.0: Avoid dialogs to pop up in the center of a two-monitor setup
Date: Mon, 28 Nov 2011 15:01:00 -0000	[thread overview]
Message-ID: <4ED3B0210200005600078789@pulsar.brodosmit.de> (raw)

I use XWin to start remote applications (debian server) on a dual-headed Windows 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.
 
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 monitors of having 1920x1080 px each. That is, the dialog is split by the monitor borders, which is very annoying. 
 
After some investigation I read about the xinerama extension, which should solve this problem.
So I tried to start XWin this way:
 
XWin +xinerama -screen 0 @1 -rootless -screen 1 @2 -rootless
 
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 xinerama. But I don't have a Window manager that's decorating the windows! OK, 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 Window's window manager, they are not displayed at the task bar. So I have to start a panel on the server side as well (gnome panel for instance).
 
I would prefer to use the xwinwm locally (by running DISPLAY=:0.0 xwinwm in a second bash), but this doesn't work. Xwinwm tells me:
 
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
 
and the decoration is not painted.
 
I tried different things:
 
XWin +xinerama -multiwindow -screen 0 @1 -screen 1 @2 
 
ends up with all remote applications displayed *twice* - one time with borders, the other one without!
 
Is there a solution to this? Did anyone have the same problems?
 
Thanks,  Alexander.
 


--
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/


             reply	other threads:[~2011-11-28 15:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-28 15:01 alexander.sahler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-11-28 12:57 alexander.sahler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ED3B0210200005600078789@pulsar.brodosmit.de \
    --to=alexander.sahler@brodos.de \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).