gdm start durch init nicht möglich

KDE, Gnome, Windowmanager, X11, Grafiktreiber und alles was dazu notwendig ist. Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
redmineto
Beiträge: 12
Registriert: 07.04.2003 06:56:22
Wohnort: Wien-Umgebung

gdm start durch init nicht möglich

Beitrag von redmineto » 01.05.2003 19:47:10

hallo,

ich poste einfach mal XFree.log und erkläre euch was für probs ich hab und wie ich sie derweil umgehe.

Code: Alles auswählen

XFree86 Version 4.2.1 (Debian 4.2.1-3 20021019202935 blochedu@linda.rhrk.uni-kl.de) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 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: Linux 2.4.19 i686 [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 May  1 21:37:30 2003
(==) Using config file: "/etc/X11/XF86Config-4"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Generic Monitor"
(**) |   |-->Device "Kyro"
(**) |-->Input Device "Generic Keyboard"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc104"
(**) XKB: model: "pc104"
(**) Option "XkbLayout" "de"
(**) XKB: layout: "de"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "Generic Mouse"
(WW) The directory "/usr/lib/X11/fonts/cyrillic" does not exist.
	Entry deleted from font path.
(**) FontPath set to "unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(++) using VT number 7

(II) Open APM successful
(II) Module ABI versions:
	XFree86 ANSI C Emulation: 0.1
	XFree86 Video Driver: 0.5
	XFree86 XInput driver : 0.3
	XFree86 Server Extension : 0.1
	XFree86 Font Renderer : 0.3
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.5
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1106,3099 card 1043,8064 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1106,b099 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:0d:0: chip 1102,0002 card 1102,8061 rev 07 class 04,01,00 hdr 80
(II) PCI: 00:0d:1: chip 1102,7002 card 1102,0020 rev 07 class 09,80,00 hdr 80
(II) PCI: 00:0e:0: chip 109e,036e card 11bd,0012 rev 11 class 04,00,00 hdr 80
(II) PCI: 00:0e:1: chip 109e,0878 card 11bd,0012 rev 11 class 04,80,00 hdr 80
(II) PCI: 00:0f:0: chip 10ec,8139 card 10ec,8139 rev 10 class 02,00,00 hdr 00
(II) PCI: 00:10:0: chip 10ec,8139 card 10ec,8139 rev 10 class 02,00,00 hdr 00
(II) PCI: 00:11:0: chip 1106,3074 card 1043,8052 rev 00 class 06,01,00 hdr 80
(II) PCI: 00:11:1: chip 1106,0571 card 0000,0000 rev 06 class 01,01,8a hdr 00
(II) PCI: 01:00:0: chip 104a,0010 card 1681,0028 rev 01 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.5
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) PCI-to-ISA bridge:
(II) PCI-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
	[0] -1 0	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
	[0] -1 0	0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
	[0] -1 0	0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 1 I/O range:
	[0] -1 0	0x0000d000 - 0x0000dfff (0x1000) IX[B]
(II) Bus 1 non-prefetchable memory range:
	[0] -1 0	0xec000000 - 0xec0fffff (0x100000) MX[B]
(II) Bus 1 prefetchable memory range:
	[0] -1 0	0xf7700000 - 0xfbffffff (0x4900000) MX[B]
