[PULL to discuss] Remove kdrive, Xnest, and Xvfb
Alan Coopersmith
alan.coopersmith at oracle.com
Mon Mar 26 18:01:08 PDT 2012
On 03/26/12 04:13 PM, Jeremy Huddleston wrote:
> These need to die. This removes 30K lines of code from xorg-server. It must be good!
>
> Most functionality of these servers can be provide by Xorg with either the nested or dummy video driver. If someone really misses functionality, we should fix that deficiency in hw/xfree86, xf86-video-dummy, or xf86-video-nested. Also, there's nothing stopping anyone from using older server versions if they still need these DDXs.
The giant blocker from my point of view is that by just deleting them, you've
made it impossible for non-root users to run them, since Xorg only reads config
files from system directories when run as a root user.
At the very minimum we should ship a couple simple configs such as (guessing at
contents here, someone would need to test and refine):
/usr/lib/X11/Xorg-vfb.conf:
------------------------------
Section "Device"
Identifier "vfb0"
Driver "dummy"
EndSection
Section "ServerFlags"
Option "AutoAddDevices" "false"
EndSection
------------------------------
/usr/lib/X11/Xorg-nested.conf:
------------------------------
Section "Device"
Identifier "Screen0"
Driver "nested"
EndSection
Section "ServerFlags"
Option "AutoAddDevices" "false"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "nested"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "nested"
EndSection
------------------------------
Even better would be to ship Xephyr, Xvfb, Xnest as simple shell scripts that
did basically "Xorg -config Xorg-vfb.conf $*" (possibly with some argument
manipulation for other arguments those supported).
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list