[rescue] Solaris 9 and colour depth
jodys at helluin.org
jodys at helluin.org
Mon Nov 25 18:28:50 CST 2002
On Sun, Nov 24, 2002 at 12:24:19AM -0500, Kevin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> In Solaris 9, how can i tell, and then in turn change,
> the colour bit depth i am running at?
>
> Thanks,
> /KRM
To tell the default visual (the visual that a program will use unless
it specifies another) use xdpyinfo. Look for the line
default visual id: 0x2a
By default Solaris uses a 8bit visual, even on 24bit framebuffers.
Below that line you'll find a list of supported visuals. Match those
up and you got the default visual.
To change that default visual you need to edit the file
/etc/dt/config/Xservers you'll need to edit the line, probably at
the bottom, that lists all the options and the binary to run, you should
make it look like this
:0 Local local_uid at console root /usr/openwin/bin/Xsun :0 -nobanner -dev /dev/fb defdepth 24
the difference being the "defdepth 24" tacked on the end. That should
do it.
Good Luck,
Jody
More information about the rescue
mailing list