[X2Go-User] X authorization issues

Robert Dinse nanook at eskimo.com
Fri Apr 10 00:20:38 CEST 2015


      To test this theory, I tried setting my shell to csh and tcsh on the
Debian server with xfce desktop, x2go worked fine with both for me.  Only
difference was when I brought up a terminal emulator I got a csh % shell
prompt instead of the ksh prompt I usually get.

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
  Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
    Knowledgeable human assistance, not telephone trees or script readers.
  See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.

On Thu, 9 Apr 2015, Michael DePaulo wrote:

> Date: Thu, 9 Apr 2015 18:10:38 -0400
> From: Michael DePaulo <mikedep333 at gmail.com>
> To: Christoph Schmidt-Hieber <christsc at gmx.de>
> Cc: Mihai Moldovan <ionic at ionic.de>, x2go-user at lists.x2go.org
> Subject: Re: [X2Go-User] X authorization issues
> 
> On Apr 9, 2015 3:55 PM, "Christoph Schmidt-Hieber" <christsc at gmx.de> wrote:
>>
>> 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
>
> Hi Christoph,
>
> What is your default shell on the server? I have seen various x2go problems
> (but not this exact problem) when it was set to /bin/tcsh (or a /bin/csh
> symlink to /bin/tcsh). I suspect that the actual legacy /bin/csh binary
> would behave even worse with x2go.
>
> -Mike
>


More information about the x2go-user mailing list