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

2014-02-01 Thread Stefan Baur
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@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/x2go-dev


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

2014-02-01 Thread Michael DePaulo
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.ma...@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@lists.berlios.de
 https://lists.berlios.de/mailman/listinfo/x2go-dev
___
X2Go-Dev mailing list
X2Go-Dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/x2go-dev


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

2014-02-01 Thread Jan Engelhardt
On Saturday 2014-02-01 15:28, Michael DePaulo wrote:

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/)

That sounds about right; if x2gosyslog is a runnable program
it should be in ${pkglibexecdir}.
The only issue is that different distros have a different idea
about what (pkg)libexecdir should be.

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/)
___
X2Go-Dev mailing list
X2Go-Dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/x2go-dev