--- lxqt-session-0.17.1/startlxqt.in.orig 2021-04-22 21:05:31.825693943 +0100 +++ lxqt-session-0.17.1/startlxqt.in 2021-04-22 21:06:22.408874728 +0100 @@ -53,6 +53,14 @@ fi fi +# Include systemd xinitrc.d file to fix DISPLAY variable in dbus session +if [ -d /etc/X11/xinit/xinitrc.d ] ; then + for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do + [ -x "$f" ] && . "$f" + done + unset f +fi + # Qt4 platform plugin export QT_PLATFORM_PLUGIN=lxqt