This site is 100% Micro$oft-free -- no Micro$oft products of any kind were used to create or serve these pages.

Using Multiple Monitors / Frame Buffers on a SUN Ultra Workstation

Using Multiple monitors is a nice way to get more screen real estate.. If you have a SUN Ultra30 or 60, they can take two grafics cards .. so you need one extra grafics card, to connect two monitors at 1280x1024 resolution.

If you have an Ultra10, you're SOL - but you can use the grafic card on the motherboard with 1152x900 and the plugged-in one with 1280x1024 resolution.

You need to modify one line in the file /usr/dt/config/Xservers. The end of that file should look like this if you want to use two monitors / grafics cards:

# the following line is what's the default for Solaris 2.8 - we comment that one out!

#   :0  Local local_uid@console root /usr/openwin/bin/Xsun :0 -nobanner

# for two monitors / frame buffers we could use the following line, to use Xinerama support!  

#   :0   Local local_uid@console root /usr/openwin/bin/Xsun :0  -nobanner  +xinerama  -dev /dev/fb0 -dev /dev/fb1

# to make sure that you get the color depth you want, you should specify it in this file, as an argument to Xsun!
# see:   man Xsun   for all possible options (there are a lot! e.g. you can place your monitors left/righ/up/down)

    :0  Local local_uid@console root /usr/openwin/bin/Xsun :0  -nobanner -clients 1024 -dev /dev/fb0  defdepth 24 -dev /dev/fb1 defdepth 8 



The two displays will be called :0.0 and :0.1 and ordered left to right. You can also specify that the monitors are arranged differently.. see man Xsun!

You can also change the pixel resolutions of the displays and the color depth of each display -- See man Xsun and the modifiers for -dev

Now just switch to a runlevel without X and go back to runlevel 5 and both Monitors should work fine. You will be able to move the mouse between the two screens. I use Fvwm - one fvwm is started for each screen / frame buffer automatically.

Please contact me if you know of a window manager, which can handle moving windows betweens frame buffers / screens. Yeah - MacOS had this 10 years ago - sigh.

See also: Multiple Monitors on a System a section in the SUN answerbook

See also: Solaris Handbook for SUN Frame Buffers

See also: Getting Rid of CDE and Using Fvwm on a SUN Ultra Workstation

See also: Getting higher resolutions on a SUN Ultra Workstation


Maintainer: Tilo Sloboda unix@unixgods.org
last update: $Revision: 1.4 $ / $Date: 2003/09/08 20:28:27 $