FreeBSD-13.0-RELEASE-amd64-KDE-Plasma (2021-06-23)

I updated the image to a vdi virtual box image by default:

https://drive.google.com/drive/folders/1jRwidGgZqesGOFh8RnLW7jypc-ZBfpML?usp=sharing

Be aware I still have quite a bit of reading up to do on how to manage this with a working zfs so all we have short of your critiques is a ufs for now. But the rest you mentioned is up and running as you wanted afaik.

You will need to enable EFI boot in your virtual machine, the rest should work from there. …
 
… I somehow managed to break what initially was perfectly working wifi. After putting my ssid and psk in wpa_supplicant.conf and and setting up my rc.conf accordingly, there seems to be absolutely nothing I can do to get it working with my wireless network adapter anymore. …

My first guess: maybe unrelated to KDE. ▶

 
Last edited:
Samuel Venable thanks, hi, early feedback (FreeBSD 14.0-CURRENT host, virtualbox-ose-6.1.22, virtualbox-ose-kmod-6.1.22_1):
  • out of the box, black screen, SDDM does not appear
  • with the system updated, with virtualbox-ose-additions-6.1.22 and with other packages upgraded from latest, SDDM appears but login gets no further than the splash screen
  • with virtualbox-ose-additions-legacy, SDDM and login succeed.
Thought-provoking!
More in due course but for now, I'm shifting to my day job …
 
… I'm not able to … ping …

Sometimes in VirtualBox I get 100% packet loss but things other than ping do work, for example:
1624730459778.png
 
Sometimes in VirtualBox I get 100% packet loss but things other than ping do work, for example:
View attachment 10331
Did you have to make any modifications to my VM to get it to work? Is this the first image I made or the second one?

Also I can't thank you enough for helping out and giving feedback, I'm sorry it hasn't been more fruitful thus far. By that last part I mean, I'm sorry it costed you so much time and a lot of stuff I must've done wrong that lead to issues on your end.
 
Is this the first image I made or the second one?

The second (2021-06-23). Our times zone differ, I probably got the date from metadata of the original .vdi within the .vdi.xz.

Did you have to make any modifications to my VM to get it to work?

Generally:
  • set a password for the freebsd user – to avoid an empty password screen locking bug involving SDDM and/or KDE, which I have been too lazy to seek/report.
For VirtualBox:
  • one essential change for networking to use em(4) instead of rum(4)
  • precautionary changes for there to be more free space
  • I could change my image to no longer require EFI – because shutdowns never lead to closure (suspect a bug in VirtualBox) – but I'm too lazy for this, it's easy enough to power off (when I'm certain that closure will not occur without it).
1624764509115.png

Other changes that I chose to make are more subtle, not the types of thing that might be expected (or wanted) by an 'everyday' user of a disk image. I'll cover these in a separate post.

… helping out and giving feedback, … it costed you so much time

I imagine that producing disk images can be far more time consuming! Not least, you reading about ZFS and so on.

For me, it's time well-spent.

Not just for things such as the current disk image, it's also well-spent in that some outcomes here should get me closer to solutions in areas elsewhere.

<https://forums.freebsd.org/threads/80860/> for example, which appears to be talking to myself, but it's an umbrella for symptoms that are encountered by a few people in diverse situations. (I don't particularly like a single umbrella, where the root causes of problems might be very different, but for fora such as these, it's an umbrella that should work.)

and a lot of stuff I must've done wrong that lead to issues on your end.

Not necessarily wrongness by any person. Testing helps to expose bugs, gaps in documentation and gaps in our understandings :)
 
Last edited:
grahamperrin so your honest opinion, would my time be better spent at this point figuring out why my wifi still isn't working, or the alernative, start again from scatch and use zfs this time around? Since you got wifi working I'm not too concerned and believe it may just be an oddity with my setup that no one else may have the same exact issue with it necessarily, and if that's likely to be the case at all, I'm probably going to go for the next vdi image when I have the time as my next priority in FreeBSD land.
 
For me: real Wi-Fi does not work (the NOAUTO aspect) at two physical machines, neither of which is based on the most recent FreeBSD-13.0-RELEASE-amd64-KDE-Plasma disk image. I wove you into the separate topic for Wi-Fi <https://forums.freebsd.org/threads/81045/> with an assumption that we'll find workarounds, or explanations, that are neither disk image- nor KDE-specific.



For FreeBSD-13.0-RELEASE-amd64-KDE-Plasma in VirtualBox: the default virtualised hardware is wired, not wireless.

1624776621438.png


<https://www.virtualbox.org/manual/UserManual.html#nichardware>
 
Other changes that I chose to make are more subtle, not the types of thing that might be expected (or wanted) by an 'everyday' user of a disk image. I'll cover these in a separate post.

