[X2Go-Dev] /etc/x2go/Xsession, dbus-daemon, and problems with XDG_CONFIG_HOME

Hans Ecke hansecke at gmail.com
Wed Sep 9 18:46:08 CEST 2015


Hi All-

I'm trying to separate my persistent x2go session from other local
sessions, so in the startup command (Session type = Custom desktop) I
first do things like

export XDG_CONFIG_HOME="$HOME/.config.x2go"

But I notice that *before* this startup command is called, dbus-daemon
is already running inside the x2go session. This dbus daemon instance
does not know about my modified XDG_CONFIG_HOME and it does not pass
it to any other services it spawns. As a result, those parts of my
desktop environment which are started by dbus will keep their settings
in $HOME/.config, while others will properly use $HOME/.config.x2go.

I have been able to hack around that by modifying /etc/x2go/Xsession
so it does not call /etc/x2go/xinitrc.d/00-start-message-bus.sh. But
that is certainly not clean. Do you think there is something we could
do in the core (nxagent?) to solve this cleanly?

Thank you

Hans


More information about the x2go-dev mailing list