[X2Go-User] processes sleep on suspend
Ulrich Sibiller
uli42 at gmx.de
Wed Feb 12 09:04:25 CET 2020
On Wed, Feb 12, 2020 at 2:10 AM Neal Becker <ndbecker2 at gmail.com> wrote:
>
> I've used x2go on linux (Fedora) for years and never experienced this before. I just setup a new workstation.
> When I suspend a session, the running processes started by it seem to sleep. A bit of googling suggested I
> need to edit /etc/x2go/x2goagent.options setting:
> X2GO_NXOPTIONS="sleep=0"
>
> I hope this helps: it hasn't yet. Will this only take effect after I terminate the current session and start a new one?
Well, nx-wise (nx is the underlying technology) the option is read at
startup or resume.
I am not sure if x2go is reading the option on resume, too, to pass it
down to nx. I'd need to check this.
If you run on suspend/resume cycle after adding the option you can
check if it has reached the nx layer by checking the options file in
~/.x2go/<session>/options. If the sleep option is visible there and
still not working you have hit an nx bug.
Uli
BTW: how do you determine if you apps are sleeping?
More information about the x2go-user
mailing list