[X2Go-User] X2Go client 4.0.0 can't resume certain sessions

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Mon Oct 21 12:52:47 CEST 2013


Hi John,

On  Mo 21 Okt 2013 10:07:37 CEST, John Williams wrote:

> On Mon, Oct 21, 2013 at 12:11 AM, Sebastian Flothow
> <sebastian.flothow at gip.com> wrote:
>> Am 19.10.2013 05:45, schrieb John Williams:
>>
>>> One thing that usually works is to restart the server process
>>
>>
>> I just had a look at /etc/init.d/x2goserver on my box, the only thing being
>> started there is x2gocleansessions. Is this what you're referring to?
>>
>> Is x2gocleansessions supposed to continue running in the background? There
>> are no x2gocleansessions processes running on my machine right now.
>>
>
> I am running the x2goserver package from Archlinux, which uses
> systemd. After I found out that restarting x2goserver.service via
> systemd would usually allow me to resume a session from a Windows
> client (without hanging), I set up a cron job on my linux box that
> restarts it every hour.

The x2gocleansessions script forks itself and becomes a daemon  
process. It should run on your system permanently. It contains a loop  
that executes its code every 2 seconds (older versions of X2Go Server:  
every 5 seconds).

> Here is the unit file
> /etc/systemd/system/multi-user.target.wants/x2goserver.service
>
> [Unit]
> Description=x2go - remote desktop server
> After=syslog.target network.target
>
> [Service]
> ExecStart=/usr/bin/x2gocleansessions
> PIDFile=/run/x2goserver.pid

x2gocleansessions belongs to /usr/sbin, not /usr/bin. Please contact  
the archlinux maintainer of X2Go Server and tell him that.

Also, we will be happy to include a service file, once it's proven to work...

> [Install]
> WantedBy=multi-user.target


Greets,
Mike
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 7251 bytes
Desc: ?ffentlicher PGP-Schl?ssel
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20131021/c408643b/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20131021/c408643b/attachment.pgp>


More information about the x2go-user mailing list