Warren Block wrote:
> 
> On Fri, 20 Aug 2010, Fred Boatwright wrote:
> 
> > I am having trouble setting up X similar to a previous posting.  I have
> > a new 8.0 installation.
> >
> > Using the Handbook chapter suggested below I waas able to generate and
> > edit an xorg.conf file.  It tests ok.  I generated a .xinitrc file based
> > on an example in the Handbook.  When a user runs startx the screen
> > completely blanks out.  It is possible to return to the command line
> > prompt with ctrl-alt-F1 and then ^c.  No errors are listed.  Where would
> > I look for the problem?
> 
> [please don't top-post, it makes responding more difficult]
> 
> Could you show your .xinitrc?  Also, the xorg.conf and Xorg.0.log are
> often useful.  Links to those files may be easier to post than the files
> themselves.
> 
> When you say the screen is completely blank--is there a mouse pointer?

Hello,
The screen is completely black. No mouse pointer.  When the xorg.conf
file is tested using Xorg -conf xorg.conf.new -retro I get the gray grid
and the X mouse pointer.  Without the -retro I get a totally black
screen, no mouse pointer.

.xinitrc
xrdb
xsetroot -solid gray &
xterm -geometry +0-100 &
xconsole -geometry -0+0 -fn 5x7 &
#exec olvwm   #complained about a missing font
exec fvwm

xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/OTF"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "record"
        Load  "dbe"
        Load  "glx"
        Load  "dri"
        Load  "dri2"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/sysmouse"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "HP"
        ModelName    "2009"
        ModeLine     "1600x900" 108.0 1600 1624 1704 1800 900 901 904 1000
        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     "ShadowFB"                  # [<bool>]
        #Option     "DefaultRefresh"            # [<bool>]
        #Option     "ModeSetClearScreen"        # [<bool>]
        Identifier  "Card0"
        Driver      "vesa"
        VendorName  "nVidia Corporation"
        BoardName   "NV44 [GeForce 6200 A-LE]"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth  24
#       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
                Modes     "1600x900"
        EndSubSection
EndSection


Is there is somewhere I can park the log file that you would have access
to?  I don't know of any way to provide a link to it here.

The log file has warnings that mouse and keyboard are disabled and other
places where mouse and keyboard are enabled.  However, in the test the
mouse works and the keyboard must work as I can return to the command
line prompt.  I just don't have video.

The log file says: (--) using VT number 9.  This does not exist in
/etc/ttys and I didn't find anywhere in the Handbook chapter that says
it needs to be added.

The log file generated by Xorg -configure appears to have everything
there is to know about the monitor being used.  These values were
manually put in the xorg.conf file.  However, the log file says:
(II) VESA(0): Not using mode "1600x900" (no mode of this name)
However, the xorg.conf test did work.

Best regards,
Fred
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to