On Thu, 20 May 2010 20:53:46 PDT Jonathan Chan <jonatha...@icebrg.us> wrote:
> Hi! > I am encountering a very strange problem with OpenSolaris build 134. > > I have managed to set up a dual monitor system, but I can't drag windows from > the main screen to the secondary screen, past a certain point. > > After I reach the point where there is about 100px width of window left to > drag, I can't drag any further. > > Attempting to maximize the window causes it to fill up part of the screen, > and to overlap into the other screen. > > Does anyone know why this might be happening? Sounds like you have two issues: 1) The X "screen" isn't as big as your two screens side by side. You can check this with xrandr. Do "xrandr -q". The first line should look like: Screen 0: minimum 320 x 200, current 3840 x 1200, maximum 3840 x 1200 The current should be the size you're seeing, missing that last 100 pixels. The maximum may allow more height, but not more width. The maximum gets allocated when X starts, and can't be increased once it's started. Look in /var/log/Xorg.0.log for the line "Start of built-in configuration". If you find it, then copy and paste the built-in configuration to /etc/X11/xorg.conf. Restart X, and make sure everything is working as well as it was before, and that the new /var/log/Xorg.0.log file says 'Using config file "/etc/X11/xorg.conf"' If you don't find the built-in configuration information, you should find the line about 'Using config file "..."'. X looks in a number of places, so it may not be /etc/X11/xorg.conf. The next step is to edit the the config file that X is using. near the bottom, you should find 'Section "ServerLayout"'. There are a set of lines that look like 'Screen "...."' in that section. grep for Screen in /var/log/Xorg.0.log, and figure out which one of those Screen's you are actually using. If there's only on Screen in the ServerLayout section, it's that one. Finally, the fix: There are one or more 'Section "Screen"' sections in the xorg.conf file. Each should have an Identifier line that matches the Screen lines in the ServerLayout section. You want to add SubSection "Display" Virtual 3840 1200 EndSubSection Inside that screen section, like so: Section "Screen" Identifier "ATI Screen" Device "ATI Device" SubSection "Display" Virtual 3840 1200 EndSubSection EndSection The 3840 and 1200 are for my side-by-side 1920x1200 monitors; You should use the size of the virtual screen that covers your two monitors. If the bit depth comes out wrong, you can set it in the "Display" Subsection by adding "Depth XX" (i.e. - 24 for a 24-bit truecolor screen) like so: Section "Screen" Identifier "ATI Screen" Device "ATI Device" SubSection "Display" Depth 24 Virtual 3840 1200 EndSubSection EndSection 2) Sounds like your window manager doesn't recognize the xinerama and/or Xrandr extension, otherwise it would maximize to the monitor size instead of the virtual screen size. Check /var/log/Xorg.0.log to make sure that both are enabled (Xinerama is obsolete, replaced by Xrandr, but Xrandr servers handle Xinerama queries for backwards compatibility), to make sure your wm has the best chance possible of knowing that you have dual monitors. <mike -- Mike Meyer <m...@mired.org> http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O< ascii ribbon campaign - stop html mail - www.asciiribbon.org _______________________________________________ opensolaris-help mailing list opensolaris-help@opensolaris.org