Date: 01 Nov 2001 19:41:08 +0000 From: Wayne Pascoe <wayne.pascoe@ehsrealtime.com> To: freebsd-questions@freebsd.org Subject: Can't start KDE or gnome as non-root user Message-ID: <86pu72gtyj.fsf@pan.home.penguinpowered.org.uk>
next in thread | raw e-mail | index | archive | help
Hi all, I have just installed XFree86-4.1.0_10 from ports. I did this by doing cd /usr/ports/x11/XFree86-4 make install It works OK as root, but as a user, I can't launch kde or gnome. In my $HOME/.xinitrc file I have only the following : exec gnome-session When I do startx, I get the gray screen. I have to ctrl-alt-bkspc to get out of that. Doing startx >> x.out 2>&1 produces the output at the bottom of this e-mail. My main concerns are with the lines near the beginning saying xauth: (argv):1: bad display name ":0" in "list" command xauth: (argv):1: bad display name ":0" in "add" command I have never seen anything like this before. Also, at the end of the file, I get xauth: (argv):1: bad display name ":0" in "remove" command xauth: (argv):1: bad display name ":0" in "remove" command Once again, something that I have never seen before :( I get these errors if I run as root as well, but the system launches gnome, and does not just stop at the gray screen :( I have checked, and wrapper is installed. /usr/X11R6/bin/X is a symlink to /usr/X11R6/bin/Xwrapper. Xwrapper does appear to have setuid bit set. Any advice as to why this might be happening and what I can do to fix it, would be _much_ appreciated. TIA, --- OUTPUT OF STARTX COMMAND --- xauth: (argv):1: bad display name ":0" in "list" command xauth: (argv):1: bad display name ":0" in "add" command xauth: (argv):1: bad display name ":0" in "list" command xauth: (argv):1: bad display name ":0" in "add" command XFree86 Version 4.1.0 / X Window System (protocol Version 11, revision 0, vendor release 6510) Release Date: 2 June 2001 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/FAQ) Build Operating System: FreeBSD 4.4-STABLE i386 [ELF] Module Loader present (==) Log file: "/var/log/XFree86.0.log", Time: Thu Nov 1 19:27:03 2001 (==) Using config file: "/etc/X11/XF86Config" Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) ServerLayout "XFree86 Configured" (**) |-->Screen "Screen0" (0) (**) | |-->Monitor "Monitor0" (**) | |-->Device "Card0" (**) |-->Input Device "Mouse0" (**) |-->Input Device "Keyboard0" (**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Sp eedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/l ib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/" (**) RgbPath set to "/usr/X11R6/lib/X11/rgb" (**) ModulePath set to "/usr/X11R6/lib/modules" (--) Using syscons driver with X support (version 2.0) (--) using VT number 9 (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a (II) Module bitmap: vendor="The XFree86 Project" compiled for 4.1.0, module version = 1.0.0 (II) Loading /usr/X11R6/lib/modules/libpcidata.a (II) Module pcidata: vendor="The XFree86 Project" compiled for 4.1.0, module version = 0.1.0 (II) Loading /usr/X11R6/lib/modules/libscanpci.a (II) Module scanpci: vendor="The XFree86 Project" compiled for 4.1.0, module version = 0.1.0 (II) Unloading /usr/X11R6/lib/modules/libscanpci.a (--) PCI:*(1:0:0) NVidia GeForce2 MX rev 161, Mem @ 0xdc000000/24, 0xd0000000/27 (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a (II) Module extmod: vendor="The XFree86 Project" compiled for 4.1.0, module version = 1.0.0 (II) Loading /usr/X11R6/lib/modules/extensions/libxie.a (II) Module xie: vendor="The XFree86 Project" compiled for 4.1.0, module version = 1.0.0 (II) Loading /usr/X11R6/lib/modules/extensions/libpex5.a (II) Module pex5: vendor="The XFree86 Project" compiled for 4.1.0, module version = 1.0.0 (II) Loading /usr/X11R6/lib/modules/extensions/libglx.a (II) Module glx: vendor="The XFree86 Project" compiled for 4.1.0, module version = 1.0.0 (II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a (II) Module GLcore: vendor="The XFree86 Project" compiled for 4.1.0, module version = 1.0.0 (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a (II) Module dri: vendor="The XFree86 Project" compiled for 4.1.0, module version = 1.0.0 (II) Loading /usr/X11R6/lib/modules/freebsd/libdrm.a (II) Module drm: vendor="The XFree86 Project" compiled for 4.1.0, module version = 1.0.0 (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a (II) Module dbe: vendor="The XFree86 Project" compiled for 4.1.0, module version = 1.0.0 (II) Loading /usr/X11R6/lib/modules/extensions/librecord.a (II) Module record: vendor="The XFree86 Project" compiled for 4.1.0, module version = 1.13.0 (II) Loading /usr/X11R6/lib/modules/drivers/nv_drv.o (II) Module nv: vendor="The XFree86 Project" compiled for 4.1.0, module version = 1.0.0 (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o (II) Module mouse: vendor="The XFree86 Project" compiled for 4.1.0, module version = 1.0.0 (II) NV: driver for NVIDIA chipsets: RIVA128, RIVATNT, RIVATNT2, RIVATNT2 (A), RIVATNT2 (B), RIVATNT2 (Ultra), RIVATNT2 (Vanta), RIVATNT2 M64, RIVATNT2 (Integrated), GeForce 256, GeForce DDR, Quadro, GeForce2 GTS, GeForce2 GTS (rev 1), GeForce2 ultra, Quadro 2 Pro, GeForce2 MX, GeForce2 MX DDR, Quadro 2 MXR, GeForce 2 Go, GeForce3, GeForce3 (rev 1), GeForce3 (rev 2), GeForce3 (rev 3) (--) Chipset GeForce2 MX found (II) Loading /usr/X11R6/lib/modules/libint10.a (II) Module int10: vendor="The XFree86 Project" compiled for 4.1.0, module version = 1.0.0 (II) NV(0): Initializing int10 (==) NV(0): Write-combining range (0xa0000,0x20000) was already clear (==) NV(0): Write-combining range (0xf0000,0x10000) (II) NV(0): Primary V_BIOS segment is: 0xc000 (--) NV(0): Chipset: "GeForce2 MX" (**) NV(0): Depth 24, (--) framebuffer bpp 32 (==) NV(0): RGB weight 888 (==) NV(0): Default visual is TrueColor (II) Loading /usr/X11R6/lib/modules/libvgahw.a (II) Module vgahw: vendor="The XFree86 Project" compiled for 4.1.0, module version = 0.1.0 (==) NV(0): Using HW cursor (--) NV(0): Linear framebuffer at 0xD0000000 (--) NV(0): MMIO registers at 0xDC000000 (==) NV(0): Write-combining range (0xdc710000,0x10000) was already clear (==) NV(0): Write-combining range (0xdc600000,0x1000) was already clear (==) NV(0): Write-combining range (0xdc680000,0x1000) was already clear (==) NV(0): Write-combining range (0xdc100000,0x1000) was already clear (==) NV(0): Write-combining range (0xdc002000,0x2000) was already clear (==) NV(0): Write-combining range (0xdc400000,0x2000) was already clear (==) NV(0): Write-combining range (0xdc101000,0x1000) was already clear (==) NV(0): Write-combining range (0xdc009000,0x1000) was already clear (==) NV(0): Write-combining range (0xdc000000,0x9000) was already clear (==) NV(0): Write-combining range (0xdc800000,0x10000) was already clear (==) NV(0): Write-combining range (0xdc601000,0x1000) was already clear (==) NV(0): Write-combining range (0xdc681000,0x1000) was already clear (==) NV(0): Write-combining range (0xdc0c0000,0x1000) was already clear (--) NV(0): VideoRAM: 32768 kBytes (II) Loading /usr/X11R6/lib/modules/libddc.a (II) Module ddc: vendor="The XFree86 Project" compiled for 4.1.0, module version = 1.0.0 (==) NV(0): Write-combining range (0xa0000,0x10000) was already clear (II) Loading /usr/X11R6/lib/modules/libi2c.a (II) Module i2c: vendor="The XFree86 Project" compiled for 4.1.0, module version = 1.2.0 (II) NV(0): I2C bus "DDC" initialized. (II) NV(0): I2C device "DDC:ddc2" registered. (II) NV(0): I2C device "DDC:ddc2" removed. (II) NV(0): I2C device "DDC:ddc2" registered. (II) NV(0): I2C device "DDC:ddc2" removed. (II) NV(0): DDC Monitor info: 0x88c0000 (II) NV(0): Manufacturer: IVM Model: 1740 Serial#: 0 (II) NV(0): Year: 1999 Week: 53 (II) NV(0): EDID Version: 1.1 (II) NV(0): Analog Display Input, Input Voltage Level: 0.700/0.300 V (II) NV(0): Sync: Separate Composite SyncOnGreen (II) NV(0): Max H-Image Size [cm]: horiz.: 32 vert.: 24 (II) NV(0): Gamma: 2.48 (II) NV(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display (II) NV(0): redX: 0.625 redY: 0.340 greenX: 0.290 greenY: 0.605 (II) NV(0): blueX: 0.150 blueY: 0.070 whiteX: 0.283 whiteY: 0.297 (II) NV(0): Supported VESA Video Modes: (II) NV(0): 720x400@70Hz (II) NV(0): 640x480@60Hz (II) NV(0): 640x480@67Hz (II) NV(0): 640x480@72Hz (II) NV(0): 640x480@75Hz (II) NV(0): 800x600@56Hz (II) NV(0): 800x600@60Hz (II) NV(0): 800x600@72Hz (II) NV(0): 800x600@75Hz (II) NV(0): 832x624@75Hz (II) NV(0): 1024x768@60Hz (II) NV(0): 1024x768@70Hz (II) NV(0): 1024x768@75Hz (II) NV(0): 1280x1024@75Hz (II) NV(0): 1152x870@75Hz (II) NV(0): Manufacturer's mask: 0 (II) NV(0): Supported Future Video Modes: (II) NV(0): #0: hsize: 1600 vsize 1200 refresh: 75 vid: 20393 (II) NV(0): (II) NV(0): (II) NV(0): (II) NV(0): (II) NV(0): end of DDC Monitor info (==) NV(0): Write-combining range (0xa0000,0x10000) was already clear (==) NV(0): Using gamma correction (1.0, 1.0, 1.0) (II) NV(0): Monitor0: Using hsync range of 27.00-96.00 kHz (II) NV(0): Monitor0: Using vrefresh range of 50.00-160.00 Hz (II) NV(0): Clock range: 12.00 to 350.00 MHz (II) NV(0): Not using default mode "1600x1200" (hsync out of range) (II) NV(0): Not using default mode "1792x1344" (hsync out of range) (II) NV(0): Not using default mode "1856x1392" (hsync out of range) (II) NV(0): Not using default mode "1920x1440" (hsync out of range) (--) NV(0): Virtual size is 1024x768 (pitch 1024) (**) NV(0): Mode "1024x768": 115.5 MHz, 80.2 kHz, 100.0 Hz (--) NV(0): Display dimensions: (32, 24) cm (--) NV(0): DPI set to (81, 81) (II) Loading /usr/X11R6/lib/modules/libfb.a (II) Module fb: vendor="The XFree86 Project" compiled for 4.1.0, module version = 1.0.0 (II) Loading /usr/X11R6/lib/modules/libxaa.a (II) Module xaa: vendor="The XFree86 Project" compiled for 4.1.0, module version = 1.0.0 (II) Loading /usr/X11R6/lib/modules/libramdac.a (II) Module ramdac: vendor="The XFree86 Project" compiled for 4.1.0, module version = 0.1.0 (--) Depth 24 pixmap format is 32 bpp (==) NV(0): Write-combining range (0xdc000000,0x1000000) was already clear (==) NV(0): Write-combining range (0xd0000000,0x2000000) (==) NV(0): Write-combining range (0xa0000,0x10000) was already clear (II) NV(0): Using XFree86 Acceleration Architecture (XAA) Screen to screen bit blits Solid filled rectangles 8x8 mono pattern filled rectangles Indirect CPU to Screen color expansion Solid Lines Offscreen Pixmaps Setting up tile and stipple cache: 32 128x128 slots 32 256x256 slots 16 512x512 slots (==) NV(0): Backing store disabled (==) NV(0): Silken mouse enabled (**) Mouse0: Protocol: "auto" (**) Mouse0: Core Pointer (==) Mouse0: Buttons: 3 (**) Mouse0: ZAxisMapping: buttons 4 and 5 (II) Keyboard "Keyboard0" handled by legacy driver (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE) (WW) fcntl(6, F_SETOWN): Inappropriate ioctl for device Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! AUDIT: Thu Nov 1 19:27:06 2001: 304 X: client 1 rejected from local host Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server waiting for X server to begin accepting connections . X connection to :0.0 broken (explicit kill or server shutdown). xauth: (argv):1: bad display name ":0" in "remove" command xauth: (argv):1: bad display name ":0" in "remove" command -- Wayne Pascoe <wayne.pascoe@ehsrealtime.com> Things fall apart; the center cannot hold; Mere anarchy is loosed upon the world. - Yeats To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86pu72gtyj.fsf>