[WBEL-users] Adding Gui on command-line install
Robert Heller
heller at deepsoft.com
Fri Oct 27 14:04:15 CDT 2006
At Fri, 27 Oct 2006 09:19:01 -0700 david <david at daku.org> wrote:
> As requested, I removed /etc/X11/xorg.conf. I ran the Xorg
> -configure, and here's the log.
> ==================================
>
> and here is /root/xorg.conf.new after running the -configure
>
> ==================================
>
> Section "ServerLayout"
> Identifier "X.org Configured"
> Screen 0 "Screen0" 0 0
> InputDevice "Mouse0" "CorePointer"
> InputDevice "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Files"
> RgbPath "/usr/X11R6/lib/X11/rgb"
> ModulePath "/usr/X11R6/lib/modules"
> FontPath "/usr/X11R6/lib/X11/fonts/misc/"
> FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
> FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
> FontPath "/usr/X11R6/lib/X11/fonts/CID/"
> FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
> FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
> EndSection
>
> Section "Module"
> Load "dbe"
> Load "dri"
> Load "xtrap"
> Load "record"
> Load "glx"
> Load "extmod"
> Load "freetype"
> Load "type1"
> EndSection
>
> Section "InputDevice"
> Identifier "Keyboard0"
> Driver "kbd"
> EndSection
>
> Section "InputDevice"
> Identifier "Mouse0"
> Driver "mouse"
> Option "Protocol" "auto"
> Option "Device" "/dev/mouse"
Change the above line to:
Option "Device" "/dev/input/mice"
> EndSection
>
> Section "Monitor"
> #DisplaySize 360 270 # mm
> Identifier "Monitor0"
> VendorName "VSC"
> ModelName "A90f+"
> HorizSync 30.0 - 86.0
> VertRefresh 50.0 - 150.0
> Option "DPMS"
> EndSection
>
> Section "Device"
> ### Available Driver options are:-
> ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
> ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
> ### [arg]: arg optional
> #Option "SWcursor" # [<bool>]
> #Option "HWcursor" # [<bool>]
> #Option "NoAccel" # [<bool>]
> #Option "ShadowFB" # [<bool>]
> #Option "UseFBDev" # [<bool>]
> #Option "Rotate" # [<str>]
> #Option "VideoKey" # <i>
> #Option "FlatPanel" # [<bool>]
> #Option "FPDither" # [<bool>]
> #Option "CrtcNumber" # <i>
> #Option "FPScale" # [<bool>]
> #Option "FPTweak" # <i>
> Identifier "Card0"
> Driver "nv"
> VendorName "nVidia Corporation"
> BoardName "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
> BusID "PCI:1:0:0"
> EndSection
>
> Section "Screen"
> Identifier "Screen0"
> Device "Card0"
> Monitor "Monitor0"
> SubSection "Display"
> Viewport 0 0
> Depth 1
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 4
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 8
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 15
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 16
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 24
> EndSubSection
> EndSection
And then save the file as /etc/X11/xorg.conf
Then there are two things you can then do:
1) just type 'startx' after logging in at the console. Things *might*
just work.
2) If not, make sure system-config-display is installed:
yum install system-config-display
and then run system-config-display from the console, as root.
system-config-display might behave a little better (and be more
intelligent) than raw Xorg -configure -- instead of just failing, it
will ask you about stuff it can't figure out (like the mouse).
system-config-display might behave better than raw Xorg -configure.
If system-config-display asks you what kind of video card you have, tell
it you have a nVidia type card (driver = nv) -- this is what
'Xorg -configure' detected.
--
Robert Heller -- 978-544-6933
Deepwoods Software -- Linux Installation and Administration
http://www.deepsoft.com/ -- Web Hosting, with CGI and Database
heller at deepsoft.com -- Contract Programming: C/C++, Tcl/Tk
More information about the Whitebox-users
mailing list