]> Agilo's Weblog
Aku.  Soku.  Zan.Saito Hajime
(Add a new entry)  

Sunday, June 20 2004, 10:18PM

Solaris color depth fixed!

Finally I've fixed the color depth from 256 colors to 16 million colors.

The manuals I read were wrong!
The manual said I should change the "defdepth" switch in the /etc/openwin/server/etc/OWconfig file to 24 or 32 for a higher color depth.
I knew it was that switch I needed to change, but changing it to 24 and 32 always crashed X, instead of fixing it.
Until now, it was reasonably okay with the colors being at 256, but now I'd had it, and I boldly put "16" in there to see what'd happen, and that fixed it!

I've also learned how to mount my CD-ROM and DVD writer.
It's really weird in Solaris, so I'm going to put a few lines here for reference:

iostat -En
/etc/init.d/volmgt stop
prtvtoc /dev/rdsk/c1t1d0p0
prtvtoc /dev/rdsk/c1t0d0p0
mount -r -F hsfs /dev/dsk/c1t1d0s2 /cdrom/new
mount -r -F hsfs /dev/dsk/c1t0d0s2 /cdrom/new#1


PermaLink  |  Edit