(II) Bus -1: bridge is at (0:17:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus -1 I/O range:
(II) Bus -1 non-prefetchable memory range:
(II) Bus -1 prefetchable memory range:
(--) PCI: (0:14:0) BrookTree unknown chipset (0x036e) rev 17, Mem @ 0xf6800000/12
(--) PCI:*(1:0:0) SGS-Thomson unknown chipset (0x0010) rev 1, Mem @ 0xf8000000/26, 0xf7800000/19, I/O @ 0xd800/8, BIOS @ 0xf77e0000/17
(II) Addressable bus resource ranges are
	[0] -1 0	0x00000000 - 0xffffffff (0x0) MX[B]
	[1] -1 0	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
	[0] -1 0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1 0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1 0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1 0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1 0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1 0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[6] -1 0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
	[0] -1 0	0xf4800000 - 0xf48000ff (0x100) MX[B]
	[1] -1 0	0xf5000000 - 0xf50000ff (0x100) MX[B]
	[2] -1 0	0xf6000000 - 0xf6000fff (0x1000) MX[B]
	[3] -1 0	0xf0000000 - 0xf1ffffff (0x2000000) MX[B]
	[4] -1 0	0xf77e0000 - 0xf77fffff (0x20000) MX[B](B)
	[5] -1 0	0xf7800000 - 0xf787ffff (0x80000) MX[B](B)
	[6] -1 0	0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
	[7] -1 0	0xf6800000 - 0xf6800fff (0x1000) MX[B](B)
	[8] -1 0	0x0000a400 - 0x0000a40f (0x10) IX[B]
	[9] -1 0	0x0000a800 - 0x0000a8ff (0x100) IX[B]
	[10] -1 0	0x0000b000 - 0x0000b0ff (0x100) IX[B]
	[11] -1 0	0x0000b400 - 0x0000b407 (0x8) IX[B]
	[12] -1 0	0x0000b800 - 0x0000b81f (0x20) IX[B]
	[13] -1 0	0x0000d800 - 0x0000d8ff (0x100) IX[B](B)
(II) Active PCI resource ranges after removing overlaps:
	[0] -1 0	0xf4800000 - 0xf48000ff (0x100) MX[B]
	[1] -1 0	0xf5000000 - 0xf50000ff (0x100) MX[B]
	[2] -1 0	0xf6000000 - 0xf6000fff (0x1000) MX[B]
	[3] -1 0	0xf0000000 - 0xf1ffffff (0x2000000) MX[B]
	[4] -1 0	0xf77e0000 - 0xf77fffff (0x20000) MX[B](B)
	[5] -1 0	0xf7800000 - 0xf787ffff (0x80000) MX[B](B)
	[6] -1 0	0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
	[7] -1 0	0xf6800000 - 0xf6800fff (0x1000) MX[B](B)
	[8] -1 0	0x0000a400 - 0x0000a40f (0x10) IX[B]
	[9] -1 0	0x0000a800 - 0x0000a8ff (0x100) IX[B]
	[10] -1 0	0x0000b000 - 0x0000b0ff (0x100) IX[B]
	[11] -1 0	0x0000b400 - 0x0000b407 (0x8) IX[B]
	[12] -1 0	0x0000b800 - 0x0000b81f (0x20) IX[B]
	[13] -1 0	0x0000d800 - 0x0000d8ff (0x100) IX[B](B)
(II) OS-reported resource ranges after removing overlaps with PCI:
	[0] -1 0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1 0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1 0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1 0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1 0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1 0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[6] -1 0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
	[0] -1 0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[1] -1 0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[2] -1 0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[3] -1 0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[4] -1 0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[5] -1 0	0xf4800000 - 0xf48000ff (0x100) MX[B]
	[6] -1 0	0xf5000000 - 0xf50000ff (0x100) MX[B]
	[7] -1 0	0xf6000000 - 0xf6000fff (0x1000) MX[B]
	[8] -1 0	0xf0000000 - 0xf1ffffff (0x2000000) MX[B]
	[9] -1 0	0xf77e0000 - 0xf77fffff (0x20000) MX[B](B)
	[10] -1 0	0xf7800000 - 0xf787ffff (0x80000) MX[B](B)
	[11] -1 0	0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
	[12] -1 0	0xf6800000 - 0xf6800fff (0x1000) MX[B](B)
	[13] -1 0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[14] -1 0	0x00000000 - 0x000000ff (0x100) IX[B]
	[15] -1 0	0x0000a400 - 0x0000a40f (0x10) IX[B]
	[16] -1 0	0x0000a800 - 0x0000a8ff (0x100) IX[B]
	[17] -1 0	0x0000b000 - 0x0000b0ff (0x100) IX[B]
	[18] -1 0	0x0000b400 - 0x0000b407 (0x8) IX[B]
	[19] -1 0	0x0000b800 - 0x0000b81f (0x20) IX[B]
	[20] -1 0	0x0000d800 - 0x0000d8ff (0x100) IX[B](B)
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) LoadModule: "bitmap"
(II) Reloading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Loading font Bitmap
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.5
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension XFree86-DRI
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 1.1.10
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font FreeType
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Reloading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Loading extension GLX
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.5
(II) LoadModule: "record"
(II) Loading /usr/X11R6/lib/modules/extensions/librecord.a
(II) Module record: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 1.13.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension RECORD
(II) LoadModule: "speedo"
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
(II) Module speedo: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 1.0.1
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Speedo
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 1.0.1
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.5
(II) LoadModule: "powervr"
(II) Loading /usr/X11R6/lib/modules/drivers/powervr_drv.o
(II) Module powervr: vendor="Imagination Techologies, Ltd"
	compiled for 4.1.0, module version = 1.0.0
	Module class: XFree86 Video Driver
	ABI class: XFree86 Video Driver, version 0.4
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 1.0.0
	Module class: XFree86 XInput Driver
	ABI class: XFree86 XInput driver, version 0.3