Something like this:
  1. add the disk image to VirtualBox (not a virtual machine)
  2. use VirtualBox to grow the disk
  3. prepare a virtual machine with VBoxSVGA and so on, but do not enable audio input
  4. add the disk to the machine
  5. boot single user
  6. gpart recover ada0
  7. tunefs -n disable /
  8. mount -uw /
  9. ee /etc/fstab
  10. set / to rw,sync for UFS
  11. save /etc/fstab
  12. sysrc -f /etc/rc.conf sddm_enable="NO"
  13. exit to multi-user mode
  14. login as root
  15. pkg install emulators/virtualbox-ose-additions
  16. sysrc -f /etc/rc.conf vboxguest_enable="YES"
  17. sysrc -f /etc/rc.conf vboxservice_enable="YES"
  18. sysrc -f /etc/rc.conf dumpdev="AUTO"
  19. sysrc -f /etc/rc.conf ifconfig_em0="DHCP"
  20. sysrc -f /etc/rc.conf sddm_enable="YES"
  21. shutdown -r now
  22. boot single user
  23. service growfs onestart
  24. shutdown -r now
  25. boot in safe mode
  26. if SDDM appears, choose Plasma (X11) and log in
  27. if the desktop environment appears, restart in normal mode.
sysrc(8)

tunefs(8)

Code:
freebsd@freebsd:/usr/home/freebsd $ su -
root@freebsd:~ # date ; uname -KUv
Sat Jun 26 21:43:59 EDT 2021
FreeBSD 13.0-RELEASE-p1 #0: Wed May 26 22:15:09 UTC 2021     root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  1300139 1300139
root@freebsd:~ # freebsd-version -kru
13.0-RELEASE-p1
13.0-RELEASE-p1
13.0-RELEASE-p2
root@freebsd:~ # cat /etc/rc.conf
hostname="freebsd"
# wlans_rum0="wlan0"
# ifconfig_wlan0="WPA SYNCDHCP"
# ifconfig_wlan0_ipv6="inet6 accept_rtadv"

ifconfig_em0="DHCP"
ip6addrctl_enable="YES"

sshd_enable="YES"

# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"

dbus_enable="YES"
sddm_enable="NO"
vboxguest_enable="YES"
vboxservice_enable="YES"
root@freebsd:~ # pkg info -x virtualbox
virtualbox-ose-additions-legacy-5.2.44_3
root@freebsd:~ # cat /boot/loader.conf
root@freebsd:~ # cat /etc/sysctl.conf
# $FreeBSD$
#
#  This file is read when going to multi-user and its contents piped thru
#  ``sysctl'' to adjust kernel values.  ``man 5 sysctl.conf'' for details.
#

# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
#security.bsd.see_other_uids=0
# kern.coredump=0
# kern.corefile=/dev/null
root@freebsd:~ # grep url /etc/pkg/FreeBSD.conf
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
root@freebsd:~ #

ip6addrctl_enable="YES" can be ignored. According to rc.conf(5), YES is the default. The line might be a relic of me wondering why (above) in VirtualBox, ping did not work. In retrospect: maybe I should have used the port forwarding that's a feature of VirtualBox.
 
Last edited:
… Thought-provoking! …

I wonder whether sysutils/desktop-installer can reveal anything.

I'll restore from a snapshot, take desktop-installer for a spin …



… that, plus a run of pkg upgrade.

Result: success. Plasma (X11) leads to a working desktop environment.

Below:
  • 10:13 was a run of pkg autoremove
  • 10:20 was the first of the installations by desktop-installer.
Next: I'll restore from an earlier snapshot and cherry pick some of what's below without using desktop-installer

