Created attachment 425770 [details, diff] x2goserver-4.0.1.19-use_bash_in_Xsession.patch If bin/sh symlink does not point to bash, starting desktop sessions with x2goclient fails. This can be seen on the server in the user's .xsession-x2go-errors file: /bin/sh: 1: exec: -l: not found Which is a result of the following line in /etc/x2go/Xsession: exec $CK_XINIT_SESSION $SSH_AGENT /bin/sh -c "exec -l $SHELL -c \"$STARTUP\"" dash (and other shells like mksh) don't know "exec -l" and simply fail to run the startup command. Changing the line to exec $CK_XINIT_SESSION $SSH_AGENT /bin/bash -c "exec -l $SHELL -c \"$STARTUP\"" fixes this problem. The attached patch does exactly that.
I guess I'll pull this upstream as well.
Upstream added the fix (see URL)
And added in 4.0.1.19-r2 :) Now to get updated instructions for Gentoo install on the wiki, and my x2go todo list will (almost) be empty