Hello,

the sleep is thought to reduce load when a session is not in use. If that is undesired you can set it to 0 as you already found out. In that case X2go or rather nx) does not need to transfer data from the server to the client and therefore is faster. I don't really see how this could be smoothed with the current software.

_Maybe_ you can improve the situation by setting sleep to 0 and use the superrenicer feature of x2goserver. See /etc/x2go/x2goserver.conf. I have no experience with this, maybe someone else can add more information here.

Uli






On Thu, May 28, 2020 at 8:49 PM h i <qpile117@outlook.com> wrote:
Hello,

We've been using x2go for a few months. Recent converts from using the old freenx nomachine 3.5.

We installed x2goserver on Ubuntu mate 18.04 and have several users connecting through x2goclient 4.1.2.2

I have a question regarding suspended sessions with x2go. When we suspended an open session, we noticed the session stopped running. After resuming the session the next day, the process resumed executing. Thought this was strange and rebooted the server.  

Ran a few tests and noticed performance slows after suspending a session.

Here is output from gxlgears. You can see the FPS decreases when the session suspends. The FPS returns back to normal (633 at the bottom), upon resuming the session.



I searched online and discovered you can change the /etc/x2go/x2goagent.options to X2GO_NXOPTIONS="sleep=0". When doing this, now the performance increases considerably after suspending the session (middle portion of the output).



Is there a way to suspend an x2go session, and have no decrease or increase in performance? Is there some setting we can change to keep things running as is while session is suspended?

Thanks in advance.

h

_______________________________________________
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user