[RFC PATCH] Only open the console if the video driver needs hardware access.

Mark Kettenis mark.kettenis at xs4all.nl
Thu Oct 1 11:58:14 PDT 2009


> Date: Thu, 1 Oct 2009 11:50:42 -0700
> From: Jamey Sharp <jamey at minilop.net>
> 
> xf86OpenConsole fails as non-root, at least on Linux. Since the
> xf86-video-dummy driver works fine without root privileges or console
> access, just don't open the console.
> ---
> I wanted to see how to replace Xvfb and Xfake with an appropriate video
> driver for the xfree86 DDX, and needing root privileges was obnoxious.
> Aside from that problem, the existing dummy driver seems well on the way
> to doing the job.
> 
> But I'm guessing this is the wrong way to solve this problem.

I suspect so.  I think for example the wsfb driver on OpenBSD doesn't
need "hardware access" in the xorgHWAccess sense, but still needs
console access.


More information about the xorg-devel mailing list