Code:
freebsd@freebsd:/usr/home/freebsd $ date ; uptime
Sun Jun 27 10:55:11 EDT 2021
10:55AM  up 4 mins, 3 users, load averages: 0.20, 0.14, 0.06
freebsd@freebsd:/usr/home/freebsd $ pkg query -e '%a = 0' %o | sort
archivers/cabextract
archivers/unzip
audio/faac
devel/automake
devel/git
devel/gmake
devel/libtool
devel/libublio
devel/pkgconf
editors/nano
emulators/virtualbox-ose-additions
graphics/drm-kmod
misc/help2man
multimedia/mp4v2
multimedia/transcode
net/rsync
ports-mgmt/dialog4ports
ports-mgmt/pkg
print/texinfo
security/sudo
sysutils/desktop-installer
sysutils/dmidecode
sysutils/exfat-utils
sysutils/fusefs-exfat
sysutils/fusefs-ext2
sysutils/fusefs-hfsfuse
sysutils/fusefs-libs
sysutils/fusefs-ntfs
sysutils/fusefs-simple-mtpfs
sysutils/htop
sysutils/k3b
x11-drivers/xf86-video-mga
x11-fm/konqueror
x11-fonts/bitstream-vera
x11-fonts/droid-fonts-ttf
x11-fonts/fira
x11-fonts/liberation-fonts-ttf
x11-fonts/webfonts
x11/kde5
x11/sddm
x11/xdm
x11/xorg
x11/xsm
x11/zenity
freebsd@freebsd:/usr/home/freebsd $ grep pkg /var/log/messages | grep Jun\ 27
Jun 27 10:03:55 freebsd pkg[859]: virtualbox-ose-additions-legacy-5.2.44_3 deinstalled
Jun 27 10:03:59 freebsd pkg[859]: auto-admin-0.7.5.2 installed
Jun 27 10:04:01 freebsd pkg[859]: virtualbox-ose-additions-6.1.22 installed
Jun 27 10:04:02 freebsd pkg[859]: desktop-installer-0.7.4 installed
Jun 27 10:07:09 freebsd pkg[852]: vulkan-headers upgraded: 1.2.181 -> 1.2.182
Jun 27 10:07:19 freebsd pkg[852]: mesa-dri upgraded: 20.2.3_1 -> 20.2.3_2
Jun 27 10:07:32 freebsd pkg[852]: qt5-gui upgraded: 5.15.2_4 -> 5.15.2_5
Jun 27 10:07:45 freebsd pkg[852]: qt5-declarative upgraded: 5.15.2 -> 5.15.2_1
Jun 27 10:07:50 freebsd pkg[852]: gdbm upgraded: 1.19 -> 1.20
Jun 27 10:07:55 freebsd pkg[852]: qt5-wayland upgraded: 5.15.2_1 -> 5.15.2_2
Jun 27 10:07:56 freebsd pkg[852]: libepoxy upgraded: 1.5.8 -> 1.5.8_1
Jun 27 10:07:58 freebsd pkg[852]: qt5-speech upgraded: 5.15.2_1 -> 5.15.2_2
Jun 27 10:08:00 freebsd pkg[852]: qt5-opengl upgraded: 5.15.2_1 -> 5.15.2_2
Jun 27 10:08:35 freebsd pkg[852]: gtk3 upgraded: 3.24.29 -> 3.24.29_1
Jun 27 10:08:40 freebsd pkg[852]: kf5-kwayland upgraded: 5.82.0 -> 5.82.0_1
Jun 27 10:08:57 freebsd pkg[852]: kf5-plasma-framework upgraded: 5.82.0 -> 5.82.0_1
Jun 27 10:09:00 freebsd pkg[852]: sdl2 upgraded: 2.0.12_4 -> 2.0.12_5
Jun 27 10:09:10 freebsd pkg[852]: qt5-multimedia upgraded: 5.15.2_1 -> 5.15.2_2
Jun 27 10:09:11 freebsd pkg[852]: plasma5-kwayland-server upgraded: 5.22.1 -> 5.22.1_1
Jun 27 10:09:12 freebsd pkg[852]: signon-ui upgraded: 0.17_7 -> 0.17_8
Jun 27 10:09:40 freebsd pkg[852]: plasma5-kwin upgraded: 5.22.1 -> 5.22.1_1
Jun 27 10:09:41 freebsd pkg[852]: libva-glx upgraded: 2.12.0 -> 2.12.0_1
Jun 27 10:09:42 freebsd pkg[852]: libGLU upgraded: 9.0.1 -> 9.0.1_1
Jun 27 10:09:48 freebsd pkg[852]: mlt upgraded: 6.26.1 -> 6.26.1_1
Jun 27 10:09:52 freebsd pkg[852]: libxine upgraded: 1.2.11_3 -> 1.2.11_4
Jun 27 10:09:55 freebsd pkg[852]: accounts-qml-module upgraded: 0.7_1 -> 0.7_2
Jun 27 10:10:26 freebsd pkg[852]: qt5-webengine upgraded: 5.15.2_2 -> 5.15.2_3
Jun 27 10:10:27 freebsd pkg[852]: mlt-qt5 upgraded: 6.26.1 -> 6.26.1_1
Jun 27 10:10:29 freebsd pkg[852]: freeglut upgraded: 3.0.0_2 -> 3.0.0_3
Jun 27 10:10:35 freebsd pkg[852]: analitza upgraded: 21.04.2 -> 21.04.2_1
Jun 27 10:10:40 freebsd pkg[852]: xorg-server upgraded: 1.20.11,1 -> 1.20.11_1,1
Jun 27 10:10:40 freebsd pkg[852]: xdriinfo upgraded: 1.0.6_3 -> 1.0.6_4
Jun 27 10:10:55 freebsd pkg[852]: plasma5-kinfocenter upgraded: 5.22.1 -> 5.22.1_1
Jun 27 10:10:57 freebsd pkg[852]: phonon-gstreamer-qt5 upgraded: 4.10.0 -> 4.10.0_1
Jun 27 10:11:03 freebsd pkg[852]: kubrick upgraded: 21.04.2 -> 21.04.2_1
Jun 27 10:11:12 freebsd pkg[852]: ksudoku upgraded: 21.04.2 -> 21.04.2_1
Jun 27 10:11:20 freebsd pkg[852]: kf5-kross upgraded: 5.82.0 -> 5.82.0_1
Jun 27 10:11:48 freebsd pkg[852]: kdenlive upgraded: 21.04.2 -> 21.04.2_1
Jun 27 10:11:55 freebsd pkg[852]: kalgebra upgraded: 21.04.2 -> 21.04.2_1
Jun 27 10:11:56 freebsd pkg[852]: jasper upgraded: 2.0.32 -> 2.0.32_1
Jun 27 10:13:28 freebsd pkg[1350]: py37-pysol-cards-0.10.1 deinstalled
Jun 27 10:13:29 freebsd pkg[1350]: py37-pyudev-0.22.0 deinstalled
Jun 27 10:13:29 freebsd pkg[1350]: suitesparse-5.10.1 deinstalled
Jun 27 10:13:29 freebsd pkg[1350]: py37-dnspython-1.16.0 deinstalled
Jun 27 10:13:29 freebsd pkg[1350]: py37-evdev-1.3.0 deinstalled
Jun 27 10:13:30 freebsd pkg[1350]: py37-numpy-1.16.6_1,1 deinstalled
Jun 27 10:13:31 freebsd pkg[1350]: py37-random2-1.0.1 deinstalled
Jun 27 10:13:31 freebsd pkg[1350]: py37-six-1.15.0 deinstalled
Jun 27 10:13:31 freebsd pkg[1350]: suitesparse-klu-1.3.9 deinstalled
Jun 27 10:13:32 freebsd pkg[1350]: py37-setuptools-57.0.0 deinstalled
Jun 27 10:13:42 freebsd pkg[1350]: python37-3.7.10_1 deinstalled
Jun 27 10:13:44 freebsd pkg[1350]: suitesparse-ldl-2.2.6 deinstalled
Jun 27 10:13:44 freebsd pkg[1350]: suitesparse-slip_lu-1.0.2 deinstalled
Jun 27 10:13:44 freebsd pkg[1350]: suitesparse-spqr-2.0.9 deinstalled
Jun 27 10:13:44 freebsd pkg[1350]: suitesparse-btf-1.2.6 deinstalled
Jun 27 10:13:44 freebsd pkg[1350]: suitesparse-cxsparse-3.2.0 deinstalled
Jun 27 10:13:45 freebsd pkg[1350]: suitesparse-graphblas-5.0.5_1 deinstalled
Jun 27 10:13:45 freebsd pkg[1350]: suitesparse-mongoose-2.0.4 deinstalled
Jun 27 10:13:45 freebsd pkg[1350]: suitesparse-rbio-2.2.6 deinstalled
Jun 27 10:20:01 freebsd pkg[2098]: dmidecode-3.3 installed
Jun 27 10:20:08 freebsd pkg[2176]: gmake-4.3_2 installed
Jun 27 10:20:09 freebsd pkg[2255]: unzip-6.0_8 installed
Jun 27 10:20:13 freebsd pkg[2333]: xxhash-0.8.0 installed
Jun 27 10:20:14 freebsd pkg[2333]: rsync-3.2.3_1 installed
Jun 27 10:20:15 freebsd pkg[2496]: dialog4ports-0.1.6 installed
Jun 27 10:24:16 freebsd pkg[3185]: p5-TimeDate-2.33,1 installed
Jun 27 10:24:17 freebsd pkg[3185]: p5-LWP-MediaTypes-6.04 installed
Jun 27 10:24:17 freebsd pkg[3185]: p5-HTTP-Date-6.05 installed
Jun 27 10:24:17 freebsd pkg[3185]: p5-URI-5.09 installed
Jun 27 10:24:17 freebsd pkg[3185]: p5-IO-HTML-1.001_1 installed
Jun 27 10:24:17 freebsd pkg[3185]: p5-Clone-0.45 installed
Jun 27 10:24:17 freebsd pkg[3185]: p5-Encode-Locale-1.05 installed
Jun 27 10:24:19 freebsd pkg[3185]: p5-HTTP-Message-6.32 installed
Jun 27 10:24:19 freebsd pkg[3185]: p5-HTML-Tagset-3.20_1 installed
Jun 27 10:24:19 freebsd pkg[3185]: p5-Socket6-0.29 installed
Jun 27 10:24:20 freebsd pkg[3185]: p5-HTML-Parser-3.76 installed
Jun 27 10:24:20 freebsd pkg[3185]: p5-Mozilla-CA-20200520 installed
Jun 27 10:24:20 freebsd pkg[3185]: p5-Net-SSLeay-1.90 installed
Jun 27 10:24:20 freebsd pkg[3185]: p5-IO-Socket-INET6-2.72_1 installed
Jun 27 10:24:20 freebsd pkg[3185]: p5-GSSAPI-0.28_1 installed
Jun 27 10:24:21 freebsd pkg[3185]: p5-Digest-HMAC-1.04 installed
Jun 27 10:24:21 freebsd pkg[3185]: p5-CGI-4.53 installed
Jun 27 10:24:21 freebsd pkg[3185]: p5-IO-Socket-SSL-2.071 installed
Jun 27 10:24:21 freebsd pkg[3185]: p5-Authen-SASL-2.16_1 installed
Jun 27 10:24:21 freebsd pkg[3185]: p5-Error-0.17029 installed
Jun 27 10:24:21 freebsd pkg[3185]: cvsps-2.1_2 installed
Jun 27 10:24:32 freebsd pkg[3185]: git-2.32.0 installed
Jun 27 10:32:14 freebsd pkg[2119]: xdm-1.1.12_3 installed
Jun 27 10:32:18 freebsd pkg[2221]: xsm-1.0.4 installed
Jun 27 10:32:21 freebsd pkg[2299]: xf86-video-mga-2.0.0_2,3 installed
Jun 27 10:32:31 freebsd pkg[2458]: bitstream-vera-1.10_8 installed
Jun 27 10:32:37 freebsd pkg[2538]: liberation-fonts-ttf-2.1.4,2 installed
Jun 27 10:32:55 freebsd pkg[2618]: fira-4.301_1 installed
Jun 27 10:33:04 freebsd pkg[2698]: droid-fonts-ttf-20131024_5 installed
Jun 27 10:33:05 freebsd pkg[2789]: cabextract-1.9.1 installed
Jun 27 10:33:12 freebsd pkg[2865]: webfonts-0.30_14 installed
Jun 27 10:37:29 freebsd pkg[3678]: transcode-1.1.7_48 installed
Jun 27 10:37:49 freebsd pkg[3848]: dvd+rw-tools-7.1_3 installed
Jun 27 10:37:49 freebsd pkg[3848]: cdrdao-1.2.4_3 installed
Jun 27 10:37:52 freebsd pkg[3848]: emovix-0.9.0_2 installed
Jun 27 10:37:52 freebsd pkg[3848]: libburn-1.5.0 installed
Jun 27 10:38:22 freebsd pkg[3848]: k3b-21.04.2 installed
Jun 27 10:38:30 freebsd pkg[4491]: m4-1.4.18_1,1 installed
Jun 27 10:38:31 freebsd pkg[4491]: libtool-2.4.6_1 installed
Jun 27 10:38:36 freebsd pkg[4573]: autoconf-wrapper-20131203 installed
Jun 27 10:38:37 freebsd pkg[4573]: autoconf-2.69_3 installed
Jun 27 10:38:39 freebsd pkg[4573]: automake-1.16.3 installed
Jun 27 10:38:42 freebsd pkg[4657]: p5-Locale-gettext-1.07 installed
Jun 27 10:38:45 freebsd pkg[4657]: help2man-1.48.3 installed
Jun 27 10:38:46 freebsd pkg[4809]: mp4v2-2.0.0 installed
Jun 27 10:38:48 freebsd pkg[5035]: faac-1.30 installed
Jun 27 10:38:54 freebsd pkg[5126]: p5-Unicode-EastAsianWidth-12.0 installed
Jun 27 10:38:55 freebsd pkg[5126]: p5-Locale-libintl-1.32 installed
Jun 27 10:38:56 freebsd pkg[5126]: p5-Text-Unidecode-1.30 installed
Jun 27 10:38:56 freebsd pkg[5126]: pkgconf-1.7.4,1 installed
Jun 27 10:39:06 freebsd pkg[5126]: zenity-3.32.0 installed
Jun 27 10:39:06 freebsd pkg[5126]: libublio-20070103_2 installed
Jun 27 10:39:09 freebsd pkg[5126]: texinfo-6.7_5,1 installed
Jun 27 10:39:09 freebsd pkg[5126]: fusefs-libs-2.9.9_2 installed
Jun 27 10:39:11 freebsd pkg[5177]: exfat-utils-1.3.0 installed
Jun 27 10:39:11 freebsd pkg[5177]: fusefs-exfat-1.3.0 installed
Jun 27 10:39:16 freebsd pkg[5179]: e2fsprogs-libuuid-1.46.2 installed
Jun 27 10:39:16 freebsd pkg[5179]: e2fsprogs-libblkid-1.46.2 installed
Jun 27 10:39:16 freebsd pkg[5179]: e2fsprogs-libss-1.46.2 installed
Jun 27 10:39:17 freebsd pkg[5179]: e2fsprogs-1.46.2 installed
Jun 27 10:39:17 freebsd pkg[5179]: utf8proc-2.6.1 installed
Jun 27 10:39:19 freebsd pkg[5179]: fusefs-ntfs-2017.3.23 installed
Jun 27 10:39:19 freebsd pkg[5179]: fusefs-ext2-0.0.10_2 installed
Jun 27 10:39:19 freebsd pkg[5179]: fusefs-hfsfuse-0.126 installed
Jun 27 10:39:20 freebsd pkg[5179]: fusefs-simple-mtpfs-0.4.0 installed
freebsd@freebsd:/usr/home/freebsd $
 
