Re: X Window problem

Matthieu Herrb <[email protected]>
Newsgroups gmane.os.openbsd.x11
Message-ID <[email protected]>
Stephen Liu wrote:
> Hi Matthieu,
> 
> 
>> First we need to know more about your hardware. 
> 
> Pls advise what additional information you need.
> 
>> Please send the
>> /var/log/Xorg.0.log after a failed attempt to run X (with or without
> a 
>> configuration file
> 
> Tks for reminding me to look at Xorg.0.log w/o a config file.  I found
> it needs "vesa" driver NOT "vga" driver.  Now X Window starts with
> correct resolution but the mouse pointer jumps around on screen beyond
> my control.
> 
> 
> # cat /etc/X11/xorg.conf
> Section "Module"
> 
> # This loads the DBE extension module.
> 
>     Load        "dbe"   # Double buffer extension
> 
>     SubSection  "extmod"
>       Option    "omit xfree86-dga"   # don't initialise the DGA
> extension
>     EndSubSection
> 
> # This loads the font modules
>     Load        "type1"
> #    Load        "speedo"
>     Load        "freetype"
> #    Load        "xtt"
> 
> EndSection
> 
> 
> Section "Files"
> 
>     RgbPath     "/usr/X11R6/lib/X11/rgb"
> 
>     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/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/local/"
> #    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
> #    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
> #    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"
> 
> # The module search path.  The default path is shown here.
> 
> #    ModulePath "/usr/X11R6/lib/modules"
> 
> EndSection
> 
> 
> Section "InputDevice"
> 
>     Identifier  "Keyboard1"
>     Driver      "kbd"
> 
> #    Option     "Protocol"      "Xqueue"
> 
>     Option "AutoRepeat" "500 30"
> 
> 
>     Option "XkbRules"   "xorg"
>     Option "XkbModel"   "pc101"
>     Option "XkbLayout"  "us"
> 
> EndSection
> 
> 
> Section "InputDevice"
> 
> # Identifier and driver
> 
>     Identifier  "Mouse1"
>     Driver      "mouse"
>     Option "Protocol"    "IMPS/2"       # IntelliMouse PS/2
		           ^^^^^^^
change that to "wsmouse".

>     Option "Device"      "/dev/wsmouse"
>     Option "ZAxisMapping"   "4 5"
> 
> EndSection
> 
> 
> Section "Monitor"
> 
>     Identifier  "My Monitor"
> 
>      HorizSync   31.5 - 60
> 
>      VertRefresh 56.2 - 75.1
> 
> EndSection
> 
> #
> **********************************************************************
> # Graphics device section
> #
> **********************************************************************
> 
> # Standard VGA Device:
> 
> Section "Device"
>     Identifier  "Standard VGA"
>     VendorName  "Unknown"
>     BoardName   "Unknown"
> 
> # The chipset line is optional in most cases.  It can be used to
> override
> # the driver's chipset detection, and should not normally be specified.
> 
> #   Chipset     "generic"
> 
>     Driver     "seva"
                  ^^^^^^
                  typo ?
> 
> EndSection
> 
> # Device configured by xorgconfig:
> 
> Section "Device"
>     Identifier  "My Video Card"
>     Driver      "seva"
                    ^^^^
		   Ugh ?

>     # unsupported card
>     VideoRam    16384
> EndSection
> 
> 
> Section "Screen"
>     Identifier  "Screen 1"
>     Device      "My Video Card"
>     Monitor     "My Monitor"
>     DefaultDepth 24
> 
>     Subsection "Display"
>         Depth       16
>         Modes       "1024x768"
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       24
>         Modes       "1024x768"
>         ViewPort    0 0
>     EndSubsection
> EndSection
> 
> 
> Section "ServerLayout"
> 
> # The Identifier line must be present
>     Identifier  "Simple Layout"
> 
> # Each Screen line specifies a Screen section name, and optionally
> # the relative position of other screens.  The four names after
> # primary screen name are the screens to the top, bottom, left and
> right
> # of the primary screen.  In this example, screen 2 is located to the
> # right of screen 1.
> 
>     Screen "Screen 1"
> 
> # Each InputDevice line specifies an InputDevice section name and
> # optionally some options to specify the way the device is to be
> # used.  Those options include "CorePointer", "CoreKeyboard" and
> # "SendCoreEvents".
> 
>     InputDevice "Mouse1" "CorePointer"
>     InputDevice "Keyboard1" "CoreKeyboard"
> 
> EndSection
> * end *
> 
> 
> Any advice?  TIA
> 
> 
> B.R.
> Stephen
> 
> Send instant messages to your online friends http://uk.messenger.yahoo.com 


-- 
Matthieu Herrb
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.