Bug 254464 - emulators/virtualbox-ose-additions version 6.1.18 cannot start Xorg
Summary: emulators/virtualbox-ose-additions version 6.1.18 cannot start Xorg
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Virtualbox Team (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-21 14:58 UTC by Emrion
Modified: 2021-04-21 16:41 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (vbox)


Attachments
Xorg log for VBoxVGA as graphic adapter (21.44 KB, text/plain)
2021-03-21 14:58 UTC, Emrion
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emrion 2021-03-21 14:58:10 UTC
Created attachment 223477 [details]
Xorg log for VBoxVGA as graphic adapter

Hi,

I have a virtualbox VM with FreeBSD 12.2-RELEASE-p4 as guest on a Windows machine (VirtualBox  6.1.18 r142142). After updating to virtualbox-ose-additions-6.1.18 (latest repo, all packages are up to date), I got a blank screen instead of Lxde. I normally use the VBoxVGA as graphic adapter but tried VMSVGA as well (with the proper driver installed): same result.

See the provided log.

Reference: https://forums.freebsd.org/threads/update-to-virtualbox-ose-additions-6-1-18-killed-xorg.79451
Comment 1 cyclaero 2021-03-23 17:36:36 UTC
Initially, I experienced the same problem. and I took also part on said Forums thread (user obsigna).

After some trials & errors, I got it to work. I vaguely remembered that some weeks ago I read somewhere, that it is important to orderly finish the desktop session before deleting the old and installing the new virtualbox-ose-additions. I cannot find this anymore, but I am sure that I did not dream reading it. Anyway this worked out. I started with an almost identical snapshot, which had still the old additions installed. In order to be really on the narrow road of said hint, I did the following:

1. deactivate the vbox entries in /etc/rc.conf
2. restart into the GNOME desktop
3. delete the old additions
4. restart into the GNOME desktop again
5. install the new addions and activate the vbox entries in /etc/rc.conf
6. restart into the GNOME desktop again, now with new additions

Now everything is working fine. Most probably, step 4 was not necessary. But so what, its done and everything is working now.
Comment 2 Emrion 2021-03-24 20:28:29 UTC
This trick doesn't work for me.

Looking at /var/log/messages, I found: "console-kit-daemon[729]: WARNING: Error waiting for native console 9 activation: Inappropriate ioctl for device"

If it can help...
Comment 3 Graham Perrin 2021-04-21 16:41:24 UTC
From <https://forums.freebsd.org/threads/79451/#post-507672>: 

>> … killed Xorg​
> 
> The problem is not so broad.
> 
> Please:
> 
> * what do LXDE and Plasma have in common?
> 
> …

The KDE Quick start at <https://community.kde.org/FreeBSD/Setup#Quick_start> is updated with reference to this bug.