On Wed, 20 Feb 2002 [EMAIL PROTECTED] wrote:

> I am using the nv driver for a Riva TNT 2 on a FreeBSD 4.5-RELEASE system and
> receive the following fatal error when starting X with a non-superuser:
> 
> (WW) checkDevMem: failed to open /dev/mem (Permission denied)
>         linear framebuffer access unavailable
> 
> Fatal server error:
> xf86OpenConsole: Server must be suid root
> 
> 
> Any help or comments are very appreciated.
> 

   The X-server needs root permissions to open /dev/mem.  It's
always been that way.  Either XFree86 needs to be suid root
or the wrapper does.

   BTW, that error message is deceiving.  You need to open /dev/mem
to map any of the card's registers, not just the framebuffer.  And
even if it were a planar framebuffer you'd still need to open /dev/mem.
Somebody should fix that error message.


                                Mark.

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to