Discussion:
[X2Go-User] x2go error: Failed to start Agent (terminated unexpectedly)
Johnston, Tim
2018-09-19 15:43:02 UTC
Permalink
Hi all,

I am in the process of evaluating x2go as an alternative to VNC.

It looks very promising, but we are running into an odd issue.

I am running a basic setup: x2goserver-xsession is installed on a CentOS
7 machine, users connect to it using the x2go client (either from Linux
or Windows) and receive a KDE desktop.

When connecting, I get this error (from /var/log/messages):

<HOSTNAME> /usr/sbin/x2gocleansessions[124414]:
<USERNAME>-50-1537370420_stDKDE_dp24: state file for this session does
not exist:
/tmp/.x2go-<USERNAME>/C-<USERNAME>-50-1537370420_stDKDE_dp24/state│
<HOSTNAME> /usr/bin/x2gostartagent: Failed to start X2Go Agent
session with ID <USERNAME>-50-1537370420_stDKDE_dp24. X2Go Agent
terminated unexpectedly. Aborting session startup. │

The same error "Failed to start agent..." is shown in the x2goclient.

I have narrowed this down to one line in my bashrc:
export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH

If I comment this line, I can start sessions without any issue.

As part of my debugging, I have set the x2go server log level in
/etc/x2go/x2goserver.conf:

[log]
loglevel=debug

Any suggestions for next steps? Is my logging level really set
correctly, or should I be seeing more?

Thanks,

Tim

Loading...