[X2Go-Dev] "pidof: command not found" error

Michael DePaulo mikedep333 at gmail.com
Sat Feb 1 15:28:45 CET 2014


I did some more investigation last night.

1. Fedora has "pidof" under /usr/sbin .
(Debian 7 has it under /bin/)

2. Another problem is that x2gosuspend-desktopsharing is looking for
x2gosyslog under /usr/lib/x2go/ instead of under /usr/lib64/x2go .
(Debian 7 64-bit has it under /usr/lib/x2go/)

3. Another problem is that x2goterminate-desktopsharing is looking for
x2gosyslog under /usr/lib/x2go/ instead of under /usr/lib64/x2go .
(Debian 7 64-bit has it under /usr/lib/x2go/)

I can easily write and commit a fix for #1, but how should I fix #2 and #3?

I propose that I replace this pseudocode:

/usr/lib/x2go/x2gosyslog

with this pseudocode:

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

-Mike

On Sat, Feb 1, 2014 at 4:00 AM, Stefan Baur
<newsgroups.mail2 at stefanbaur.de> wrote:
> Am 01.02.2014 01:14, schrieb Michael DePaulo:
>> Has anyone seen this error when resuming fedora x2goserver sessions? I
>> seem to be experiencing it often from my windows x2goclients.
>>
>> http://i.imgur.com/9Va5sJJ.png
>>
>> This screenshot was taken on x2goclient 4.0.1.3 (Win 8.1 64-bit)
>> connecting to x2goserver 4.0.1.10 (Fedora 20 64-bit).
>
> And you're sure you have "pidof" installed on the server?
> (Not sure of the package name in fedora; debian wheez has it in
> http://packages.debian.org/wheezy/sysvinit-utils)
> Try "which pidof" to see if it's there.
> => If you don't have it, I guess you should try to locate the fedora
> package it is in, and file a bug against x2goserver that the proper
> dependency should be added to the fedora package.
>
> -Stefan
> _______________________________________________
> X2Go-Dev mailing list
> X2Go-Dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/x2go-dev



More information about the x2go-dev mailing list