(II) POWERVR: driver for PowerVR chipsets: PowerVR Kyro
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(--) Chipset PowerVR Kyro found
(II) resource ranges after xf86ClaimFixedResources() call:
	[0] 0 0	0x000b8000 - 0x000bffff (0x8000) MX[B]
	[1] 0 0	0x000b0000 - 0x000b7fff (0x8000) MX[B]
	[2] 0 0	0x000a0000 - 0x000affff (0x10000) MX[B]
	[3] -1 0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[4] -1 0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[5] -1 0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[6] -1 0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[7] -1 0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[8] -1 0	0xf4800000 - 0xf48000ff (0x100) MX[B]
	[9] -1 0	0xf5000000 - 0xf50000ff (0x100) MX[B]
	[10] -1 0	0xf6000000 - 0xf6000fff (0x1000) MX[B]
	[11] -1 0	0xf0000000 - 0xf1ffffff (0x2000000) MX[B]
	[12] -1 0	0xf77e0000 - 0xf77fffff (0x20000) MX[B](B)
	[13] -1 0	0xf7800000 - 0xf787ffff (0x80000) MX[B](B)
	[14] -1 0	0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
	[15] -1 0	0xf6800000 - 0xf6800fff (0x1000) MX[B](B)
	[16] 0 0	0x000003c0 - 0x000003df (0x20) IX[B]
	[17] 0 0	0x000003b0 - 0x000003bb (0xc) IX[B]
	[18] -1 0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[19] -1 0	0x00000000 - 0x000000ff (0x100) IX[B]
	[20] -1 0	0x0000a400 - 0x0000a40f (0x10) IX[B]
	[21] -1 0	0x0000a800 - 0x0000a8ff (0x100) IX[B]
	[22] -1 0	0x0000b000 - 0x0000b0ff (0x100) IX[B]
	[23] -1 0	0x0000b400 - 0x0000b407 (0x8) IX[B]
	[24] -1 0	0x0000b800 - 0x0000b81f (0x20) IX[B]
	[25] -1 0	0x0000d800 - 0x0000d8ff (0x100) IX[B](B)
(II) resource ranges after probing:
	[0] 0 0	0x000b8000 - 0x000bffff (0x8000) MX[B]
	[1] 0 0	0x000b0000 - 0x000b7fff (0x8000) MX[B]
	[2] 0 0	0x000a0000 - 0x000affff (0x10000) MX[B]
	[3] -1 0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[4] -1 0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[5] -1 0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[6] -1 0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[7] -1 0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[8] -1 0	0xf4800000 - 0xf48000ff (0x100) MX[B]
	[9] -1 0	0xf5000000 - 0xf50000ff (0x100) MX[B]
	[10] -1 0	0xf6000000 - 0xf6000fff (0x1000) MX[B]
	[11] -1 0	0xf0000000 - 0xf1ffffff (0x2000000) MX[B]
	[12] -1 0	0xf77e0000 - 0xf77fffff (0x20000) MX[B](B)
	[13] -1 0	0xf7800000 - 0xf787ffff (0x80000) MX[B](B)
	[14] -1 0	0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
	[15] -1 0	0xf6800000 - 0xf6800fff (0x1000) MX[B](B)
	[16] 0 0	0x000003c0 - 0x000003df (0x20) IX[B]
	[17] 0 0	0x000003b0 - 0x000003bb (0xc) IX[B]
	[18] -1 0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[19] -1 0	0x00000000 - 0x000000ff (0x100) IX[B]
	[20] -1 0	0x0000a400 - 0x0000a40f (0x10) IX[B]
	[21] -1 0	0x0000a800 - 0x0000a8ff (0x100) IX[B]
	[22] -1 0	0x0000b000 - 0x0000b0ff (0x100) IX[B]
	[23] -1 0	0x0000b400 - 0x0000b407 (0x8) IX[B]
	[24] -1 0	0x0000b800 - 0x0000b81f (0x20) IX[B]
	[25] -1 0	0x0000d800 - 0x0000d8ff (0x100) IX[B](B)
