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
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.
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...
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.
I just found that the problem is related to full screen mode. If I exit from full screen and reboot, LXDE works. Then, I can reenter in full screen mode without problems. I can even reboot, it still works (although the resolution is 1920x1020 instead of 1920x1080). But, if I power off the VM and start it, I get again a black screen.
(In reply to Emrion from comment #4) > … black screen … Today's <https://forums.freebsd.org/threads/80860/> is: > Spun off from posts by other users under > <https://forums.FreeBSD.org/threads/79825/post-512542> > (after the original issue was solved). Emrion, please join me in the new topic. Thanks.
Still not reproducible on amd64, (In reply to Emrion from comment #4) <https://forums.freebsd.org/posts/516964> (2021-06-12 16:53): > Not reproducible here in that way. I used the menu of LXDE to perform the > shutdown whilst the guest was in full screen mode, started the guest, used > SDDM to begin the LXDE session then took the screenshot below. > > Emrion please: how, exactly, did you power off the guest in your case? > > Do you use SDDM?
(In reply to Graham Perrin from comment #6) I use slim but IIRC, even without slim I get this black screen. Frankly, I tested a bunch of things without any result. I don't think this problem is biting many people. So, let it be.
(In reply to Emrion from comment #7) Thank you. A difficulty is, not having the issue reproducible – to tell whether it's caused by: a) a port (or ports); b) local configuration; c) some combination of (a) + (b). If you'd like to continue on the freebsd-virtualization list (I'm a subscriber), we might reach a conclusion, then, if necessary, reopen this report. <https://lists.freebsd.org/subscription/freebsd-virtualization>