… Next: I'll restore from an earlier snapshot and cherry pick …

With an outdated OS and packages limited to quarterly, a full run of desktop-installer did not produce a working SDDM.

This screenshot was taken after stopping SDDM. (I don't know whether it's directly relevant to SDDM. IIRC the desktop-installer attempt to start SDDM is preceded by a root KDE Plasma session without SDDM.)

qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, bsdfb, minimal, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
1624812829213.png

Amongst Google search results: [KDE] First update in months, boot stuck on black screen with cursor (plasma not launching?) : archlinux (2020-12-22)

With an updated OS: no better – still, a black screen instead of SDDM.

After switching from quarterly to latest and upgrading packages: success.
 
1) for wifi to work in VM client, you have to enable bridge (for client to use host wifi). There is no other way.
1a) it does not matter if host is connected over wifi or wired for vlient networking to work with enabled NAT/cable
2) FreeBSD sddm is quite broken just replace it with another display manager and black screen after login is gone.
 
With VirtualBox set to not use NAT?
Virtualbox client does not provide wifi card so any way you set it up, it will point do wired card anyway
vn client can only use host wifi, to set it up, you need to set bridge in Virtualbox host manager

I don't use safe mode to log in from desktop manager, and I don't have black screen problem because I don't use sddm, other display managers just work.
 
