[ale] Xdm startup question

Ev jemcdevitt at mindspring.com
Wed Jul 22 19:12:46 EDT 1998


In you XF86Config file (/etc/X11/XF86Config) add the following to your
Screen section (note there may be multiple Screen sections, be sure to
choose the one that actually is used when you start up X)

	DefaultColorDepth  16

That will always try to put X in 16 bit mode.  Here is the relevant
section from my XF86Config.

Section "Screen"
    Driver      "svga"
    # Use Device "Generic VGA" for Standard VGA 320x200x256
    #Device      "Generic VGA"
    Device      "GD 5446"
    Monitor     "My Monitor"
    DefaultColorDepth 16
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600"
        ViewPort    0 0
        Virtual     1024 768
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "800x600" "1024x768"
        ViewPort    0 0
        Virtual     800 600
    EndSubsection
EndSection
 

Good luck,

JEM

On Mon, 20 Jul 1998, John M. Mills wrote:
>I am running RH4.2 and XFree86-3.3.1.
>
>I would like to change the default color depth when my system starts at
>runlevel 5, running 'xdm'.  If I start X manually, I could do something
>like:
>% startx -- -bpp 16
>
>How do I tell 'init' or 'xdm' to start with an option like this?
>
>TIA - jmm
>
>  John M. Mills, Senior Research Engineer -- john.mills at gtri.gatech.edu
>  Georgia Tech Research Institute, Georgia Tech, Atlanta, GA 30332-0834
>        Phone contacts: 404.894.0151 (voice), 404.894.6285 (FAX)
>         "The cardinal virtues of a programmer are Laziness,
>            Impatience, and Hubris." -- attr. Larry Wall






More information about the Ale mailing list