[Newbie]xdm wont start correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello folks

i cant get xdm to run properly on a host which serves for a couple of
xterms. previously, i was running 3.3.6 and had no problem. however when i
upgraded to 4.2.0, xdm freaks out and keeps trying to redraw screens on
the server machine, never getting past the stippled background before
switching modes and trying again. i can see that the process is running,
and xdmcp is
listening on udp 177, but the xterms cant find it when they broadcast for
clients. when i run "startx" or just "X" on the central host machine,
everything works fine: i get a session, kde will start (or whatever other x program i
like), etc.

the machine is a freebsd 4.6-RC box, fairly old hardware and a pretty
generic video setup.

from dmesg:

FreeBSD 4.6-RC #4: Tue Jun  4 11:57:43 PDT 2002
    jeff@filer:/usr/src/sys/compile/FILER
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU)

...

pci1: <PCI bus> on pcib2
pci1: <SiS 530/620 SVGA controller> at 0.0 irq 10atkbdc0: <Keyboard
controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3

...

vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>

...

also after running xdm, this shows up in messages (im assuming its
related to the mouse):

psmintr: out of sync (0000 != 0008).
psmintr: discard a byte (1).


from /var/log/xdm-error:

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: FreeBSD 4.6-RC i386 [ELF]
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Jun  6 11:18:10 2002
(==) Using config file: "/etc/X11/XF86Config-4"
(EE) SIS(0): [dri] DRIScreenInit failed.  Disabling DRI.
X Error of failed request:  BadDrawable (invalid Pixmap or Window
parameter)
  Major opcode of failed request:  14 (X_GetGeometry)
  Resource id in failed request:  0x0
  Serial number of failed request:  59
  Current serial number in output stream:  59
X Error of failed request:  BadDrawable (invalid Pixmap or Window
parameter)
  Major opcode of failed request:  14 (X_GetGeometry)
  Resource id in failed request:  0x0
  Serial number of failed request:  59
  Current serial number in output stream:  59
X Error of failed request:  BadDrawable (invalid Pixmap or Window
parameter)
  Major opcode of failed request:  14 (X_GetGeometry)
  Resource id in failed request:  0x0
  Serial number of failed request:  59
  Current serial number in output stream:  59
xdm error (pid 11469): IO Error in XOpenDisplay
xdm error (pid 5818): Display :0 cannot be opened

and a snippet from XFree86.log:

(II) SIS(0): [drm] drmOpen failed
(EE) SIS(0): [dri] DRIScreenInit failed.  Disabling DRI.
(II) SIS(0): direct rendering disabled

and the /etc/X11/XF86Config-4 file:

Section "ServerLayout"
        Identifier     "XFree86 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/Speedo/"
        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  "extmod"
        Load  "glx"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "speedo"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/mouse"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
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     "PciRetry"                  # [<bool>]
        #Option     "rgbbits"                   # <i>
        #Option     "NoAccel"                   # [<bool>]
        #Option     "TurboQueue"                # [<bool>]
        #Option     "SetMClk"                   # <freq>
        #Option     "FastVram"                  # [<bool>]
        #Option     "ForceCRT2Type"             # [<str>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "NoXvideo"                  # [<bool>]
        #Option     "Vesa"                      # [<bool>]
        #Option     "MaxXFBMem"                 # <i>
        Identifier  "Card0"
        Driver      "sis"
        VendorName  "SiS"
        BoardName   "530"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Depth     1
        EndSubSection
        SubSection "Display"
                Depth     4
        EndSubSection
        SubSection "Display"
                Depth     8
        EndSubSection
        SubSection "Display"
                Depth     15
        EndSubSection
        SubSection "Display"
               Depth     16
        EndSubSection
        SubSection "Display"
                Depth     24
        EndSubSection
EndSection

thanks very much for whatever help is available. im at a bit of a loss,
not being much of an X-pert.

jeff garnand

jeff@2inches.com




[Index of Archives]     [XFree86]     [Xfree86 Xpert]     [X.org]     [IETF Annouce]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Picture Sharing]     [Linux Security]     [Linux RAID]

  Powered by Linux