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

X: server must be suid root



Hello,

This is the second time I've posted this question. If someone could suggest a better place to post it, please do. I'm not sure if it would be appropriate to post to the debian-x mailing list.

I know I've seen this before, but I cannot find the solution anywhere. 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

Here is some info:

XFree86 Version 4.2.1.1

hardin:/usr/X11R6/bin# ls -l X*
-rwsr-sr-x    1 root     root         7476 Aug 29 11:30 X
-rwsr-sr-x    1 root     root      1584152 Aug 29 11:30 XFree86
-rwxr-xr-x    1 root     root        27494 Aug 29 11:26 Xmark

hardin:/dev# ls -l mem
crw-r-----    1 root     kmem       1,   1 Aug 29 21:51 mem

hardin:/usr/X11R6/bin# cat /etc/X11/Xwrapper.config
allowed_users=console
nice_value=-10


I can't think of anything else to mention.  Any suggestions?

Thanks.




Reply to: