SUMMARY(2): OpenWindows, two (2) heads (monitors), and CDE

From: Seth Rothenberg (SROTHENB@montefiore.org)
Date: Mon Jul 27 1998 - 11:04:13 CDT


I asked if anyone has experience using two
monitors on one Solaris server under Openwindows
or under CDE. This second summary has more
Replies - and the details I left out the 1st time.

Thanks to all who responded:
Ronald Loftin <reloftin@syr.edu>
Brett Lymn <blymn@baea.com.au> (See below)
Brandon K. Devlin <bdevlin@emu.logicon.com>
James Wendling <jbwendl@bnpcn.com>
John DiMarco <jdd@cs.toronto.edu>
John Keeton <j.e.keeton@larc.nasa.gov> (see below)
Max Trummer <max@sequana.com>
Noah Alvarez <alvarez@rsc.osan.af.mil>
James Noad <jehn@larynx.shef.ac.uk> (see below)
Stefan Voss <s.voss@terradata.de>
Also, SUNSolve (see below)

Seth Rothenberg
Datagate Interface Hub Team
Montefiore Medical Center
Bronx, NY
PS I will post again after installation if I have
any surprises
-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+
John Keeton <j.e.keeton@larc.nasa.gov>
gave me details on configuring openwin or CDE
and in particular who pointed out that

"Thing is, you have 2 panes, you can't have a
single window that goes across both screens :(
You can't move windows from screen to screen
either.. "

This means I will have to set up 2 instances
of the same GUI, one in each pane. (it's a pain:-(
Ironically, I had wanted one pane, but my boss
had assumed all along that we use 2 processes,
so two panes are fine for that.

"To make it work:
cp the file /usr/dt/config/Xservers to /etc/dt/config/Xservers
then add something like the following to the end:

   :0 Local local_uid@console root /usr/openwin/bin/Xsun -dev /dev/fb0
top -dev /dev/fb1 bottom

Restart X and everything should be GREAT! :) "

John also pointed me to www.x-software.com,
a company providing a variety of X middleware
products that allow panning, record, playback,
fault tolerance amoung X sessions. However,
they do not appear to provide a single virtual
desktop which I had asked about.
-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+
Brett Lymn <blymn@baea.com.au>
gave me instructions for Openwin:

$OPENWINHOME/bin/openwin -dev /dev/cgsix0 -dev /dev/cgthree0 left

The Xsun gives you all the options that you can have for positioning
the monitor(s) in relation to the others.
-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+
"James Noad <jehn@larynx.shef.ac.uk>
You might care to look at the X11R6.4 page:
   http://www.camb.opengroup.org/x/

The XINERAMA feature might fit your requirements."

I found this: http://www.opengroup.org/comm/press/31mar98.htm

"Xinerama* - Permits a multi-headed system to function as one large
screen. Applications can also be ˇdragged˘ between screens. "

-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+-=+
A SUNSolve engineer sent me two Sun infodocs
which I summarize below:
INFODOC ID: 17131

openwin -dev /dev/fb0 -dev /dev/fb1 -dev /dev/fb2

By default they are ordered left to right;
to change the order you can use the keywords left,
right, top or bottom. Examples:

openwin -dev /dev/fb0 -dev /dev/fb1 left
openwin -dev /dev/fb0 -dev /dev/fb1 bottom
#################################
INFODOC ID: 11669
1. copy /usr/dt/config/Xservers to /etc/dt/config/Xservers

and copy /usr/dt/config/Xconfig to /etc/dt/config/Xconfig

2. In the copy, change the line that reads:
 :0 Local local@console /usr/openwin/bin/Xsun :0
to
 :0 Local local@console /usr/openwin/bin/Xsun :0 -dev /dev/fb0 -dev
/dev/fb1

Refer to the "Xsun" manual page for more info

3. Change the line in /etc/dt/config/Xconfig that reads:
 
Dtlogin.servers: /usr/dt/config/Xservers

Dtlogin.servers: /etc/dt/config/Xservers

4. Add the following two lines to your $HOME/.Xdefaults
 
   dtsession*wmStartupCommand: /usr/dt/bin/dtwm -multiscreen
   Dtwm*multiScreen: True
###############################



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:44 CDT