Subject: "x2gosyslog: No such file or directory" when resuming x2go session

From: Michael DePaulo <[email-masked]>
Date: Sat, 1 Feb 2014 13:38:02 -0500

Package: x2goserver
Version: 4.0.1.10

I observed these 2 errors:
http://i.imgur.com/9Va5sJJ.png

/usr/bin/x2gosuspend-desktopsharing: line 32:
/usr/lib/x2go/x2gosyslog: No suh file or directory
/usr/bin/x2goterminate-desktopsharing: line 32:
/usr/lib/x2go/x2gosyslog: No suh file or directory

When resuming an X2Go session.

Server: x2goserver 4.0.1.10 (Fedora 20 64-bit)
Client: x2goclient 4.0.1.3 (Windows 8.1 64-bit)

Note that the "pidof: command not found" error has been be reported
separately as bug 426.

Note that on Fedora 20 64-bit, x2gosyslog is located at:
/usr/lib64/x2go/x2gosyslog

I plan to fix the bug (most likely today) by editing those 2 scripts
so that they follow this pseudocode:

if (file exists: /usr/lib64/x2go/x2gosyslog ) then
    /usr/lib64/x2go/x2gosyslog
else
    /usr/lib/x2go/x2gosyslog
fi

-Mike#2