I uploaded the fix in the approval queue ** Summary changed:
- No graphics after update, caused by virtualbox + [SRU] No graphics after update, caused by virtualbox ** Description changed: - After performing an "apt-get update && apt-get upgrade" on a Ubuntu - 16.04.4 box, graphics fails to start. I use my laptop with text boot, - then I log in and issue "startx", with "/usr/lib/gnome-flashback/gnome- - flashback-metacity" in my ~/.xinitrc file. After update, "startx" (Xorg) - returns me to character prompt. Same with KDE, and while WMaker seemed - to start, I still couldn't run apps like Firefox or Konsole. Tinkering - with my system for about two hours I managed to figure out that this - behaviour is caused by some Virtualbox package. After issuing "apt-get - purge virtualbox*", the normal behaviour returned. Fortunately I don't - use Virtualbox, it was installed 'just in case', so I could remove it - without affecting everyday usage. But it seems that something in - Virtualbox is seriously broken. + [Impact] + * ubuntu when used as a guest inside a Virtualbox VM machine + + [Test Case] + * Install Ubuntu and mate or other DM, experience a black screen + + [Regression Potential] + * This is part of virtualbox on Debian and Ubuntu since bionic and 3 months + + Author: Gianfranco Costamagna <costamagnagianfra...@yahoo.it> + Date: Tue Apr 24 00:15:39 2018 +0200 + + basically, I now detect at runtime the --check3d switch, and enable the + mesa override only for desktop and not for applications, the same as the + official guest-additions packages do. + + this is the code: + + + if /usr/bin/VBoxClient --check3d 2>/dev/null; then + + if test -e /usr/lib/virtualbox/additions/00vboxvideo.conf; then + + cp -f /usr/lib/virtualbox/additions/00vboxvideo.conf /etc/ld.so.conf.d/00vboxvideo.conf + + ldconfig + + fi + + fi + + + + if test -e /etc/ld.so.conf.d/00vboxvideo.conf; then + + rm -f /etc/ld.so.conf.d/00vboxvideo.conf + + ldconfig + + fi + + + the update-alternatives switch can't work when 3d is not enabled, and with user applications using mesa-specific features. + + [Other info] + After performing an "apt-get update && apt-get upgrade" on a Ubuntu 16.04.4 box, graphics fails to start. I use my laptop with text boot, then I log in and issue "startx", with "/usr/lib/gnome-flashback/gnome-flashback-metacity" in my ~/.xinitrc file. After update, "startx" (Xorg) returns me to character prompt. Same with KDE, and while WMaker seemed to start, I still couldn't run apps like Firefox or Konsole. Tinkering with my system for about two hours I managed to figure out that this behaviour is caused by some Virtualbox package. After issuing "apt-get purge virtualbox*", the normal behaviour returned. Fortunately I don't use Virtualbox, it was installed 'just in case', so I could remove it without affecting everyday usage. But it seems that something in Virtualbox is seriously broken. A cut from apt's history.log after upgrade and before package removal: virtualbox:amd64 (5.0.40-dfsg-0ubuntu1.16.04.2, 5.1.34-dfsg-0ubuntu1.16.04.2) virtualbox-dkms:amd64 (5.0.40-dfsg-0ubuntu1.16.04.2, 5.1.34-dfsg-0ubuntu1.16.04.2) virtualbox-guest-additions-iso:amd64 (5.0.40-0ubuntu1.16.04.1, 5.1.34-0ubuntu1.16.04.2) virtualbox-guest-dkms:amd64 (5.0.40-dfsg-0ubuntu1.16.04.2, 5.1.34-dfsg-0ubuntu1.16.04.2) virtualbox-guest-utils:amd64 (5.0.40-dfsg-0ubuntu1.16.04.2, 5.1.34-dfsg-0ubuntu1.16.04.2) virtualbox-guest-x11:amd64 (5.0.40-dfsg-0ubuntu1.16.04.2, 5.1.34-dfsg-0ubuntu1.16.04.2) virtualbox-qt:amd64 (5.0.40-dfsg-0ubuntu1.16.04.2, 5.1.34-dfsg-0ubuntu1.16.04.2) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1762491 Title: [SRU] No graphics after update, caused by virtualbox To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1762491/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs