Bug#697146: xserver-xorg script forces vboxvideo even if virtualbox guest additions are not installed
Il 02/01/2013 01:05, Ben Armstrong ha scritto:
> On 01/01/13 07:41 PM, Eugenio 'g7' Paolantonio wrote:
>> The same script is "poking dpkg-internal paths" several lines before to
>> check for the xserver-xorg package.
>> The vboxvideo driver is contained into the virtualbox-guest-x11 package.
>> Xorg does not do its driver-selection job because the driver (via a file
>> in /etc/X11/xorg.conf.d) is forced, so when X does not find it, it exits.
> See the live-config man page. So far as I can see, it only does this if
> you use the xorg-driver boot parameter. By default, Xorg *is* allowed to
> do its job. If xorg-driver is set by the user and it's blowing up, I
> consider that user error.
The "autodetecting" mentioned into the live-config man page refers to
the xserver-xorg script and not Xorg itself.
If the xorg-driver boot parameter is blank, the script tries to detect
the driver by looking at the PCI ID of the graphic card, see the code ().
When it finds the PCI ID of the vbox graphic card, it wrongly assumes
that the vboxvideo driver is installed, which it may not be true.
Then it creates (or an already created configuration file is copied) a
file in /etc/X11/xorg.conf.d which basically forces X to load that driver.
If the package containing vboxvideo is not installed, obviously X does
exit because the driver listed into the configuration file is not installed.
.: Eugenio Paolantonio - Semplice Linux developer :.
Twitter: @eugenio_g7 - Homepage: http://me.medesimo.eu