Subject: "pidof: command not found" when resuming x2go session

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

Package: x2goserver
Version: 4.0.1.10

I observed this error:
http://i.imgur.com/9Va5sJJ.png

/usr/bin/x2goterminate-desktopsharing: line 44: pidof: command not found

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 other error messages will be reported in a separate bug report)

Note that on Fedora 20, pidof is located at:
/usr/sbin/pidof

/sbin/pidof would also work too because /sbin has been a symlink to
/usr/sbin on Fedora since Fedora 17's "/usr Merge":
https://fedoraproject.org/wiki/Features/UsrMove