Subject: Re: Regarding XFree
To: Rakhesh Sasidharan <rakhesh@cse.iitd.ernet.in>
From: Matthias Buelow <mkb@mukappabeta.de>
List: netbsd-help
Date: 02/22/2001 18:59:44
Rakhesh Sasidharan <rakhesh@cse.iitd.ernet.in> writes:

>I get this error while trying to start X:

How did you start it?

>I then tried linking X to Xwrapper instead of XF86_SVGA, but then when I
>type `X`, nothing happens.  I don't get any messages or any screen etc ...
>and I have to press Ctrl-C to get back to the prompt.

the idea is to use Xwrapper when you want to invoke only the X server
manually as a user, and link "X" to the XF86_* server executable
(which isn't setuid root).
The startx script, which is normally used to start a non-xdm X session
as a user logged in on the console is supposed to use Xwrapper,
as I see it, I always start X automatically via xdm at system start.

>lrwxr-xr-x  1 root  wheel        9 Jan 21 02:27 /usr/X11R6/bin/X@ -> XF86_SVGA
>-r-xr-xr-x  1 root  wheel  3061464 Nov 17 15:52 /usr/X11R6/bin/XF86_SVGA*
>-r-xr-xr-x  1 root  wheel  1793816 Nov 17 15:52 /usr/X11R6/bin/XF86_VGA16*
>-r-xr-xr-x  1 root  wheel  1614240 Nov 17 15:52 /usr/X11R6/bin/XF86_W32*
>-r-s--x--x  1 root  wheel     5620 Nov 17 15:52 /usr/X11R6/bin/Xwrapper*

looks how it's supposed to be, imho.

mkb