[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] Blasted X Server again!



>>>>> "Barrie" == Barrie Bremner <TheEnglishman [at] ecosse.net> writes:

    Barrie> I'm attempting to run the startx command as a non-root
    Barrie> user (root works OK), and the server is give the following
    Barrie> error:

To make this work directly you have to make your X server SUID root,
at least as of XFree86 3.3.  Yuck.  There are ways to avoid this, by
writing a wrapper that changes permissions or opens files then drops
privileges and passes streams and devices off to the X server.

Probably your wrapper is forgetting to deal with the log file.
/var/log is almost certainly restricted to writing by root (recent
Debians won't even allow you to read most files there unless you're root.



-- 
University of Tsukuba                Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences       Tel/fax: +81 (298) 53-5091
_________________  _________________  _________________  _________________
What are those straight lines for?  "XEmacs rules."
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.