x2goclient is used to access a remote server. Everything works out greatly, yet the X session does not load .Xresources file automatically as I'd expect.

I tried to add the following line in the .xinitrc:

[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources

Yet it does not load the file neither.

Can anyone shred some light on how x2go session initialization process?


1 Answer 1


I just faced the same issue. Looking at /etc/x2go/Xsession I figured out that x2go is looking for the users X resources in $HOME/.Xresources-x2go. So ln -s $HOME/.Xresources $HOME/.Xresources-x2go will do the trick, if you want the same X resources for your local and remote sessions.

  • 1
    Furthermore, looking at /etc/x2go/Xsession, there are similar changes for other startup scripts: .xsession-x2go, .xsessionrc-x2go, .Xsession-x2go, .Xmodmap-x2go and .Xkbmap-x2go,
    – David C.
    Commented Oct 24, 2018 at 20:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .