Since uprading to XFree86 3.3.2 I have been struggling with trying to use
X as a normal user. I can get X to work as root if I keep the following:
  
  
[rgolan@ozenfant bin]$ ls -al X Xwrapper XF86_SVGA 
lrwxrwxrwx   1 root     root            9 May 26 13:27 X -> XF86_SVGA
-rwxr-xr-x   1 root     users     3048967 Mar  3 15:11 XF86_SVGA
-rwS--x--x   1 root     users        5907 Mar  3 15:12 Xwrapper
[rgolan@ozenfant bin]$ 


I have tried replacing the link from XF86_SVGA to Xwrapper and then I
can't start X even as root. (signal 2 error)

I got Netscape to work by juggling the /etc/ld.so.conf as follows:

[rgolan@ozenfant bin]$ cat /etc/ld.so.conf
/usr/i486-linuxaout/lib
/usr/i486-linux-libc5/lib
/usr/X11R6/lib
[rgolan@ozenfant bin]$ 


So the hurdle I still need to overcome is the correct use of Xwrapper. The
XFree86 FAQ is not clear to me but if someone can interpret it for me or
knows of another explanation I would appreciate it.

===excerpt from XFree86 3.3.2 FAQ===

The xinit command (which startx runs) provided with XFree86
3.3.2 and later has been modified to look for an X server called
``Xwrapper'' instead of ``X''. If you don't have Xwrapper installed,
you will get an error message from xinit/startx when it tries to
start the non-set-uid X server without using the wrapper. The
same thing will happen if you do have Xwrapper installed but
you have an xserverrc file (usually $HOME/.xserverrc, but it can be
any file pointed to by your XSERVERRC environment variable)
that references ``X'' instead of ``Xwrapper''. To fix that, edit your
xserverrc file and replace ``X'' with ``Xwrapper''. If instead of X
you have some other X server name (eg, XF86_SVGA) in your
xserverrc file, you will need to create a symbolic link from it to
/usr/X11R6/bin/X and replace it with ``Xwrapper'' in your xserverrc
file.


-- 
  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