----- Forwarded message from Shan Mignot <[EMAIL PROTECTED]> ----- From: Shan Mignot <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: xdm authorization and other things related to X Date: Thu, 18 Jul 2002 14:55:10 +0200 Message-ID: <[EMAIL PROTECTED]> X-Spam-Status: No, hits=-2.3 required=4.0 tests=IN_REP_TO,DOUBLE_CAPSWORD version=2.31
Hi, Sorry if I misposted this message. If it is the case please forward it to the appropriate people. I've recently installed the modules required for dri support for my video card (mach64LB chipset) and that forced me to replace the /usr/bin/X11/XFree86 executable which came from the debian package xserver-xfree86 4.1.0-16 with one corresponding to the 4.2.0 release provided by dri.sourceforge.net I've managed to setup dri but things are a little messy at startup. Indeed, what happens is that if I try to log in with xdm (which is started automatically), things fail. To get things to work, I need to log in as root in tty1 for example dans restart (?) xdm with: >xdm After that the log in process runs more smoothly and I can start a session as a normal user. Here is an excerpt from my /var/log/XFree86.0.log file: AUDIT: Wed Jul 17 13:43:28 2002: 246 X: client 2 rejected from local host Auth name: XDM-AUTHORIZATION-1 ID: -1 AUDIT: Wed Jul 17 13:43:29 2002: 246 X: client 3 rejected from local host Auth name: XDM-AUTHORIZATION-1 ID: -1 AUDIT: Wed Jul 17 13:43:34 2002: 246 X: client 2 rejected from local host Auth name: XDM-AUTHORIZATION-1 ID: -1 (II) ATI(0): [drm] removed 1 reserved context for kernel (II) ATI(0): [drm] unmapping 8192 bytes of SAREA 0xc88f9000 at 0x40017000 (II) Open APM successful (==) ATI(0): Write-combining range (0xfd000000,0x800000) (II) ATI(0): [drm] SAREA 2200+1212: 3412 drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 6, (OK) drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 6, (OK) drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 6, (OK) drmGetBusid returned '' (II) ATI(0): [drm] created "mach64" driver at busid "PCI:1:0:0" (II) ATI(0): [drm] added 8192 byte SAREA at 0xc88f9000 (II) ATI(0): [drm] mapped SAREA 0xc88f9000 to 0x40017000 (II) ATI(0): [drm] framebuffer handle = 0xfd000000 (II) ATI(0): [drm] added 1 reserved context for kernel (II) ATI(0): [agp] Using AGP 1x Mode (II) ATI(0): [agp] Using 8 MB AGP aperture (II) ATI(0): [agp] Mode 0x1f000201 [AGP 0x8086/0x7190; Card 0x1002/0x4c42] (II) ATI(0): [agp] 8192 kB allocated with handle 0xc90fd000 (II) ATI(0): [agp] Using 2 MB for DMA buffers (II) ATI(0): [agp] Using 6 MB for AGP textures (II) ATI(0): [agp] vertex buffers handle = 0xf8000000 (II) ATI(0): [agp] Vertex buffers mapped at 0x409e2000 (II) ATI(0): [agp] AGP texture region handle = 0xf8200000 (II) ATI(0): [agp] AGP Texture region mapped at 0x40be2000 (II) ATI(0): [drm] register handle = 0xfc100000 (II) ATI(0): [dri] Visual configs initialized (II) ATI(0): [dri] Block 0 base at 0xfc100400 (II) ATI(0): Memory manager initialized to (0,0) (1024,2463) (II) ATI(0): Largest offscreen area available: 1024 x 1695 (II) ATI(0): Reserved back buffer from (0,768) to (1024,1536) (II) ATI(0): Reserved depth buffer from (0,1536) to (1024,2304) (II) ATI(0): Reserved 3265 kb for local textures at offset 0x4cf800 (**) ATI(0): DPMS enabled (II) ATI(0): X context handle = 0x00000001 (II) ATI(0): [drm] installed DRM signal handler (II) ATI(0): [DRI] installation complete (II) ATI(0): [drm] Added 128 16384 byte DMA buffers (II) ATI(0): [drm] Mapped 128 DMA buffers at 0x411e2000 (II) ATI(0): Direct rendering enabled AUDIT: Wed Jul 17 13:43:36 2002: 246 X: client 2 rejected from local host Auth name: XDM-AUTHORIZATION-1 ID: -1 AUDIT: Wed Jul 17 13:43:36 2002: 246 X: client 3 rejected from local host Auth name: XDM-AUTHORIZATION-1 ID: -1 (II) Open APM successful GetModeLine - scrn: 0 clock: 65146 GetModeLine - hdsp: 1024 hbeg: 1056 hend: 1192 httl: 1344 vdsp: 768 vbeg: 771 vend: 777 vttl: 807 flags: 5 (II) Open APM successful OK, that's one thing. I have another problem related to the content of my DISPLAY variable. If it points to the local one (ie: DISPLAY=:0.0) things work just fine but if I change it to DISPLAY=`hostname`:0.0 then nothing ever pops up on my screen. The consequence of this is that I cannot export windows to my screen when log in some other machine of my LAN. To summarize things a little, I really do not understand much about how X handles security and allows users/processes to access to different resources. Is there a well structured relatively simple and readable documentation somewhere ? Thanks a lot for your help. Shan Mignot ----- End forwarded message ----- -- G. Branden Robinson | Exercise your freedom of religion. Debian GNU/Linux | Set fire to a church of your [EMAIL PROTECTED] | choice. http://people.debian.org/~branden/ |
msg03793/pgp00000.pgp
Description: PGP signature