[X2Go-User] X authorization issues

Christoph Schmidt-Hieber christsc at gmx.de
Thu Apr 9 21:54:01 CEST 2015


On Thu, Apr 09, 2015 at 09:45:38PM +0200, Mihai Moldovan wrote:
> On 09.04.2015 09:35 PM, Christoph Schmidt-Hieber wrote:
> > x2goserver-xsession is installed.
> >
> > Re-installing didn't help. Also, there's still no
> > ~/.xsession-x2go-errors file.
> 
> That's very weird... according to your log file, xfce4-session
> terminates almost immediately after being launched. It's also launched
> via X2Go's xsession feature, so ~/.xsession-x2go-errors should be populated.
> 
> This is defined in /etc/x2go/Xsession. Can you check that file for
> ERRFILE, just in case?
> 
> Something must be "failing", either the Xsession script itself or the
> actual xfce4-session.


$ grep -n ERRFILE /etc/x2go/Xsession
73:ERRFILE=$HOME/.xsession-x2go-errors
76:if (umask 077 && touch "$ERRFILE") 2> /dev/null && [ -w "$ERRFILE" ] && [ ! -L "$ERRFILE" ]; then
77:  chmod 600 "$ERRFILE"
78:elif ERRFILE=$(mktemp 2> /dev/null); then
79:	if ! ln -sf "$ERRFILE" "${TMPDIR:=/tmp}/xsession-x2go-$USER"; then
81:		        "\"$ERRFILE\"; look for session log/errors in" \
88:exec >>"$ERRFILE" 2>&1


More information about the x2go-user mailing list