Greetings!

I've been able to use X as a non-root user just fine, and then just a few
days ago, it stopped working and now I can only use X as root.  I'm
hoping some X gurus out there could help me out.  This is the output when
I try do a "startx" as non-root:

XFree86 Version 3.3.2 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: March 2 1998
        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)
Operating System: Linux 2.1.103 i586 [ELF] 
Configured drivers:
  SVGA: server for SVGA graphics adaptors (Patchlevel 0):
      NV1, STG2000, RIVA128, ET4000, ET4000W32, ET4000W32i,
                    ^^^^^^^\
                            That's the chipset on my card.
-snip-
(using VT number 7)

XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: keycodes: "xfree86"
(**) XKB: types: "default"
(**) XKB: compat: "default"
(**) XKB: symbols: "us(pc101)"
(**) XKB: geometry: "pc"
(**) XKB: keymap: "xfree86(us)" (overrides other XKB settings)
(**) XKB: rules: "xfree86"
(**) XKB: model: "pc101"
(**) XKB: layout: "us"
(**) Mouse: type: PS/2, device: /dev/mouse, buttons: 3
(**) Mouse: 3 button emulation (timeout: 50ms)
(**) SVGA: Graphics device ID: "RIVA128"
(**) SVGA: Monitor ID: "Dell 19Inch"
(**) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:
unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/u
sr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fon
ts/100dpi/"
(--) SVGA: PCI: NVidia/SGS-Thomson Riva128 rev 16, Memory @ 0xfd000000,
0xf6000000
(--) SVGA: RIVA128: Setting RGB weight to 555
(--) SVGA: chipset:  RIVA128
(**) SVGA: videoram: 4096k
(**) SVGA: Using 16 bpp, Depth 16, Color weight: 555
(--) SVGA: Maximum allowed dot-clock: 230.000 MHz
(**) SVGA: Mode "1152x864": mode clock = 137.650
(--) SVGA: Virtual resolution set to 1152x864
(--) SVGA: SpeedUp code selection modified because virtualX != 1024
(--) SVGA: RIVA128: Using hardware cursor
.(--) SVGA: Using XAA (XFree86 Acceleration Architecture)
(--) SVGA: XAA: Solid filled rectangles
(--) SVGA: XAA: Screen-to-screen copy
(--) SVGA: XAA: Indirect CPU to screen color expansion (imagetext,
polytext)
(--) SVGA: XAA: Using 9 128x128 areas for pixmap caching
(--) SVGA: XAA: Caching tiles and non-transparent stipples
(--) SVGA: XAA: Horizontal and vertical lines and segments

_X11TransSocketUNIXConnect: Can't connect: errno = 13
..
_X11TransSocketUNIXConnect: Can't connect: errno = 13
..
_X11TransSocketUNIXConnect: Can't connect: errno = 13
..
_X11TransSocketUNIXConnect: Can't connect: errno = 13
..
_X11TransSocketUNIXConnect: Can't connect: errno = 13
giving up.
xinit:  Permission denied (errno 13):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

I thought I could resolve the problem just by looking at the last 2 lines.
I checked the permissions on the xinit and this is what I get:

[root@h24-64-12-178 /root]# ls -la /usr/X11R6/bin | grep xinit
-rwxr-xr-x   1 root     root         8996 Jun  8 21:09 xinit

So, I don't see how the error output could be claiming that the permission
is denied when the it's set correctly.  I also checked out my X, Xwrapper,
XF86_SVGA and this is what I get:

[root@h24-64-12-178 /root]# ls -la /usr/X11R6/bin | grep X
lrwxrwxrwx   1 root     root            8 Jun 11 23:42 X -> Xwrapper
-r-sr-xr-x   1 root     root         5604 May  5 23:41 XConsole
-rwxr-xr-x   1 root     root       157236 May 28 06:56 XF86Setup
-rwxr-xr-x   1 root     root      2794812 May 28 00:31 XF86_SVGA
-rwxr-xr-x   1 root     root      1783224 May 28 00:31 XF86_VGA16
-rwxr-xr-x   1 root     root        27499 Jun  8 21:06 Xmark
-rwxr-xr-x   1 root     root      2490844 Jun  8 21:09 Xprt
-rwsr-xr-x   1 root     root         4272 Jun  8 21:09 Xwrapper

Perhaps I have the slinks set incorrectly between X, Xwrapper and the
XF86_SVGA, but I don't recall touching any of that before the non-root
users not being able to use X problem occurred.  I have both the XF86_SVGA
and VGA16, but I know for a fact that it's the SVGA that's being used; I
have VGA16 to be able to use XF86Setup.  As well, I think the suid is set
correctly, but I could be wrong.

Can Someone please help me out?  It's reallu stumped me and it's on my
mind all day long.  Any help would be much appreciated!  Thank you in
advance.

With Best,

Steve

-----------------------------------------------------

** Linux Virus Scan : Scanning...
        Virus Detected--Windoze 95.  Remove it? (Y/y)

-----------------------------------------------------
[EMAIL PROTECTED]
[EMAIL PROTECTED]



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to