New version attached for KDE Plasma users. This version setup's everything
properly for KDE Plasma:

data/scripts/Xsession:

+if [[ $@ == *startplasma-x11* ]]; then
+    # DEBUG
+    #export QT_LOGGING_RULES="*=true"
+
+    #export QT_DEBUG_PLUGINS=0
+    # https://userbase.kde.org/KDE_System_Administration/Environment_Variables
+
+    #export QT_LOGGING_RULES="*kwin*=true"
+    export KWIN_SCREENSHOT_NO_PERMISSION_CHECKS=1
+    #export QT_FORCE_STDERR_LOGGING=1
+    export QML_DISABLE_DISK_CACHE=1
+
+    export XDG_RUNTIME_DIR=$(mktemp -d /tmp/"$USER"-runtime-XXXXXX)
+    if [ ! -d $XDG_RUNTIME_DIR ]; then
+        export XDG_RUNTIME_DIR=/tmp/run/$(id -u)
+        mkdir -m 700 -p $XDG_RUNTIME_DIR
+    fi
+
+    if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; 
then
+        eval $(dbus-launch --sh-syntax --exit-with-x11)
+    fi
+
+    /usr/local/bin/ck-launch-session "$@"
+    exit 1
+fi
+

Another advantage: with sddm, KDE Plasma starts up just as quickly as it
does on Linux.

On Sun Sep 20, 2026 at 05:31:25PM +0200, Rafael Sadowski wrote:
> Hi ports@, Hi Qt haters,
> 
> To keep up with the competition at my hackathon table, I'd like to
> introduce another login/display manager. I'm very happy with the result,
> which makes using KDE Plasma easier, particularly for "desktop" users.
> 
> You can enable and test it with:
> 
> $ doas rcctl disable xenodm
> $ doas rcctl stop xenodm
> 
> $ doas rcctl enable sddm
> $ doas rcctl start sddm
> 
> Information for inst:sddm-0.21.0.20260819
> 
> Comment:
> QML based X11 and Wayland display manager
> 
> Description:
> The Simple Desktop Display Manager (SDDM) is a display manager. It is the
> recommended display manager for the KDE Plasma and LXQt desktop environments.
> 
> Maintainer: The OpenBSD ports mailing-list <[email protected]>
> 
> WWW: https://github.com/sddm/sddm
> 
> I'm lookin for tests (X11) and OKs. At the moment I have also a valid
> setup for X11 nor for wayland.
> 
> Cheers,
> 
> Rafael


Attachment: sddm-0.21.0.20260819p0.tar.gz
Description: application/tar-gz

Reply via email to