Rajnish Tiwari wrote:
> 
> Hello Folks,
> 
>         Firstly, thanks a million to everyone for their
>         assistance regarding my fat32 and lilo question (earlier).
> 
>         I have slowly but surely installed Xfree86 and got
>         it running properly at 1024x768.
> 
>         Is there a way to determine what colour depth X-Windows
>         is running at?? If it is not running at a desired colour
>         depth, then is there a way to force it use a particular depth ??
>         (I have configured xdm to run at startup).
> 
>         Thanks in advance.
> 
> Regards,
> Rajnish


startx -- -bpp [16|24|32]  

from the commandline one of these numbers will change the colour depth.
So long as that
colour depth is configured in /etc/XF86Config (or whereever your X
config is)

When you're running X,  from an xterm run  xdpyinfo  it'll pop up some
text showing you
what X is doing :) Colour depths etc etc.

And if you want to make xdm fire up in more than 8 bit colour go edit 
/usr/X11R6/lib/X11/xdm/Xservers it will have a line similar to this:

:0 local /usr/X11R6/bin/X

just change it to be:

:0 local /usr/X11R6/bin/X -bpp 16

Et Viola! :o)

Good luck :)

oh, p.s. Check that your Colour depth WORKS from command line first.
i.e. use startx -- -bpp 16
to test it.. if you don't get it right xdm will sit there and bounce not
being able to load.

cya

-- 
Andrew Whyte - Systems Administrator
  *      Net Services Australia
      *  P.O.Box 270
*    .   Homebush South NSW 2040
         Ph  : +61 2 9564 1881
         Fax : +61 2 9568 6605
     *   http://www.nsa.net.au
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to