[comp.windows.x] Running Xserver in monochrome

razdan@chanakya.oakhill.uucp (Anshuman Razdan) (02/20/90)

I have a question regarding running the Xserver in mono mode.
I have a sun 3/470 with cgsix.  I am desingnig an application
that is to bbe used both for color and monochrome workstations.
With the grace of my boss and his boss and so on, we in the group
have color sun workstations.  And some of our users(albeit poor ones)
have monochrome w/s.  I read the man pages of Xsun and X and it
appears that the Xsun would only work in mono mode if one has cgtwo or cgfour
devices.  Is that the only way to do it.  I have to borrow my users machine(s)
to testout the product because I cannot run the Xserver in the mono mode.
Would the Guru's please direct me to a solution if one exists.  

Thanks not only from me but also from the users whose m/c I borrow.

Anshuman Razdan
Sector CAD
Motorola, Austin

oakhill!chanakya!razdan@cs.utexas.edu

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (02/20/90)

    I read the man pages of Xsun and X and it
    appears that the Xsun would only work in mono mode if one has cgtwo or cgfour
    devices.

The cgtwo should be a color display, although you can force it to run in
monochrome mode using the -mono switch to the server.  The cgfour runs
in a "dual screen" mode; it has both a mono and a color screen, with only
one "appearing" at a given time.  The R3 MIT server made the mono screen
the default, the R4 MIT server makes the color screen the default (although
you can give it the -mono switch to revert to the R3 behavior).

    Is that the only way to do it.

There is no option to turn the cgsix into a "monochrome" screen, sorry.
If you want a crude approximation you can try running the R4 server with
"-cc 0", which will make the default visual a StaticGray one (albeit one
with more than two colormap entries).