to the end of:
/etc/X11/Xsession.d/20dbus_xdg-runtime
/etc/X11/Xsession.d/75dbus_dbus-launch
/etc/X11/Xsession.d/95dbus_update-activation-env
Probably not needed in all three files but whatever, it fixes everything...
Probably entirely related to the IF statements in those files not matching correctly to set the env variable.
Not sure if they changed on upgrade and i cbf'd checking but everything was working perfectly before upgrade.
Updated one server from 20.10 and another from 22.04. Both got this error independently. Both using X2Go for remote desktop.
Both servers env would show DBUS_SESSION_ BUS_ADDRESS as something in /tmp iirc
Long story short and a lot of rooting around..
added: BUS_ADDRESS= "unix:path= $XDG_RUNTIME_ DIR/bus" BUS_ADDRESS= "unix:path= $XDG_RUNTIME_ DIR/bus"
DBUS_SESSION_
export DBUS_SESSION_
to the end of: Xsession. d/20dbus_ xdg-runtime Xsession. d/75dbus_ dbus-launch Xsession. d/95dbus_ update- activation- env
/etc/X11/
/etc/X11/
/etc/X11/
Probably not needed in all three files but whatever, it fixes everything...
Probably entirely related to the IF statements in those files not matching correctly to set the env variable.
Not sure if they changed on upgrade and i cbf'd checking but everything was working perfectly before upgrade.