After SLiM (instead of SDDM) executes a login command, a crash of ksplashqml is remarkable:

That occurs for the predefined freebsd user but not for a new user.

For a new user test with an identical ~/.xinitrc I get:

1624922513957.png


~/.xinitrc comprises:

Code:
#!/bin/sh
# /usr/local/bin/twm &
# sleep 1
# exec xterm
exec ck-launch-session /usr/local/bin/startplasma-x11

PS the #!/bin/sh was without a leading #, now corrected.
 
… login gets no further than the splash screen …

A log of one such session (the tail: I could not switch tty, had to perform an ACPI shutdown). Copied from <https://termbin.com/yr9w9>:

Code:
kdeinit5: preparing to launch '/usr/local/lib/libexec/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 888, result = 0
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit5: opened connection to :0
kdeinit5: Got SETENV 'XCURSOR_THEME=Oxygen_Black' from launcher.
kdeinit5: Got SETENV 'XCURSOR_SIZE=24' from launcher.
kdeinit5: Got SETENV 'GTK_RC_FILES=/etc/gtk/gtkrc:/home/freebsd/.gtkrc:/home/freebsd/.config/gtkrc' from launcher.
kdeinit5: Got SETENV 'GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/freebsd/.gtkrc-2.0:/home/freebsd/.config/gtkrc-2.0' from launcher.
org.kde.plasma.session: process job  "kcminit_startup" finished with exit code  0
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Warning: fallback to QtQuick software backend.
kwin_platform_x11_standalone: Bogus refresh rate 0
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5089:46: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5091:48: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5093:48: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5097:47: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5099:46: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5107:48: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5111:46: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5113:46: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5117:45: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5120:46: this compose sequence is a duplicate of another; skipping line
Installing the delayed initialization callback.
Qt: Session management error: networkIdsList argument is NULL
kdeinit5: Got SETENV 'SESSION_MANAGER=local/freebsd:/tmp/.ICE-unix/914' from launcher.
kdeinit5: Got SETENV 'SESSION_MANAGER=local/freebsd:/tmp/.ICE-unix/914' from launcher.
org.kde.plasma.session: Starting autostart service  "/usr/local/etc/xdg/autostart/powerdevil.desktop" ("/usr/local/lib/libexec/org_kde_powerdevil")
org.kde.plasma.session: Starting autostart service  "/usr/local/etc/xdg/autostart/polkit-kde-authentication-agent-1.desktop" ("/usr/local/lib/libexec/polkit-kde-authentication-agent-1")
org.kde.plasma.session: Starting autostart service  "/usr/local/etc/xdg/autostart/pam_kwallet_init.desktop" ("/usr/local/lib/libexec/pam_kwallet_init")
org.kde.plasma.session: Starting autostart service  "/usr/local/etc/xdg/autostart/xembedsniproxy.desktop" ("/usr/local/bin/xembedsniproxy")
org.kde.plasma.session: Starting autostart service  "/usr/local/etc/xdg/autostart/baloo_file.desktop" ("/usr/local/lib/libexec/baloo_file")
org.kde.plasma.session: Starting autostart service  "/usr/local/etc/xdg/autostart/org.kde.plasmashell.desktop" ("/usr/local/bin/plasmashell")
New PolkitAgentListener  0x803a20600
Adding new listener  PolkitQt1::Agent::Listener(0x803a40c30) for  0x803a20600
Listener online
org.kde.plasma.session: Starting autostart service  "/usr/local/etc/xdg/autostart/kaccess.desktop" ("/usr/local/bin/kaccess")
Authentication agent result: true
Xlib XKB extension major= 1  minor= 0
org.kde.plasma.session: Starting autostart service  "/usr/local/etc/xdg/autostart/pulseaudio.desktop" ("/usr/local/bin/start-pulseaudio-x11")
X server XKB extension major= 1  minor= 0
org.kde.plasma.session: Starting autostart service  "/usr/local/etc/xdg/autostart/restore_kmix_volumes.desktop" ("/usr/local/bin/kmixctrl", "--restore")
org.kde.plasma.session: Starting autostart service  "/usr/local/etc/xdg/autostart/org.kde.discover.notifier.desktop" ("/usr/local/lib/libexec/DiscoverNotifier")
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
org.kde.plasma.session: Starting autostart service  "/usr/local/etc/xdg/autostart/gmenudbusmenuproxy.desktop" ("/usr/local/bin/gmenudbusmenuproxy")
Warning: fallback to QtQuick software backend.
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
kf.config.core: "\"fsrestore1\" - conversion of \"0,0,0,0\" to QRect failed"
kf.config.core: "\"fsrestore2\" - conversion of \"0,0,0,0\" to QRect failed"
org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds not supported"
org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed
org.kde.kmix: Mixer id was empty when creating DBUS path. Emergency code created the id= "OSS:::1"
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
couldn't find any notifier backend ("/usr/local/lib/qt5/plugins", "/usr/local/lib/libexec")
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 718, resource id: 27262983, major code: 18 (ChangeProperty), minor code: 0
couldn't find any notifier backend ("/usr/local/lib/qt5/plugins", "/usr/local/lib/libexec")
org.kde.powerdevil: DPMS extension not available
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 724, resource id: 27262984, major code: 18 (ChangeProperty), minor code: 0
org.kde.powerdevil: The profile  "AC" tried to activate "DPMSControl" a non-existent action. This is usually due to an installation problem, a configuration problem, or because the action is not supported
org.kde.powerdevil: Handle button events action could not check for screen configuration
org.kde.powerdevil: The profile  "AC" tried to activate "DimDisplay" a non-existent action. This is usually due to an installation problem, a configuration problem, or because the action is not supported
org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds not supported"
W: [(null)] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because PulseAudio was built without capabilities support.
percent 5 -> divisor 20
org.kde.plasma.session: Starting autostart service  "/usr/local/etc/xdg/autostart/org.kde.korgac.desktop" ("/usr/local/bin/korgac")
org.kde.plasma.session: Starting autostart service  "/usr/local/etc/xdg/autostart/kmix_autostart.desktop" ("/usr/local/bin/kmix", "--keepvisibility")
org.kde.plasma.session: Starting autostart service  "/usr/local/etc/xdg/autostart/vboxclient.desktop" ("/usr/local/bin/VBoxClient-all")
kwin_platform_x11_standalone: Bogus refresh rate 0
org.kde.kmix: Mixer id was empty when creating DBUS path. Emergency code created the id= "OSS:::1"
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
kwin_platform_x11_standalone: Bogus refresh rate 0
print-manager.kded: unable to register service to dbus
kcm_touchpad: Using X11 backend
QDBusConnection: name 'org.freedesktop.UDisks2' had owner '' but we thought it was ':1.4'
Delayed initialization.
Reloading the khotkeys configuration
Version 2 File!
true
Imported file "/usr/local/share/khotkeys/defaults.khotkeys"
Imported file "/usr/local/share/khotkeys/kde32b1.khotkeys"
Imported file "/usr/local/share/khotkeys/konqueror_gestures_kde321.khotkeys"
Imported file "/usr/local/share/khotkeys/konsole.khotkeys"
QObject::connect(Solid::OpticalDrive, SolidAutoEject): invalid nullptr parameter
QObject::connect(Solid::OpticalDrive, SolidAutoEject): invalid nullptr parameter
QObject::connect(Solid::OpticalDrive, SolidAutoEject): invalid nullptr parameter
QObject::connect(Solid::OpticalDrive, SolidAutoEject): invalid nullptr parameter
Registering ":1.21/StatusNotifierItem" to system tray
Registering ":1.28/StatusNotifierItem" to system tray
kwin_platform_x11_standalone: Bogus refresh rate 0
org.kde.kmix: Mixer id was empty when creating DBUS path. Emergency code created the id= "OSS:::1"
Registering ":1.32/StatusNotifierItem" to system tray
kf.plasma.quick: Applet preload policy set to 1
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 854, resource id: 10485776, major code: 18 (ChangeProperty), minor code: 0
trying to show an empty dialog
file:///usr/local/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
file:///usr/local/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
kdeinit5: Got EXEC_NEW '/usr/local/lib/qt5/plugins/kf5/kio/desktop.so' from launcher.
kdeinit5: preparing to launch '/usr/local/lib/qt5/plugins/kf5/kio/desktop.so'
Registering ":1.29/StatusNotifierItem" to system tray
kdeinit5: Got EXEC_NEW '/usr/local/lib/qt5/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/local/lib/qt5/plugins/kf5/kio/file.so'
file:///usr/local/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:531:9: QML Label: Binding loop detected for property "height"
file:///usr/local/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:486:13: QML Label: Binding loop detected for property "height"
trying to show an empty dialog
file:///usr/local/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml:30:1: QML DropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
file:///usr/local/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:486:13: QML Label: Binding loop detected for property "height"
file:///usr/local/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:531:9: QML Label: Binding loop detected for property "height"
file:///usr/local/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:553:5: QML Label: Binding loop detected for property "height"
trying to show an empty dialog
file:///usr/local/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:208: Error: Invalid write to global property "prefix"
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
Cyclic dependency detected between "file:///usr/local/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/local/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml"
file:///usr/local/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/PulseAudio.qml:23:1: module "org.kde.plasma.private.volume" is not installed
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
libkcups: CUPS-Get-Printers last error: 1282 Bad file descriptor
libkcups: Get-Jobs last error: 1282 Bad file descriptor
libkcups: Get-Jobs last error: 1282 Bad file descriptor
libkcups: Create-Printer-Subscriptions last error: 1282 Bad file descriptor
libkcups: Request failed 1282 -1
Registering "org.kde.StatusNotifierHost-937" as system tray
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
failed to acquire GL context to resolve capabilities, using defaults..
Plasma Shell startup completed
trying to show an empty dialog
file:///usr/local/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
file:///usr/local/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
kdeinit5: Got EXEC_NEW '/usr/local/lib/qt5/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/local/lib/qt5/plugins/kf5/kio/file.so'
Entry is not valid "kontact.desktop" QSharedPointer(0x811f5e600)
Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x811f5e600)
Entry is not valid "kontact.desktop" QSharedPointer(0x811f5e700)
Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x811f5e700)
trying to show an empty dialog
file:///usr/local/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/LeaveButtons.qml:69:5: QML ToolButton: Binding loop detected for property "display"
trying to show an empty dialog
file:///usr/local/lib/qt5/qml/org/kde/plasma/components/ModelContextMenu.qml:38:1: QML ModelContextMenu: Accessible must be attached to an Item
kdeinit5: Got EXEC_NEW '/usr/local/lib/qt5/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/local/lib/qt5/plugins/kf5/kio/file.so'
kdeinit5: PID 1032 terminated.
kdeinit5: PID 1026 terminated.
kdeinit5: PID 1024 terminated.
The X11 connection broke (error 1). Did the X11 server die?
kdeinit5: Fatal IO error: client killed
kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
kf.notifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
The X11 connection broke (error 1). Did the X11 server die?
kdeinit5: sending SIGHUP to children.
file:///usr/local/share/plasma/plasmoids/org.kde.plasma.clipboard/contents/ui/ClipboardPage.qml:119:13: Unable to assign [undefined] to QAbstractItemModel*
file:///usr/local/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:48: TypeError: Cannot read property 'iconSizes' of null
file:///usr/local/share/plasma/plasmoids/org.kde.plasma.marginsseparator/contents/ui/main.qml:29: TypeError: Cannot read property 'largeSpacing' of null
file:///usr/local/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml:72: TypeError: Cannot read property 'iconSizes' of null
file:///usr/local/share/plasma/plasmoids/org.kde.plasma.printmanager/contents/ui/printmanager.qml:71: TypeError: Cannot read property 'gridUnit' of null
file:///usr/local/share/plasma/plasmoids/org.kde.plasma.printmanager/contents/ui/printmanager.qml:72: TypeError: Cannot read property 'gridUnit' of null
file:///usr/local/share/plasma/plasmoids/org.kde.plasma.printmanager/contents/ui/PopupDialog.qml:87: TypeError: Cannot read property 'largeSpacing' of null
file:///usr/local/share/plasma/plasmoids/org.kde.plasma.printmanager/contents/ui/PopupDialog.qml:79: TypeError: Cannot read property 'longDuration' of null
file:///usr/local/share/plasma/plasmoids/org.kde.plasma.printmanager/contents/ui/PopupDialog.qml:80: TypeError: Cannot read property 'longDuration' of null
file:///usr/local/share/plasma/plasmoids/org.kde.plasma.printmanager/contents/ui/PopupDialog.qml:41: TypeError: Cannot read property 'gridUnit' of null

