Re: AfterStep X Server trouble?
Andre Oliveira da Costa (costa@tecgraf.puc-rio.br)
Thu, 14 May 1998 13:49:33 -0300
Sean Willson wrote:
[snipped]
> I tried to run the startx process I get an error saying that basically I
> don't have
>
> permissions to run the XF86 X Server. It also mentions something about
> having to
> suid the startx process. I tried placing suid root at the top of the
> startx shell
> script
> with no success. Anyone have any ideas on how to do this? I want to
> XServer to
> be run at startup of any user. So I guess the 2 questions are:
>
> 1. How do I set up the XServer to be runnable as any user? If this is
> not the
> right method should I but the XServer in the boot script?
I think you're trying to chmod the wrong file -- it's the X server
itself that should be suid root, not the startx script. In XFree86
installations, check /usr/X11R6/bin/X; this is a soft link to the X
server itself (which probably stays on a different directory, like
/var/X11R6/bin). Once you've located the "true" X server (not one of the
links to it), chmod it to be suid root, and things should work.
> 2. How do I automatically have it execute the XServer at login for all
> users?
I think the "correct" way of doing this is using xdm. I have never
configured xdm myself, so I suggest you read the manpages. I know that
it basically involves changing the default runlevel of your machine to 4
(do 'man inittab') and, probably, creating a .xsession file on the home
directory of each user.
Hope this helps.
Best regards,
--
Andre Oliveira da Costa
(costa@tecgraf.puc-rio.br)
--
WWW: http://www.afterstep.org/
FTP: ftp://ftp.afterstep.org/
MAIL: http://wormhole.eosys.com/mailing-lists/AfterStep-Info.html
FAQ: http://www.cs.purdue.edu/homes/zamboni/afterstep/FAQ.html
To unsubscribe: echo unsubscribe | mail afterstep-request@eosys.com