(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.5
(II) Loading sub module "libPVR2D"
(II) LoadModule: "libPVR2D"
(II) Loading /usr/X11R6/lib/modules/drivers/libPVR2D.so
(II) Module libPVR2D: vendor="Imagination Technologies, Ltd"
	compiled for 4.1.0, module version = 1.0.0
	ABI class: XFree86 ANSI C Emulation, version 0.1
(II) POWERVR(0): Bus:Slot:Func - 1:0:0
(II) POWERVR(0): MemSize:FBLinBase  32768 at 0xd2900000
(**) POWERVR(0): Depth 24, (--) framebuffer bpp 32
(==) POWERVR(0): RGB weight 888
(==) POWERVR(0): Default visual is TrueColor
(==) POWERVR(0): Using gamma correction (1.0, 1.0, 1.0)
(==) POWERVR(0): Using HW cursor
(--) POWERVR(0): Linear framebuffer at 0xF8000000
(--) POWERVR(0): VideoRAM: 32768 kByte
(II) POWERVR(0): Generic Monitor: Using hsync range of 30.00-130.00 kHz
(II) POWERVR(0): Generic Monitor: Using vrefresh range of 50.00-160.00 Hz
(II) POWERVR(0): Clock range:  31.50 to 340.00 MHz
(II) POWERVR(0): Not using default mode "320x175" (bad mode clock/interlace/doublescan)
(II) POWERVR(0): Not using default mode "320x200" (bad mode clock/interlace/doublescan)
(II) POWERVR(0): Not using default mode "360x200" (bad mode clock/interlace/doublescan)
(II) POWERVR(0): Not using default mode "640x480" (bad mode clock/interlace/doublescan)
(II) POWERVR(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) POWERVR(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) POWERVR(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) POWERVR(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) POWERVR(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) POWERVR(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) POWERVR(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) POWERVR(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) POWERVR(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) POWERVR(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) POWERVR(0): Not using default mode "416x312" (bad mode clock/interlace/doublescan)
(--) POWERVR(0): Virtual size is 1024x768 (pitch 1024)
(**) POWERVR(0): Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz
(II) POWERVR(0): Modeline "1024x768"   94.50  1024 1072 1168 1376  768 769 772 808 +hsync +vsync
(**) POWERVR(0): Default mode "640x480": 74.2 MHz, 85.9 kHz, 85.1 Hz (D)
(II) POWERVR(0): Modeline "640x480"   74.25  640 672 752 864  480 480 482 505 doublescan +hsync +vsync
(==) POWERVR(0): DPI set to (75, 75)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 1.0.0
	ABI class: XFree86 ANSI C Emulation, version 0.1
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.5
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.5
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
	[0] 0 0	0x000b8000 - 0x000bffff (0x8000) MX[B]
	[1] 0 0	0x000b0000 - 0x000b7fff (0x8000) MX[B]
	[2] 0 0	0x000a0000 - 0x000affff (0x10000) MX[B]
	[3] -1 0	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[4] -1 0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[5] -1 0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[6] -1 0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[7] -1 0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[8] -1 0	0xf4800000 - 0xf48000ff (0x100) MX[B]
	[9] -1 0	0xf5000000 - 0xf50000ff (0x100) MX[B]
	[10] -1 0	0xf6000000 - 0xf6000fff (0x1000) MX[B]
	[11] -1 0	0xf0000000 - 0xf1ffffff (0x2000000) MX[B]
	[12] -1 0	0xf77e0000 - 0xf77fffff (0x20000) MX[B](B)
	[13] -1 0	0xf7800000 - 0xf787ffff (0x80000) MX[B](B)
	[14] -1 0	0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
	[15] -1 0	0xf6800000 - 0xf6800fff (0x1000) MX[B](B)
	[16] 0 0	0x000003c0 - 0x000003df (0x20) IX[B]
	[17] 0 0	0x000003b0 - 0x000003bb (0xc) IX[B]
	[18] -1 0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[19] -1 0	0x00000000 - 0x000000ff (0x100) IX[B]
	[20] -1 0	0x0000a400 - 0x0000a40f (0x10) IX[B]
	[21] -1 0	0x0000a800 - 0x0000a8ff (0x100) IX[B]
	[22] -1 0	0x0000b000 - 0x0000b0ff (0x100) IX[B]
	[23] -1 0	0x0000b400 - 0x0000b407 (0x8) IX[B]
	[24] -1 0	0x0000b800 - 0x0000b81f (0x20) IX[B]
	[25] -1 0	0x0000d800 - 0x0000d8ff (0x100) IX[B](B)
(II) POWERVR(0): 768 lines pixmap cache
(II) POWERVR(0): [drm] bpp: 32 depth: 24
(II) POWERVR(0): [drm] Sarea 2200+4: 2204
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmGetBusid returned ''
(II) POWERVR(0): [drm] created "powervr" driver at busid "PCI:1:0:0"
(II) POWERVR(0): [drm] added 4096 byte SAREA at 0xd493d000
(II) POWERVR(0): [drm] mapped SAREA 0xd493d000 to 0x4001d000
(II) POWERVR(0): [drm] framebuffer handle = 0xf8000000
(II) POWERVR(0): [drm] added 1 reserved context for kernel
(II) POWERVR(0): [dri] visual configs initialized
(II) POWERVR(0): Using XFree86 Acceleration Architecture (XAA)
	Screen to screen bit blits
	Solid filled rectangles
	Solid Horizontal and Vertical Lines
	Offscreen Pixmaps
	Setting up tile and stipple cache:
		24 128x128 slots
		6 256x256 slots
(==) POWERVR(0): Backing store disabled
(==) POWERVR(0): Silken mouse enabled
(**) Option "dpms"
(**) POWERVR(0): DPMS enabled
(II) POWERVR(0): X context handle = 0x00000001
(II) POWERVR(0): [drm] installed DRM signal handler
(II) POWERVR(0): [DRI] installation complete
(==) POWERVR(0): Direct rendering enabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Keyboard "Generic Keyboard" handled by legacy driver
(**) Option "Protocol" "Auto"
(**) Configured Mouse: Protocol: "Auto"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/ttyS0"
(**) Option "Emulate3Buttons" "true"
(**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(**) Configured Mouse: Buttons: 5
(**) Option "Protocol" "ImPS/2"
(**) Generic Mouse: Protocol: "ImPS/2"
(**) Option "SendCoreEvents" "true"
(**) Generic Mouse: always reports core events
(**) Option "Device" "/dev/input/mice"
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
	No such device.
(EE) Generic Mouse: cannot open input device
(EE) PreInit failed for input device "Generic Mouse"
(II) UnloadModule: "mouse"
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
(II) Configured Mouse: PnP ID string: `( !PNP0F0A)'
(II) Configured Mouse: PnP rev 0.01
(II) Configured Mouse: PnP-detected protocol ID: 0
(--) Configured Mouse: PnP-detected protocol: "Microsoft"
(**) Option "BaudRate" "1200"
GetModeLine - scrn: 0 clock: 94500
GetModeLine - hdsp: 1024 hbeg: 1072 hend: 1168 httl: 1376
              vdsp: 768 vbeg: 769 vend: 772 vttl: 808 flags: 5
okay, soviel zum llog.

wenn gdm gestartet werden soll versucht er den x server zu öffnen, ungefähr dreimal. danach kommt eine textconsole die mich leicht an den yast erinnert.
fragt mich ob ich den log sehen möchte, fragt einmal nach den rootpasswort - mehr oder weniger - und dann aus die maus.

gdm kann ich zwar benutzen

aber erst nachdem ich 'gdm-stop' und 'gdm' benutzen. ich bin neu bei linux und interessant finde ich es wieso gdm-restart mir den gleichen dreck wieder bringt.


hoffe und danke schon mal für eure hilfe

redmineto
Beiträge: 12
Registriert: 07.04.2003 06:56:22
Wohnort: Wien-Umgebung

Beitrag von redmineto » 03.05.2003 12:38:55

das ist das init file
#! /bin/sh
#
# Originally based on:
# Version: @(#)skeleton 1.8 03-Mar-1998 miquels@cistron.nl
#
# Modified for gdm, Steve Haslam <steve@arise.dmeon.co.uk> 14mar99
# modified to remove --exec, as it does not work on upgrades. 18jan2000
# modified to use --name, to detect stale PID files 18mar2000
# sleep until gdm dies, then restart it 16jul2000
# get along with other display managers (Branden Robinson, Ryan Murray) 05sep2001

set -e

# To start gdm even if it is not the default display manager, change
# HEED_DEFAULT_DISPLAY_MANAGER to "false."
HEED_DEFAULT_DISPLAY_MANAGER=false
DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/gdm-binary
PIDFILE=/var/run/gdm.pid
UPGRADEFILE=/var/run/gdm.upgrade

if [ -e $UPGRADEFILE -a "$1" != "restart" -a "$1" != "force-reload" ]; then
SSD_ARG="--startas $DAEMON"
rm -f $UPGRADEFILE
else
SSD_ARG="--exec $DAEMON"
fi

test -x $DAEMON || exit 0

case "$1" in
start)
if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" -a "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" -a "$(cat $DEFAULT_DISPLAY_MANAGER_FILE)" != "$DAEMON" ]; then
echo "Not starting GNOME Display Manager (gdm); it is not the default display manager."
else
echo -n "Starting GNOME Display Manager: gdm"
start-stop-daemon --start --quiet --pidfile $PIDFILE $SSD_ARG || echo -n " already running"
echo "."
fi
;;
stop)
echo -n "Stopping GNOME Display Manager: gdm"
start-stop-daemon --stop --quiet --pidfile $PIDFILE --retry 30 || echo -n " not running"
echo "."
;;
reload)
echo "Reloading GNOME Display Manager configuration. Changes will take effect"
echo "when all current X sessions have ended."
start-stop-daemon --stop --signal USR1 --quiet --pidfile \
$PIDFILE --name gdm $SSD_ARG
;;
restart|force-reload)
$0 stop
$0 start
;;
*)
echo "Usage: /etc/init.d/gdm {start|stop|restart|reload|force-reload}"
exit 1
;;
esac

exit 0

Benutzeravatar
Dookie
Beiträge: 1104
Registriert: 17.02.2002 20:38:19
Wohnort: Salzburg
Kontaktdaten:

Beitrag von Dookie » 03.05.2003 12:57:51

Hi redmineto,

kommentier mal in deiner XF86Config-4 den Bereich:

Code: Alles auswählen

Section "InputDevice"
        Identifier      "Generic Mouse"
        Driver          "mouse"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "ZAxisMapping"          "4 5"
EndSection
und in der Section "ServreLayout":

Code: Alles auswählen

        InputDevice     "Generic Mouse"
mit # vor jeder Zeile aus.


Gruß

Dookie

redmineto
Beiträge: 12
Registriert: 07.04.2003 06:56:22
Wohnort: Wien-Umgebung

Beitrag von redmineto » 03.05.2003 19:03:09

:D danke für deine hilfe , aber das problem ist geblieben

hier hast meine XF86Config-4

Code: Alles auswählen

### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
	Load	"GLcore"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"de"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/ttyS0"
	Option		"Protocol"		"Auto"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

#Section "InputDevice"
#	Identifier	"Generic Mouse"
#	Driver		"mouse"
#	Option		"SendCoreEvents"	"true"
#	Option		"Device"		"/dev/input/mice"
#	Option		"Protocol"		"ImPS/2"
#	Option		"Emulate3Buttons"	"true"
#	Option		"ZAxisMapping"		"4 5"
#EndSection

Section "Device"
        BusID           "PCI:1:0:0"
        Identifier	"Kyro"
	Driver		"powervr"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	HorizSync	30-130
	VertRefresh	50-160
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Kyro"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
#	InputDevice	"Generic Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection

### END DEBCONF SECTION
würd mich über weitere hilfe freuen da ich meine freundin versuche von linux zu überzeugen. und wenn ich das geschafft habe kann ich endlich win2k runterhauen :wink:

Benutzeravatar
Dookie
Beiträge: 1104
Registriert: 17.02.2002 20:38:19
Wohnort: Salzburg
Kontaktdaten:

Beitrag von Dookie » 03.05.2003 23:36:58

hmm, gibts in der XFree.log immer noch Zeilen die mit (EE) anfangen?

someone
Beiträge: 1
Registriert: 04.05.2003 05:47:05
Wohnort: berlin

Beitrag von someone » 04.05.2003 05:55:25

hmm, also an den EE zeilen kann's nicht liegen, denn anschließend sagt X ja, dass es eine mouse gefunden und installiert hat - auch wenn der tipp, die eine section aus der config auszukkomentieren, sich nicht schlecht ist.

aber wenn du mit 'gdm stop && gdm' das ding dann trotzdem zum laufen bringst, heißt das, dass gdm schon läuft - in irgendeiner art und weise. sonst bräuchtest du ihn ja nicht zu stoppen. d.h., es liegt imho entweder an dem file /etc/X11/default-display-manager, oder du solltest die zeile HEED_DEFAULT_DISPLAY_MANAGER im gdm-skript auskommentieren - es könnte sein, dass die beiden sich widersprechen. die dritte möglichkeit könnte ein falscher aufruf durch startx oder das init-skript sein, dass also gdm mit einem falschen argument aufgerufen wird.

so long
someone

redmineto
Beiträge: 12
Registriert: 07.04.2003 06:56:22
Wohnort: Wien-Umgebung

Beitrag von redmineto » 04.05.2003 10:35:08

/etc/X11/default-display-manager

Code: Alles auswählen


/usr/bin/gdm-binary



das HEED teil hab ich nun ausgeklammert und 'S99xdm' aus dem diroctory verschoben.
im log file steht kein EE mehr



/usr/X11R6/bin/startx

Code: Alles auswählen

#!/bin/sh

# $Xorg: startx.cpp,v 1.3 2000/08/17 19:54:29 cpqbld Exp $
#
# This is just a sample implementation of a slightly less primitive
# interface than xinit.  It looks for user .xinitrc and .xserverrc
# files, then system xinitrc and xserverrc files, else lets xinit choose
# its default.  The system xinitrc should probably do things like check
# for .Xresources files and merge them in, startup up a window manager,
# and pop a clock and serveral xterms.
#
# Site administrators are STRONGLY urged to write nicer versions.
#
# $XFree86: xc/programs/xinit/startx.cpp,v 3.12.2.2 2002/01/28 18:27:34 tsi Exp $



userclientrc=$HOME/.xinitrc
userserverrc=$HOME/.xserverrc
sysclientrc=/usr/X11R6/lib/X11/xinit/xinitrc
sysserverrc=/usr/X11R6/lib/X11/xinit/xserverrc
defaultclient=/usr/X11R6/bin/xterm
defaultserver=/usr/X11R6/bin/X
defaultclientargs=""
defaultserverargs=""
clientargs=""
serverargs=""






if [ -f $userclientrc ]; then
    defaultclientargs=$userclientrc
elif [ -f $sysclientrc ]; then
    defaultclientargs=$sysclientrc
fi




if [ -f $userserverrc ]; then
    defaultserverargs=$userserverrc
elif [ -f $sysserverrc ]; then
    defaultserverargs=$sysserverrc
fi

whoseargs="client"
while [ x"$1" != x ]; do
    case "$1" in
    # '' required to prevent cpp from treating "/*" as a C comment.
    /''*|\./''*)
	if [ "$whoseargs" = "client" ]; then
	    if [ x"$clientargs" = x ]; then
		client="$1"
	    else
		clientargs="$clientargs $1"
	    fi
	else
	    if [ x"$serverargs" = x ]; then
		server="$1"
	    else
		serverargs="$serverargs $1"
	    fi
	fi
	;;
    --)
	whoseargs="server"
	;;
    *)
	if [ "$whoseargs" = "client" ]; then
	    clientargs="$clientargs $1"
	else
	    # display must be the FIRST server argument
	    if [ x"$serverargs" = x ] && 		 expr "$1" : ':[0-9][0-9]*$' > /dev/null 2>&1; then

		display="$1"
	    else
		serverargs="$serverargs $1"
	    fi
	fi
	;;
    esac
    shift
done

# process client arguments
if [ x"$client" = x ]; then
    # if no client arguments either, use rc file instead
    if [ x"$clientargs" = x ]; then
	client="$defaultclientargs"
    else
	client=$defaultclient
    fi
fi

# process server arguments
if [ x"$server" = x ]; then
    # if no server arguments or display either, use rc file instead
    if [ x"$serverargs" = x -a x"$display" = x ]; then
	server="$defaultserverargs"
    else
	server=$defaultserver
    fi
fi

if [ x"$XAUTHORITY" = x ]; then
    XAUTHORITY=$HOME/.Xauthority
    export XAUTHORITY
fi

removelist=


# set up default Xauth info for this machine
case `uname` in
Linux*)
	if [ -z "`hostname --version | grep GNU`" ]; then
		hostname=`hostname -f`
	else
		hostname=`hostname`
	fi
	;;
*)
	hostname=`hostname`
	;;
esac

authdisplay=${display:-:0}
mcookie=`mcookie`
for displayname in $authdisplay $hostname$authdisplay; do
    if ! xauth list "$displayname" | grep "$displayname " >/dev/null 2>&1; then
	xauth add $displayname . $mcookie
	removelist="$displayname $removelist"
    fi
done


xinit $client $clientargs -- $server $display $serverargs

if [ x"$removelist" != x ]; then
    xauth remove $removelist
fi





if command -v deallocvt > /dev/null 2>&1; then
    deallocvt
fi
/usr/X11R6/lib/X11/xinit/xinitrc

Code: Alles auswählen

#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

# /etc/X11/xinit/xinitrc
#
# global xinitrc file, used by all X sessions started by xinit (startx)

# invoke global X session script
. /etc/X11/Xsession
und zu guter letzt /etc/X11/Xsession

Code: Alles auswählen

#!/bin/sh
#
# /etc/X11/Xsession
#
# global Xsession file -- used by display managers and xinit (startx)

set -e

message () {
  # pretty-print messages of arbitrary length
  echo "$*" | fold -s -w ${COLUMNS:-80} >&2;
}

message_nonl () {
  # pretty-print messages of arbitrary length (no trailing newline)
  echo -n "$*" | fold -s -w ${COLUMNS:-80} >&2;
}

errormsg () {
  # exit script with error
  message "$*"
  exit 1;
}

internal_errormsg () {
  # exit script with error; essentially a "THIS SHOULD NEVER HAPPEN" message
  message "$*"
  message "Please report the package name, version, and the text of the" \
          "above error message(s) to <debian-x@lists.debian.org>.";
  exit 1;
}

run_parts () {
  # until run-parts --noexec is implemented
  if [ -z "$1" ]; then
    internal_errormsg "internal run_parts called without an argument"
  fi
  if [ ! -d "$1" ]; then
    internal_errormsg "internal run_parts called, but $1 does not exist or is not a directory."
  fi
  for F in $(ls $1); do
    if expr "$F" : '[[:alnum:]_-]\+$' > /dev/null 2>&1; then
      if [ -f "$1/$F" ]; then
        echo "$1/$F"
      fi
    fi
  done;
}

# initialize variables for use by all session scripts

OPTIONFILE=/etc/X11/Xsession.options

SYSRESOURCES=/etc/X11/Xresources
USRRESOURCES=$HOME/.Xresources

SYSSESSIONDIR=/etc/X11/Xsession.d
STARTUP=$HOME/.xsession
ALTSTARTUP=$HOME/.Xsession
ERRFILE=$HOME/.xsession-errors

# attempt to create an error file; abort if we cannot
if touch $ERRFILE 2> /dev/null && [ -w $ERRFILE ]; then
  chmod 600 "$ERRFILE"
elif ERRFILE=$(tempfile 2> /dev/null); then
  if ! ln -sf "$ERRFILE" "${TMPDIR:=/tmp}/xsession-$USER"; then
    message "Xsession: unable to symlink \"$TMPDIR/xsession-$USER\" to" \
             "\"$ERRFILE\"."
  fi
else
  errormsg "Xsession: unable to create X session log/error file.  Aborting."
fi

exec > "$ERRFILE" 2>&1

# sanity check; is our session script directory present?
if [ ! -d "$SYSSESSIONDIR" ]; then
  errormsg "Xsession: no $SYSSESSIONDIR directory found.  Aborting." >&2
fi

# use run-parts to source every file in the session directory; we source
# instead of executing so that the variables and functions defined above
# are available to the scripts, and so that they can pass variables to each
# other
SESSIONFILES=$(run_parts $SYSSESSIONDIR)
if [ -n "$SESSIONFILES" ]; then
  for SESSIONFILE in $SESSIONFILES; do
    . $SESSIONFILE
  done
fi

exit 0

# vim:ai:et:sts=2:sw=2:tw=80:

Antworten