/usr/home/freebsd/.xinitrc for the log above:

Code:
#!/usr/local/bin/bash
exec ck-launch-session /usr/local/bin/startplasma-x11 >> /tmp/startplasma-x11-log.txt 2>&1
 
With a simple /usr/home/freebsd/.xinitrc to open Konsole in twm, it seems that KWin works.

Code:
freebsd@freebsd:/usr/home/freebsd $ pkill twm ; kwin_x11 --replace
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Warning: fallback to QtQuick software backend.
kwin_platform_x11_standalone: Bogus refresh rate 0
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5089:46: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5091:48: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5093:48: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5097:47: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5099:46: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5107:48: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5111:46: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5113:46: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5117:45: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/local/lib/X11/locale/en_US.UTF-8/Compose:5120:46: this compose sequence is a duplicate of another; skipping line

1625198995791.png
 
… need to enable EFI boot in your virtual machine, …

I decided to try without EFI. Used gpart according to the post below, then booted and experimented.


SDDM runs but nothing appears (there's no switch to ttyv8).

1625205364343.png

After stopping SDDM:

Code:
Xorg -configure


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 13.0-RELEASE-p2 amd64
Current Operating System: FreeBSD freebsd 13.0-RELEASE-p3 FreeBSD 13.0-RELEASE-p3 #0: Tue Jun 29 19:46:20 UTC 2021     root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
Build Date: 29 June 2021  01:13:15AM
 
Current version of pixman: 0.40.0
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul  2 02:07:50 2021
List of video drivers:
    scfb
    vboxvideo
    modesetting
    vesa
scfb trace: probe start
(++) Using config file: "/root/xorg.conf.new"
(==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/local/share/X11/xorg.conf.d"


Xorg detected your mouse at device /dev/sysmouse.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.

Your xorg.conf file is /root/xorg.conf.new

To test the server, run 'X -config /root/xorg.conf.new'

(EE) Server terminated with error (2). Closing log file.
root@freebsd:~ #

I never understood the implications of error (2) in this context but for reference, here's the resulting file:

Code:
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/local/lib/xorg/modules"
    FontPath     "/usr/local/share/fonts/misc/"
    FontPath     "/usr/local/share/fonts/TTF/"
    FontPath     "/usr/local/share/fonts/OTF/"
    FontPath     "/usr/local/share/fonts/Type1/"
    FontPath     "/usr/local/share/fonts/100dpi/"
    FontPath     "/usr/local/share/fonts/75dpi/"
    FontPath     "catalogue:/usr/local/etc/X11/fontpath.d"
EndSection

Section "Module"
    Load  "glx"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/sysmouse"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
    Identifier  "Card0"
    Driver      "vboxvideo"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

X -config /root/xorg.conf.new results in:
  • black screen
  • cursor at top left, non-blinking
  • no response to input
  • unable to switch from one tty to another
  • ACPI shutdown required.
 
Back
Top