Other Some questions about installing Lumina Desktop Environment


I've read at some pages with instructions for installing Lumina that dbus and hald should be enabled at /etc/rc.conf. Otherwise, in Lumina's FAQ they say Lumina doesn't need any framework like dbus or hald. So what are the advantages and disadvantages of enabling dbus and/or hald at /etc/rc.conf when installing Lumina Desktop Environment?

Many thanks.
hald and dbus are both completely unnecessary for Lumina.
There *is* a bug in Qt5 right now which requires a local dbus session for any Qt application (including Lumina) to run[1], but you can easily work around that right now with a user-level dbus-launch --exit-with-session /usr/local/bin/start-lumina-desktop call when starting the desktop (if starting from the CLI - graphical DMs typically do this automatically).

[1] https://bugreports.qt.io/browse/QTBUG-51940

EDIT: Another way to bypass this Qt bug is to disable dbus support when compiling the Qt libraries, but since this impacts many other applications/desktops adversely it should probably be used sparingly.
Reading this alongside http://lumina-desktop.org/get-lumina/

A few additional notes from the perspective of someone who's:
  • less familiar with FreeBSD
  • experimenting with an early 2011 MacBookPro8,2.
$ pkg install compton xdm xf86-video-scfb
$ echo 'dbus_enable="YES"' >> /etc/rc.conf
$ cat /etc/ttys | grep ttyv8
ttyv8  "/usr/local/bin/xdm -nodaemon"  xterm  on secure
$ echo "/usr/local/bin/start-lumina-desktop" > ~/.xsession

https://wiki.freebsd.org/Graphics/SCFB point 4 for

https://www.dragonflybsd.org/docs/how_to_get_to_the_desktop/#index10h3 is explicitly "wildly out of date" but still, I found it useful as a starting point for some puzzles.