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

Re: can't run X as user

Colin Watson wrote:
> On Fri, Jan 02, 2004 at 04:44:53PM -0500, Brian Stults wrote:
I posted this message twice to debian-user, and searched all over the internet. Having not found an answer yet, I am reluctantly posting the question here. Sorry to bother, but I am at a dead end.

I know I've seen this before, but I cannot find the solution anywhere. I recently re-installed sid to an empty partition. I can run X as root just fine. But when I try to run it as a user, I get the following errors in /var/log/XFree86.0.log:

(WW) xf86ReadBIOS: Failed to open /dev/mem (Operation not permitted)

Fatal server error:
xf86OpenConsole: Server must be suid root
-rwsr-sr-x    1 root     root         7476 Aug 29 11:30 X
-rwsr-sr-x    1 root     root      1584152 Aug 29 11:30 XFree86
> I wonder if you have /usr mounted with the nosuid option? What does
> 'mount' say?

Yes, removing the options "user,exec" from fstab did it.  Thanks so much!

Brian J. Stults
Assistant Professor
Center for Studies in Criminology and Law
University of Florida
phone: (352) 392-1025 x207    fax: (352) 392-5065

Reply to: