From yk+bug+x2go@64.re Wed Nov 14 20:12:04 2018 Received: (at submit) by bugs.x2go.org; 14 Nov 2018 19:12:07 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 755935DAEF for ; Wed, 14 Nov 2018 20:12:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de Received: from ymir.das-netzwerkteam.de ([127.0.0.1]) by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ChoFEVGGsaUI for ; Wed, 14 Nov 2018 20:11:50 +0100 (CET) X-Greylist: delayed 3710 seconds by postgrey-1.35 at ymir.das-netzwerkteam.de; Wed, 14 Nov 2018 20:11:49 CET Received: from mslow2.mail.gandi.net (mslow2.mail.gandi.net [217.70.178.242]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 2515F5DAEE for ; Wed, 14 Nov 2018 20:11:49 +0100 (CET) Received: from relay6-d.mail.gandi.net (unknown [217.70.183.198]) by mslow2.mail.gandi.net (Postfix) with ESMTP id 426003AD96C for ; Wed, 14 Nov 2018 18:47:48 +0100 (CET) X-Originating-IP: 51.15.181.35 Received: from zsxc (ni.64.re [51.15.181.35]) (Authenticated sender: mx@64.re) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 77D80C000E for ; Wed, 14 Nov 2018 17:47:27 +0000 (UTC) Date: Wed, 14 Nov 2018 18:47:26 +0100 From: yk+bug+x2go@64.re To: submit@bugs.x2go.org Subject: Graphical apps stalling in suspended session Message-ID: <20181114184726.667d6ae6.mx@64.re> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Package: x2goserver Version: 4.0.1.0 I put this in the x2goserver section but I'm not quite sure if it's the right component that suffers from this issue. In my company, we recently began to experience an issue similar to the one reported in archived bug #673 [1] and on the X2Go-User list [2] back in 2015. The manifestation of the issue is that when a session is suspended, our program that runs in a terminal inside the session is slowed down to a near stop, and abruptly recovers its original speed when the session is resumed. There seems to be a link with graphical components though, and my guess is it's the output scrolling in the terminal that is stalled, and by way of consequence slowing down the rest of the program downstream. To confirm the involvement of the graphics, I tried running glxgears as a test, and while it runs at about 1000 fps while the session is attached, it drops at about 3 fps (!) when suspended. This behaviour is reproducible on a freshly installed CentOS 7 VM; I can provide a VirtualBox VM on which I ran the glxgears test. What is strange is that we only noticed it a few days/weeks ago whereas we didn't touch/update anything on the machines running those programs and x2go. We have a cluster of 5 CentOS 7 machine + 1 CentOS 6 machine and the issue appears on all of them, including CentOS 6, which hints that the issue might not be related to a specific version of the x2go components. A quick search for this issue raised at least 2 third parties experiencing the issue; one university [3] announced dropping x2go as of October 2018 because of this, and another [4] is listing it as a known issue, albeit maybe in 2015. I hope we can find a source for this problem, it's quite critical for us. Here are versions of the installed x2go components on CentOS 7: cups-x2go-3.0.1.3-1.el7.noarch libNX_X11-3.5.99.16-1.el7.x86_64 nx-libs-3.5.99.16-1.el7.x86_64 nxagent-3.5.99.16-1.el7.x86_64 nxproxy-3.5.99.16-1.el7.x86_64 perl-X2Go-Log-4.1.0.0-1.el7.noarch perl-X2Go-Server-4.1.0.0-1.el7.noarch perl-X2Go-Server-DB-4.1.0.0-1.el7.x86_64 python-x2go-0.5.0.3-1.el7.noarch x2goagent-4.1.0.0-1.el7.x86_64 x2goclient-4.1.1.1-1.el7.x86_64 x2godesktopsharing-3.1.1.2-1.el7.x86_64 x2goplugin-4.1.1.1-1.el7.x86_64 x2goplugin-provider-4.1.1.1-1.el7.x86_64 x2goserver-4.1.0.0-1.el7.x86_64 x2goserver-common-4.1.0.0-1.el7.noarch x2goserver-fmbindings-4.1.0.0-1.el7.x86_64 x2goserver-printing-4.1.0.0-1.el7.x86_64 x2goserver-xsession-4.1.0.0-1.el7.noarch [1] https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=673 [2] http://lists.x2go.org/pipermail/x2go-user/2015-August/003397.html [3] https://kb.thayer.dartmouth.edu/article/337-x2go [4] https://www.cs.rutgers.edu/resources/accessing-computer-science-linux-desktop-using-x2go From ulrich.sibiller@gmail.com Wed Nov 14 21:51:37 2018 Received: (at 1342) by bugs.x2go.org; 14 Nov 2018 20:51:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ymir.das-netzwerkteam.de X-Spam-Level: * X-Spam-Status: No, score=2.0 required=3.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FREEMAIL_REPLYTO, FREEMAIL_REPLYTO_END_DIGIT,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id C225A5DAF0; Wed, 14 Nov 2018 21:51:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de Received: from ymir.das-netzwerkteam.de ([127.0.0.1]) by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l2vGkfT0K68H; Wed, 14 Nov 2018 21:51:30 +0100 (CET) Received: from mail-ua1-x92a.google.com (mail-ua1-x92a.google.com [IPv6:2607:f8b0:4864:20::92a]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 7D8665DAEE; Wed, 14 Nov 2018 21:51:28 +0100 (CET) Received: by mail-ua1-x92a.google.com with SMTP id z24so6213257ual.8; Wed, 14 Nov 2018 12:51:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=cXuTiMQFYHOctO7PEr2OmxMxKtTE6FiEjbkbX3132t8=; b=dwFeQi8Ae7Tkwv/M8cLziWJEVSOia4zJ8B1ENm7oCTTnD6X0pHR7F7EuluXy2rGTwl 534Ka8LTf0floFV9dgtQB2rSvhd9p1KU4kpOTN2rfWXihu6gZ13W2FT49iTPqyYhdMAy Ycd9PSxKuUzcW8Ng2VSp3VLUNWBufJp6H9A2kO7N7GR3OMTOGo27+ENMJ+LtxeCwjm1O B/Ag32XbLHUzFKkt24z4HmYAnXKTqOufHJE3a+nZCZ0WYyyMiAdBTIRO57VfmBsxKfpH uYPoqH/v1fIgvtrzvQMrrBaJqN+/M5I5NcEQ990mJb9q+M0dW3xKkfnj3kAkmYjrQAsi bmQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=cXuTiMQFYHOctO7PEr2OmxMxKtTE6FiEjbkbX3132t8=; b=UQ5H6VXlSZFgLkr35C5P7dFbAAjQI/THGuolQvuHyBNtu/qOxvO2bhjhP7wQHg+2PR cN2MRBewdNTM8oDkC91QQdskzHU5dA4cof3jOSBdZ7YyiLK7vUgVgzKWAqcQ39ftboSr TKshc6OD86Ihib8krktEBZJvd0Tk4H3FLApZovw9nTiX6hgtgdVo+hwb2cAPb3Uv1itf D2nEqm4kauQCYEYsnM/Q3YA/eaP3lO2a75u+WKwf+XxUs8ZCKqySKYeNufptEDv60a7+ m4FOldKOahJXBwpsWQEjmGT7cHGppaA31cJ+jTVno2D/fFA+m2+wmyKVKKMGgtVuWxAB W82A== X-Gm-Message-State: AGRZ1gJusB/HUYF+S4hwZtCAlWc0r3wAtBkr8SX4bhGEWc5vvpfmxuZ8 Ge5BXrGeo+i3Pwl5T6aUA5lBxcY6xm3qTVuORWI= X-Google-Smtp-Source: AJdET5cdcpyZTrhS1gG5XL1kfpEi8Rmt+NHANmFNGqNcXMPBiVV/7QtzkbhznBIkxbgdFMDOCkAj0zTEAuBlEUbyyTo= X-Received: by 2002:ab0:225a:: with SMTP id z26mr1696194uan.100.1542228686194; Wed, 14 Nov 2018 12:51:26 -0800 (PST) MIME-Version: 1.0 References: <20181114184726.667d6ae6.mx@64.re> In-Reply-To: <20181114184726.667d6ae6.mx@64.re> Reply-To: uli42@gmx.de From: Ulrich Sibiller Date: Wed, 14 Nov 2018 21:50:59 +0100 Message-ID: Subject: Re: [X2Go-Dev] Bug#1342: Graphical apps stalling in suspended session To: yk+bug+x2go@64.re, 1342@bugs.x2go.org Cc: submit@bugs.x2go.org Content-Type: text/plain; charset="UTF-8" On Wed, Nov 14, 2018 at 8:17 PM wrote: > > Package: x2goserver > Version: 4.0.1.0 > > I put this in the x2goserver section but I'm not quite sure if it's the > right component that suffers from this issue. > > In my company, we recently began to experience an issue similar to the > one reported in archived bug #673 [1] and on the X2Go-User list [2] > back in 2015. The manifestation of the issue is that when a session is > suspended, our program that runs in a terminal inside the session is > slowed down to a near stop, and abruptly recovers its original speed > when the session is resumed. There seems to be a link with graphical > components though, and my guess is it's the output scrolling in the > terminal that is stalled, and by way of consequence slowing down the > rest of the program downstream. > To confirm the involvement of the graphics, I tried running glxgears as > a test, and while it runs at about 1000 fps while the session is > attached, it drops at about 3 fps (!) when suspended. This behaviour is > reproducible on a freshly installed CentOS 7 VM; I can provide a > VirtualBox VM on which I ran the glxgears test. > ... > A quick search for this issue raised at least 2 third parties > experiencing the issue; one university [3] announced dropping x2go as > of October 2018 because of this, and another [4] is listing it as a > known issue, albeit maybe in 2015. Oh, they should have asked before dropping X2go! > I hope we can find a source for this problem, it's quite critical for > us. That has been implemented on purpose by nomachine to take some load off the server. You can disable that via the sleep option: sleep= delay X server operations when suspended (provided in msec), set to 0 to keep nxagent session fully functional when suspended (e.g. useful when mirroring an nxagent session via VNC) You can set this sleep to 0 in /etc/x2go/x2goagent.options on the server with the following line: X2GO_NXAGENT_DEFAULT_OPTIONS="-options nx/nx,sleep=0" This in non-obvious and should be a client option instead... Can you please try if that helps for your setup? Uli From yk+bug+x2go@64.re Thu Nov 15 19:43:13 2018 Received: (at 1342) by bugs.x2go.org; 15 Nov 2018 18:43:16 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50 autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id A5FA45DAF4 for <1342@bugs.x2go.org>; Thu, 15 Nov 2018 19:43:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de Received: from ymir.das-netzwerkteam.de ([127.0.0.1]) by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QFDGEqjdMOU1 for <1342@bugs.x2go.org>; Thu, 15 Nov 2018 19:43:02 +0100 (CET) X-Greylist: delayed 4632 seconds by postgrey-1.35 at ymir.das-netzwerkteam.de; Thu, 15 Nov 2018 19:43:02 CET Received: from mslow2.mail.gandi.net (mslow2.mail.gandi.net [217.70.178.242]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 20E4F5DAEF for <1342@bugs.x2go.org>; Thu, 15 Nov 2018 19:43:01 +0100 (CET) Received: from relay5-d.mail.gandi.net (unknown [217.70.183.197]) by mslow2.mail.gandi.net (Postfix) with ESMTP id 1B9933A916D for <1342@bugs.x2go.org>; Thu, 15 Nov 2018 17:48:53 +0100 (CET) X-Originating-IP: 51.15.181.35 Received: from zsxc (ni.64.re [51.15.181.35]) (Authenticated sender: mx@64.re) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 5C3A31C0010 for <1342@bugs.x2go.org>; Thu, 15 Nov 2018 16:48:32 +0000 (UTC) Date: Thu, 15 Nov 2018 17:48:30 +0100 From: yk+bug+x2go@64.re To: 1342@bugs.x2go.org Subject: Re: [X2Go-Dev] Bug#1342: Graphical apps stalling in suspended session Message-ID: <20181115174830.29fc8337.mx@64.re> In-Reply-To: References: <20181114184726.667d6ae6.mx@64.re> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 14 Nov 2018 21:50:59 +0100 Ulrich Sibiller wrote: > That has been implemented on purpose by nomachine to take some load > off the server. You can disable that via the sleep option: > sleep= > delay X server operations when suspended (provided in > msec), set to 0 to keep nxagent session fully functional when > suspended (e.g. useful when mirroring an nxagent session via VNC) > > You can set this sleep to 0 in /etc/x2go/x2goagent.options on the > server with the following line: > X2GO_NXAGENT_DEFAULT_OPTIONS="-options nx/nx,sleep=0" > > This in non-obvious and should be a client option instead... Can you > please try if that helps for your setup? So I tried this options by adding it to the previous ones: X2GO_NXAGENT_DEFAULT_OPTIONS+=" -options nx/nx,sleep=0" It seems to solve indeed the problem at least for glxgears, which now runs faster when I quit the x2go client, which is what I expect. However, it has the serious side effect of preventing the sessions to be suspended; the files clients, keyboard, state and the folders mimebox and tools are not created in the x2go session folder (/tmp/.x2go-user/). This side effect is kind of worse for us. From ulrich.sibiller@gmail.com Fri Nov 16 09:55:25 2018 Received: (at 1342) by bugs.x2go.org; 16 Nov 2018 08:55:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ymir.das-netzwerkteam.de X-Spam-Level: * X-Spam-Status: No, score=1.2 required=3.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FREEMAIL_REPLYTO, FREEMAIL_REPLYTO_END_DIGIT,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id B7FF65DAF0 for <1342@bugs.x2go.org>; Fri, 16 Nov 2018 09:55:25 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de Received: from ymir.das-netzwerkteam.de ([127.0.0.1]) by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rh408xeN0yRE for <1342@bugs.x2go.org>; Fri, 16 Nov 2018 09:55:20 +0100 (CET) Received: from mail-vk1-xa2f.google.com (mail-vk1-xa2f.google.com [IPv6:2607:f8b0:4864:20::a2f]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 8FA5D5DAEF for <1342@bugs.x2go.org>; Fri, 16 Nov 2018 09:55:19 +0100 (CET) Received: by mail-vk1-xa2f.google.com with SMTP id y14so5107062vkd.1 for <1342@bugs.x2go.org>; Fri, 16 Nov 2018 00:55:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to; bh=E3UvEsXICvMfaQ4nvWFvEWMHSffdnKm//HAmCHSdr24=; b=BvZJOfEQShlLCRk7cSUG94yhipwBWALXJerANAuospptz0x9Ad5he6GsbPMIseVO6a M5l86Ky38NgaTMgix4zZOenffxyvmGFmYe2vvgCt/L2Oj0cK7btiAQKycS3tEo00rEZT 2PrXET70EXylEE16vjAUquak6/r3YdQnDiVI9S1seNHvsuK2dFxEg2h9bxSKp4eU8JDW c/tcThVFUsa0UiqZO7uhjr/B5/4tU0inMHG7AQ1RdozutcYNmRNPtS36beh6bGqqd+2/ MVYtddTB7ZwyGHRYvkDo5ie/IjmzxO1kB7NcJm9OUHuFyBpzgQ0pj62xQu+M4SrN9efj EeLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to; bh=E3UvEsXICvMfaQ4nvWFvEWMHSffdnKm//HAmCHSdr24=; b=hRVy7JqNipIyfLRosMUsrfi1/OW297HCKiv3BH0NytFYIWvIA+lZtq/X7ik4sg76qd 1vsp3ejogbVQX9ySJdPz2PgChN85eateb/I+xkcV1SH0Hyhkw5LqiI3DXjSahlVBeB/7 DaPjvI0qK2WXWv0W7aGXmS2MuYmS4XJbSDFPk6yDRc4YZmcVnE1wQJtRRj5aM46G1YlR gZLp+g5+dfuMJzTbRVAwnaQCXLXWVzNGsT7UiuyrkNJals6BBBj2S1C78Xrpztlu9mD0 gCWWitktwfpA3TiOl5/vUP3thfMjn1c6viMeoZzyJiPNF3dtxzulqSuZRZrl5HmFHO3Y 2xpA== X-Gm-Message-State: AGRZ1gLKe4O6P2Mbkw6El5QNs9Q2zNAYu6t4HmmCY8Sva7fWcV39DoAo SMIwv4+rPjxKoc1RPeSNY8+Of2hJ070/2pbIkDE= X-Google-Smtp-Source: AJdET5cTbOn9POLDLXtV0RfPOBY3f/XAUUgTEdE2pLX7njycVcZThPRTW0Ka0G27Ob5b1regtHfM0/gYiVsc1/uPhEI= X-Received: by 2002:a1f:f203:: with SMTP id q3mr4102925vkh.54.1542358517799; Fri, 16 Nov 2018 00:55:17 -0800 (PST) MIME-Version: 1.0 References: <20181114184726.667d6ae6.mx@64.re> <20181115174830.29fc8337.mx@64.re> In-Reply-To: <20181115174830.29fc8337.mx@64.re> Reply-To: uli42@gmx.de From: Ulrich Sibiller Date: Fri, 16 Nov 2018 09:54:51 +0100 Message-ID: Subject: Re: [X2Go-Dev] Bug#1342: Bug#1342: Graphical apps stalling in suspended session To: yk+bug+x2go@64.re, 1342@bugs.x2go.org Content-Type: text/plain; charset="UTF-8" On Thu, Nov 15, 2018 at 7:46 PM wrote: > > On Wed, 14 Nov 2018 21:50:59 +0100 > Ulrich Sibiller wrote: > > > That has been implemented on purpose by nomachine to take some load > > off the server. You can disable that via the sleep option: > > sleep= > > delay X server operations when suspended (provided in > > msec), set to 0 to keep nxagent session fully functional when > > suspended (e.g. useful when mirroring an nxagent session via VNC) > > > > You can set this sleep to 0 in /etc/x2go/x2goagent.options on the > > server with the following line: > > X2GO_NXAGENT_DEFAULT_OPTIONS="-options nx/nx,sleep=0" > > > > This in non-obvious and should be a client option instead... Can you > > please try if that helps for your setup? > > So I tried this options by adding it to the previous ones: > X2GO_NXAGENT_DEFAULT_OPTIONS+=" -options nx/nx,sleep=0" In my tests I have changed the _first_ entry in the options file, the one without the +. Does that make any difference for you? > It seems to solve indeed the problem at least for glxgears, which now > runs faster when I quit the x2go client, which is what I expect. > However, it has the serious side effect of preventing the sessions to > be suspended; the files clients, keyboard, state and the folders Quitting the x2goclient is effectively suspending the session since there's no nxproxy anymore. You can see that in the file session.log on the server (~(.x2go/C-username-something/...). Providing that sleep=0 option is changing only one thing: it eliminates any sleeps that have been implemented to take load off the server in suspended state. There should not be any other behaviourial differences. > mimebox and tools are not created in the x2go session folder > (/tmp/.x2go-user/). > This side effect is kind of worse for us. Can you please explain in detail? I am wondering what is happening here. You can also try - instead of using the non-obvious setting in x2goagent.setting - to adapt x2gostartagent on the server to integrate that option into the generated options file. Uli From mike.gabriel@das-netzwerkteam.de Sat Nov 17 12:01:14 2018 Received: (at 1342) by bugs.x2go.org; 17 Nov 2018 11:01:18 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=BAYES_00,RDNS_NONE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id C044D5DAF0 for <1342@bugs.x2go.org>; Sat, 17 Nov 2018 12:01:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de Received: from ymir.das-netzwerkteam.de ([127.0.0.1]) by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4L4pahg28uBF for <1342@bugs.x2go.org>; Sat, 17 Nov 2018 12:01:09 +0100 (CET) Received: from fregna.das-netzwerkteam.de (unknown [IPv6:2a01:4f8:202:1381::1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 81B405DA26 for <1342@bugs.x2go.org>; Sat, 17 Nov 2018 12:01:09 +0100 (CET) Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [IPv6:2a01:4f8:202:1381::105]) by fregna.das-netzwerkteam.de (Postfix) with ESMTPS id 6BE4F60523; Sat, 17 Nov 2018 11:01:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 64A9BC25AD; Sat, 17 Nov 2018 12:01:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W8mT1fxGlx7q; Sat, 17 Nov 2018 12:01:03 +0100 (CET) Received: from das-netzwerkteam.de (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id E5F71C25AE; Sat, 17 Nov 2018 12:00:47 +0100 (CET) Received: from x590fec3a.dyn.telefonica.de (x590fec3a.dyn.telefonica.de [89.15.236.58]) by mail.das-netzwerkteam.de (Horde Framework) with HTTPS; Sat, 17 Nov 2018 11:00:47 +0000 Date: Sat, 17 Nov 2018 11:00:47 +0000 Message-ID: <20181117110047.Horde.zZTN_Oztf96owmQR1Zw3wlv@mail.das-netzwerkteam.de> From: Mike Gabriel To: yk+bug+x2go@64.re, 1342@bugs.x2go.org Subject: Re: [X2Go-Dev] Bug#1342: Bug#1342: Graphical apps stalling in suspended session References: <20181114184726.667d6ae6.mx@64.re> <20181115174830.29fc8337.mx@64.re> In-Reply-To: <20181115174830.29fc8337.mx@64.re> User-Agent: Horde Application Framework 5 Accept-Language: de,en Organization: DAS-NETZWERKTEAM X-Originating-IP: 89.15.236.58 X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 Content-Type: multipart/signed; boundary="=_J9M0CgOYXXMU6x1Gh1wxX6S"; protocol="application/pgp-signature"; micalg=pgp-sha256 MIME-Version: 1.0 This message is in MIME format and has been PGP signed. --=_J9M0CgOYXXMU6x1Gh1wxX6S Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Do 15 Nov 2018 17:48:30 CET, yk+bug+x2go wrote: > On Wed, 14 Nov 2018 21:50:59 +0100 > Ulrich Sibiller wrote: > >> That has been implemented on purpose by nomachine to take some load >> off the server. You can disable that via the sleep option: >> sleep=3D >> delay X server operations when suspended (provided in >> msec), set to 0 to keep nxagent session fully functional when >> suspended (e.g. useful when mirroring an nxagent session via VNC) >> >> You can set this sleep to 0 in /etc/x2go/x2goagent.options on the >> server with the following line: >> X2GO_NXAGENT_DEFAULT_OPTIONS=3D"-options nx/nx,sleep=3D0" >> >> This in non-obvious and should be a client option instead... Can you >> please try if that helps for your setup? > > So I tried this options by adding it to the previous ones: > X2GO_NXAGENT_DEFAULT_OPTIONS+=3D" -options nx/nx,sleep=3D0" ok... > It seems to solve indeed the problem at least for glxgears, which now > runs faster when I quit the x2go client, which is what I expect. > However, it has the serious side effect of preventing the sessions to > be suspended; the files clients, keyboard, state and the folders > mimebox and tools are not created in the x2go session folder > (/tmp/.x2go-user/). > This side effect is kind of worse for us. This is indeed peculiar. Are you sure, not syntax error is involved=20=20 in=20x2goagent.options. Note that the mimebox folder is used only by=20=20 Python=20X2Go, if you use X2Go Client, you can simply ignore its=20=20 non-existent. For=20tracking this down, you need to provide some debug output of the=20= =20 X2Go=20Server side. Also, let us know, if you use X2Go Client or PyHoca-CLI or -GUI on the=20= =20 client-side. If=20you use PyHoca-*, run it with "--libdebug" on a cmd line and=20=20 provide=20the debug output. If you use X2Go Client, you can use the --debug switch, but beware...=20=20 it=20will reveal user passwords, so don't send that unedited to a public=20= =20 mailing=20list! Mike --=20 DAS-NETZWERKTEAM mike=20gabriel, herweg 7, 24357 fleckeby mobile: +49 (1520) 1976 148 landline: +49 (4354) 8390 139 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de --=_J9M0CgOYXXMU6x1Gh1wxX6S Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIzBAABCAAdFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAlvv9N8ACgkQmvRrMCV3 GzE0nQ//TCXOYTjPvlwOxx4mpeSc1DzB1jkp/Zmfj7l6bqq/HS1TAHqHwCsJg609 stkQ+OHbRLgb8kSE8bbSLB0kTgzgx7T017+V6ILCx6z2O6y6e2/hvqsw5jcWJjBQ c3Foo7rGy8jM5xekU6QTXOoM1iQ2bi/+1AlCjh14GKFmirTiYniNh1AvirBJarVw raNimTBTgYaOreMMPCiDlL13zJa049EufqqOd/F4i3wrHKk4IWXUPZ0S0teizSlZ KPNQpnlSl8qaDU9InVt4C0O0VWy3kKrT2UAWC5QOo7gsSPjxGvpK8vJkaM8dyqzV TjfKzBALR5DpZrlls5zwGru/jpK3Sl44qRzuoI4HvSlnsE/pDJXixfv6Y9A+UrzK qlACBNrMNloGU54kwTx0dAQ/YTHTjSFe9lb56syLktZxn95H+opBsTaAtHTW0zaG AUliCCiEX3sXvuyk7K95CF+5zWGDUPj954mCl9AGALmSKl8aohpOmEyvM+YmWdk6 YFVqZN1d+HUb2cQhzqLWFDaRZqgXXXaYxNuwsBEuvxrkMvTFV16dcyx+6SRzFfOu XQ8NaSdO+os5GWYDr1NBXr7A75mnal/MDPXjdbKdDvcHmkkQC87TXUe1KmB5oLTb l+l4c+PTWv3+pG0vgm8xFU6d5t12yDiVP5nO2ovbftNncl1bbsA= =i9oE -----END PGP SIGNATURE----- --=_J9M0CgOYXXMU6x1Gh1wxX6S-- From X2Go-ML-1@baur-itcs.de Sat Nov 17 12:18:24 2018 Received: (at 1342) by bugs.x2go.org; 17 Nov 2018 11:18:27 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 4DBA15DAF0 for <1342@bugs.x2go.org>; Sat, 17 Nov 2018 12:18:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de Received: from ymir.das-netzwerkteam.de ([127.0.0.1]) by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qmqoh7xv5R0X for <1342@bugs.x2go.org>; Sat, 17 Nov 2018 12:18:14 +0100 (CET) X-Greylist: delayed 302 seconds by postgrey-1.35 at ymir.das-netzwerkteam.de; Sat, 17 Nov 2018 12:18:14 CET Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 770255DA26 for <1342@bugs.x2go.org>; Sat, 17 Nov 2018 12:18:14 +0100 (CET) Received: from [192.168.0.15] ([149.172.203.221]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPSA (Nemesis) id 1MuDLZ-1fTOs92AJR-00udFa for <1342@bugs.x2go.org>; Sat, 17 Nov 2018 12:13:12 +0100 Subject: Re: [X2Go-Dev] Bug#1342: Bug#1342: Bug#1342: Graphical apps stalling in suspended session To: 1342@bugs.x2go.org References: <20181114184726.667d6ae6.mx@64.re> <20181115174830.29fc8337.mx@64.re> <20181117110047.Horde.zZTN_Oztf96owmQR1Zw3wlv@mail.das-netzwerkteam.de> From: Stefan Baur Openpgp: preference=signencrypt Autocrypt: addr=X2Go-ML-1@baur-itcs.de; prefer-encrypt=mutual; keydata= xsBNBFLfOiwBCACzIiDVwWVRvuMzgSAvXRFRaPaZOSB8s84PG1oGLfmqhwzF44vj1Xv4tcKD mvu0TsLTksOkvop8WwGYeeU8lDaxEG1zyN8SOu1WU/FPEKw2jITRox8yIrSkUsMkWYuxdjv/ 9XcAh9qaPsHP7E1jD6/wVZuYZkuX6W41Nxt06VsvDGCfrbQh4ya7w1IiSnoQeIHNNQVN9f3j xcHLj5S5YriSCThtbFCdr3AJXfF5iMolu8kLgAXM0bH1C7PxAjM/pQjWmdMVN/Y+uXXzcMO8 8aQ0f0q3QeGWxCAP2xwBapUfP6LHDRPp/tV7P7ji8wKlabrSGdv0M9Qd9pn/YCYQE0ZdABEB AAHNJlN0ZWZhbiBCYXVyIDxwb3N0bWFzdGVyQHN0ZWZhbmJhdXIuZGU+wsCCBBMBAgAsAhsj BQkJZgGABwsJCAcDAgEGFQgCCQoLBBYCAwECHgECF4AFAlNGc+ECGQEACgkQbt30GM2+URlB /Af+MbRrzRMTzSg7N6MUob1MXDpnuUjtzMWddfuHpL7/D2VuY4AaYGkChrD2sdl2C+UIaCXv t0P/QU6Fm+yMTr023pioaBy74heCiusBZI7GufqKMsOcQUgpGZaaHwCijUceJR0lrq4Hy3dF tgrv+gLjlqDy/cqWBfoohd8JAINk0gHIWFJIm8El1bEvr1sxQ5Bw5zdshD/C0GEI8zsdI6GW uZ+tpBB6BA+k19CU0tW/BFoUJ8MyRk4m75UtwLmBMmVji6coGAnXKwud30OsCnmbSreBFpw7 xS3coC/PHMT02YR1UAEuRJ6NCzpHfQT4qXjU3wQSj/5VSJOlG+qBNht4/87ATQRS3zosAQgA 4KPXmGU1XE8CTRJ/4m/f8MTri3JfEvGJTerWwC2hBuXHGWrSBmmRNAdJHzNTvq5IoR9tQ6Cb Nrqxf6alr/v34Vr2bUg0s+jlK9TWOkVLAFoz6zytm/2BrRBIZ5So6Ymfc6efwsScsHOI++wi pzqELkpluqtXysb13RsBVLxBdp5TZCVPjCc9pLWjudfjEagQt2oJgtO2WndasrKvoZYkfRi6 oSCK9B84YjNJoRF00LdK3n7K3SBvj4UPSl+ygzLVaD+3ZdIlbhX+bfn/Vp/10xdJ+/U8Fr7l 7umrBKr17D8eO3mRYMGY9w1qc+pfNGOR76GIbPWj2tPVaBD9nmUaowARAQABwsBlBBgBAgAP BQJS3zosAhsMBQkJZgGAAAoJEG7d9BjNvlEZ77YIAJViZTXJ5V0OOUQIYxzQIOao2nkASHeE AHT0/sq/H26z9ak9G4JsUwYF7jWg2V3MNI0jDhkIs9tZMHlT/BQxT8oM/UfIzPwjfhrWK41p QPnaDT8AB/nJl9p+IOt9NvPfMIL7iO7a+/au2hpHbX3p85vXR1oqquHmAaMls67a3uCkTHUW 8+ilwfXleF8+9AOLV1Ys5ue1d8kh3+2VM7tE9f0wt2N8akFTBXJg/gIKH2YCc8xoOxhl0bv3 +If4QjOPBUxb6+ge5IThHtVWI5K5Wr9ORnjcS00v2P7Zf02R5FTEq8nCFr+CeAOin8WlTtWs bzi9QGo4aIv+5+HKkfVEC34= Message-ID: <5194525a-e0c5-7f97-9ac1-ee79eb3a3560@baur-itcs.de> Date: Sat, 17 Nov 2018 12:13:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181117110047.Horde.zZTN_Oztf96owmQR1Zw3wlv@mail.das-netzwerkteam.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="264fWte3rX2ghHCgTcRVS9MoVFwMMOfZW" X-Provags-ID: V03:K1:KCu1hVWaJ7Pr+e9XAwPPv+oqpDlMAzqlb7FSqjMjjeXSGSNRNPo TlUSYo8P3VXfofL5tH8i6LzxrSs8rWi0pweta8BNUqzQHzFVMkoXVXs842bB6yDLR7KFN+O ceOBtmV2hiHI0x8uXEEh6+o75kc5OfzHgV0PllYR7KNyDtJwkmmXT9TeEMcbdGTsaUEHzN2 oAoPXktFtReE9M3mGHFPA== X-UI-Out-Filterresults: notjunk:1;V01:K0:1I4OIEN6slk=:h3XqIFJ9vwcs5hnJ5huSq6 5At3BG1VMxKaVEtBVcjlJHAbI6Lv6O4Gj2D1o3Md9Jwjkn1e3tQJw0hvIfQsN7n69ZHZTFOOh BVxXS9XK7zdbR5nP0p854ClNIMbK3EDSKP2eFJVNC07X15UilTya+aq//qshre30plXno1o0D CyzpMa9teh6mbfqeCnlYhWNBK2rERmPaMWmrZjwoAQlXmE1fZOvnzxOUKCF9HZDZGxPMwn6rf DikfGQ4djkxRXLcxNwsOnE3sDq9wNgXkHqu226vk/2CWSgQyUuJNfzBgWl8CXq5STxRUhGiCp A1ibW2dYQX9zU44jJfD3F+4xt1QLKyOPW97CCv0wL+5hZHa+P25cHVsO+gyis4V05JEs4aJE5 Ay2WwJ8SkNz0G+1RiryQ4ySzQy6i3A2JUSmWRLcQfNs68TGX6pG/dTkEeDSkcRxeQjMCJfhbX misXnQ7BBlnXEJDMScRkmco2ZvmA3B+F/BD1OniClFI+1RN2KIHQUcM+JhLN+vz9vxYXNVwOb G1CfMg9D9RFebNRi+wfu6MqmxuCYbrvRt2aULHADRywOF5MBPiV70GEkcmi6KJUd4bQLWs3Lb pDT9IUStDiSs5Q8V0521NW4AoOUeKne0nxoO72+uRNkHSO1q6DJ0LvRwbolFUm9GySI4pRYxn ZqH9OJJeKfVlIbVS0l6+HXlo9aCvmLU/ML+w+7wwl6vAqfEQ3ZA/5dPkl+xGVRuWBr0FB2NmU RR69lD/qhO62ZV4FrCgdAxPcl/v4++FIIRNOytPbgK6tRPJ18piEdYKWJL2BJbitAAaOA6xCp Gw51VyGEPn05JHCybt2yh8xHVmr+A== This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --264fWte3rX2ghHCgTcRVS9MoVFwMMOfZW Content-Type: multipart/mixed; boundary="lyKwtgbPQEwz8vANhhWKgkFXh3xwRXDps"; protected-headers="v1" From: Stefan Baur To: 1342@bugs.x2go.org Message-ID: <5194525a-e0c5-7f97-9ac1-ee79eb3a3560@baur-itcs.de> Subject: Re: [X2Go-Dev] Bug#1342: Bug#1342: Bug#1342: Graphical apps stalling in suspended session References: <20181114184726.667d6ae6.mx@64.re> <20181115174830.29fc8337.mx@64.re> <20181117110047.Horde.zZTN_Oztf96owmQR1Zw3wlv@mail.das-netzwerkteam.de> In-Reply-To: <20181117110047.Horde.zZTN_Oztf96owmQR1Zw3wlv@mail.das-netzwerkteam.de> --lyKwtgbPQEwz8vANhhWKgkFXh3xwRXDps Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable Am 17.11.18 um 12:00 schrieb Mike Gabriel: >=20 > If you use X2Go Client, you can use the --debug switch, but beware... i= t > will reveal user passwords, so don't send that unedited to a public > mailing list! This only happens in broker mode (and probably only if you use the http broker, ssh broker mode *should* be fine - but please test and check). Regular client-server use is unaffected. -Stefan --=20 BAUR-ITCS UG (haftungsbeschr=C3=A4nkt) Gesch=C3=A4ftsf=C3=BChrer: Stefan Baur Eichen=C3=A4ckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 --lyKwtgbPQEwz8vANhhWKgkFXh3xwRXDps-- --264fWte3rX2ghHCgTcRVS9MoVFwMMOfZW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJb7/fEAAoJEG7d9BjNvlEZn3kH/RWTuK3nD8pzAb5ZKMdjyNz2 W04XxGShISJmx7EdjEA7Zl1FqgrlcxpaFGgZ7Ffo+dTWi20Z36D3df9o4ELyj9EO UNU6paDSPkVwKcfRhqnl3g7JqjjoiTSoX7U3IVq1yww+fRkaU/sP2vQlVvET4vfR sTT1pumSSUnsq2zXz/5IMwNW8HFiN9jdnJRYE2uE1w2at9ZKQkyacYc+m5bverY1 bTQeQ1cf+RM7I8szpapOpAPMYgY4i82KR0o8N83NbRaVbpI3mXPQ0i/v3jYTbS5K hXvPDuC0LLRBAt6ysBWp60oSbv8t2SeqOFy3cQwozkkR75S9A6bHmViP/SCw/x0= =XPoQ -----END PGP SIGNATURE----- --264fWte3rX2ghHCgTcRVS9MoVFwMMOfZW-- From orion@nwra.com Tue Nov 20 23:51:27 2018 Received: (at 1342) by bugs.x2go.org; 20 Nov 2018 22:51:35 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 9CE855DAED for <1342@bugs.x2go.org>; Tue, 20 Nov 2018 23:51:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de Received: from ymir.das-netzwerkteam.de ([127.0.0.1]) by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h_sqVZ5m9VfQ for <1342@bugs.x2go.org>; Tue, 20 Nov 2018 23:51:05 +0100 (CET) X-Greylist: delayed 360 seconds by postgrey-1.35 at ymir.das-netzwerkteam.de; Tue, 20 Nov 2018 23:51:04 CET Received: from mail.nwra.com (mail.nwra.com [72.52.192.72]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id AA46B5DA96 for <1342@bugs.x2go.org>; Tue, 20 Nov 2018 23:51:03 +0100 (CET) Received: from barry.cora.nwra.com (inferno.cora.nwra.com [208.187.183.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.nwra.com (Postfix) with ESMTPS id CEEED3405A8; Tue, 20 Nov 2018 14:45:01 -0800 (PST) Subject: Re: [X2Go-Dev] Bug#1342: Bug#1342: Graphical apps stalling in suspended session To: uli42@gmx.de, 1342@bugs.x2go.org, yk+bug+x2go@64.re References: <20181114184726.667d6ae6.mx@64.re> From: Orion Poplawski Message-ID: Date: Tue, 20 Nov 2018 15:45:01 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 11/14/18 1:50 PM, Ulrich Sibiller wrote: > On Wed, Nov 14, 2018 at 8:17 PM wrote: >> >> Package: x2goserver >> Version: 4.0.1.0 >> >> I put this in the x2goserver section but I'm not quite sure if it's the >> right component that suffers from this issue. >> >> In my company, we recently began to experience an issue similar to the >> one reported in archived bug #673 [1] and on the X2Go-User list [2] >> back in 2015. The manifestation of the issue is that when a session is >> suspended, our program that runs in a terminal inside the session is >> slowed down to a near stop, and abruptly recovers its original speed >> when the session is resumed. There seems to be a link with graphical >> components though, and my guess is it's the output scrolling in the >> terminal that is stalled, and by way of consequence slowing down the >> rest of the program downstream. >> To confirm the involvement of the graphics, I tried running glxgears as >> a test, and while it runs at about 1000 fps while the session is >> attached, it drops at about 3 fps (!) when suspended. This behaviour is >> reproducible on a freshly installed CentOS 7 VM; I can provide a >> VirtualBox VM on which I ran the glxgears test. >> > ... > >> A quick search for this issue raised at least 2 third parties >> experiencing the issue; one university [3] announced dropping x2go as >> of October 2018 because of this, and another [4] is listing it as a >> known issue, albeit maybe in 2015. > > Oh, they should have asked before dropping X2go! > >> I hope we can find a source for this problem, it's quite critical for >> us. > > That has been implemented on purpose by nomachine to take some load > off the server. You can disable that via the sleep option: > sleep= > delay X server operations when suspended (provided in > msec), set to 0 to keep nxagent session fully functional when > suspended (e.g. useful when mirroring an nxagent session via VNC) > > You can set this sleep to 0 in /etc/x2go/x2goagent.options on the > server with the following line: > X2GO_NXAGENT_DEFAULT_OPTIONS="-options nx/nx,sleep=0" > > This in non-obvious and should be a client option instead... Can you > please try if that helps for your setup? > > Uli See https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1322 for my proposal for addressing this on the server side. I believe by adding the line above you are messing up many of the default options. According to the man page of nxagent: -options filename path to an options file containing nx/nx options (see below). -- Orion Poplawski Manager of NWRA Technical Systems 720-772-5637 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane orion@nwra.com Boulder, CO 80301 https://www.nwra.com/ From ulrich.sibiller@gmail.com Wed Nov 21 01:13:52 2018 Received: (at 1342) by bugs.x2go.org; 21 Nov 2018 00:14:01 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 77D625DAED for <1342@bugs.x2go.org>; Wed, 21 Nov 2018 01:13:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de Received: from ymir.das-netzwerkteam.de ([127.0.0.1]) by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wkK-KMcoptAl for <1342@bugs.x2go.org>; Wed, 21 Nov 2018 01:13:44 +0100 (CET) Received: from mail-vs1-f51.google.com (mail-vs1-f51.google.com [209.85.217.51]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 4EAC35DACB for <1342@bugs.x2go.org>; Wed, 21 Nov 2018 01:13:44 +0100 (CET) Received: by mail-vs1-f51.google.com with SMTP id z3so2219582vsf.7 for <1342@bugs.x2go.org>; Tue, 20 Nov 2018 16:13:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wcvko9XloaBfEODBjDqnZ/pO9PLmT5BQqOLhoFRe2t0=; b=qKW9LwFWoHuL0HehtmgA6NrYNH6iOAsGg1gn7FmvEEI6goR3PELtFCqvFrxBjEJMPt Ptt8iLVbiLkQlWk6gJw5NrigfbH+yH9OpTJoMJrlTJoCgGq72hXjks9R1fxvghbrRas+ 5dKDg8XDJ1FYjU2ulkCXSdS+RC9lhkofYjXvxfApmj5K9g1tjec7s19SjJ47hq4lhJhk A5PY8g8ywYnPdctaRskXme8LLzvMTOwJGU5KISxx0x042TJ2gmm/oAJzzl1uBnyiFf42 MYRV2BTUOKtgMTQMssKxDB9OXNS4EBvhpET5NC85aUAtxpG7pdMCEL4IdywaSRleZsHH 7udw== X-Gm-Message-State: AGRZ1gLdixUw/lOPYRxDhSF4fmWD8FlxZZazymFtXILe8TlYxF5hi93H /nESf4/zhUgt3JAhTDKCyQGyEZuOV3JGva+ssiA= X-Google-Smtp-Source: AJdET5fydm+zWZwzrBd1BRnvz5JZxspVXaQmKg9YdDgQg+mzTsjBqsSg/MJP7KmmBXUQxuIj4pzM6E1n0S+827oZ+wE= X-Received: by 2002:a67:c48a:: with SMTP id d10mr1823476vsk.234.1542759222704; Tue, 20 Nov 2018 16:13:42 -0800 (PST) MIME-Version: 1.0 References: <20181114184726.667d6ae6.mx@64.re> In-Reply-To: From: Ulrich Sibiller Date: Wed, 21 Nov 2018 01:13:15 +0100 Message-ID: Subject: Re: [X2Go-Dev] Bug#1342: Bug#1342: Graphical apps stalling in suspended session To: Orion Poplawski , Mihai Moldovan Cc: 1342@bugs.x2go.org, yk+bug+x2go@64.re Content-Type: text/plain; charset="UTF-8" On Tue, Nov 20, 2018 at 11:45 PM Orion Poplawski wrote: > See https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1322 for my proposal for > addressing this on the server side. I believe by adding the line above you > are messing up many of the default options. According to the man page of nxagent: > > -options filename > path to an options file containing nx/nx options (see below). Yes, I know. I have worked on that option handling stuff in nxagent several times. But x2go is not passing the options file via the command line option. It is embedding the path into the DISPLAY variable. My (quick) tests showed that it worked. I am still waiting for the original poster to specify in detail what problems he had after applying that configuration. Nevertheless I have not looked into the code to check if there's anything that will prevent this from working properly. Regarding your proposal: While it is not the cleanest approach I think we should include it to help users in special cases.. The sleep stuff really should be handled by x2goclient. @Mihai Can you please include the patch for the next release? Uli From yk+bug+x2go@64.re Fri Nov 23 12:07:26 2018 Received: (at 1342) by bugs.x2go.org; 23 Nov 2018 11:07:32 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 47C995DACD for <1342@bugs.x2go.org>; Fri, 23 Nov 2018 12:07:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de Received: from ymir.das-netzwerkteam.de ([127.0.0.1]) by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9kvN5nEx67kq for <1342@bugs.x2go.org>; Fri, 23 Nov 2018 12:07:05 +0100 (CET) Received: from mslow2.mail.gandi.net (mslow2.mail.gandi.net [217.70.178.242]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 937785DAED for <1342@bugs.x2go.org>; Fri, 23 Nov 2018 12:07:05 +0100 (CET) Received: from relay5-d.mail.gandi.net (unknown [217.70.183.197]) by mslow2.mail.gandi.net (Postfix) with ESMTP id 362233A6F79 for <1342@bugs.x2go.org>; Fri, 23 Nov 2018 11:09:11 +0100 (CET) X-Originating-IP: 51.15.181.35 Received: from zsxc (ni.64.re [51.15.181.35]) (Authenticated sender: mx@64.re) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 64EAF1C0027 for <1342@bugs.x2go.org>; Fri, 23 Nov 2018 10:08:50 +0000 (UTC) Date: Fri, 23 Nov 2018 11:08:48 +0100 From: yk+bug+x2go@64.re To: 1342@bugs.x2go.org Subject: Re: [X2Go-Dev] Bug#1342: Bug#1342: Graphical apps stalling in suspended session Message-ID: <20181123110848.76c1efcf.mx@64.re> In-Reply-To: References: <20181114184726.667d6ae6.mx@64.re> <20181115174830.29fc8337.mx@64.re> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 16 Nov 2018 09:54:51 +0100 Ulrich Sibiller wrote: > In my tests I have changed the _first_ entry in the options file, the > one without the +. Does that make any difference for you? It does not make any difference about the session suspension issue if I either set "-options" alone (without the +=) or with any combination of the other occurences in the file /etc/x2go/x2goagent.options > > mimebox and tools are not created in the x2go session folder > > (/tmp/.x2go-user/). > > This side effect is kind of worse for us. > > Can you please explain in detail? I am wondering what is happening > here. The problem that I get when adding the/setting the -option switch is that I cannot suspend the session any more (e.g. the x2gosuspend-session command does not suspend the session) and I'm getting the following line every 2 seconds in the log: /usr/sbin/x2gocleansessions[1115]: -50-1542963751_stDXFCE_dp32: state file for this session does not exist: /tmp/.x2go-/C--50-1542963751_stDXFCE_dp32/state (this can be ignored during session startups) I also have some files missing as I stated previously (clients, keyboard, state) which I think is linked somehow to the issue. > You can also try - instead of using the non-obvious setting in > x2goagent.setting - to adapt x2gostartagent on the server to integrate > that option into the generated options file. Do you mean I should wrap a script around the x2gostartagent executable? Or is there an configuration file somewhere that I can use? On Sat, 17 Nov 2018 11:00:47 +0000 Mike Gabriel wrote: > This is indeed peculiar. Are you sure, not syntax error is involved > in x2goagent.options. Note that the mimebox folder is used only by > Python X2Go, if you use X2Go Client, you can simply ignore its > non-existent. I have only 2 lines uncommented on this file, and I checked several times, so I don't think there is any syntax error. > For tracking this down, you need to provide some debug output of the > X2Go Server side. > Also, let us know, if you use X2Go Client or PyHoca-CLI or -GUI on > the client-side. > If you use PyHoca-*, run it with "--libdebug" on a cmd line and > provide the debug output. > If you use X2Go Client, you can use the --debug switch, but > beware... it will reveal user passwords, so don't send that unedited > to a public mailing list! We are using the X2Go client, I will try to grab the debug version and run it. On Tue, 20 Nov 2018 15:45:01 -0700 Orion Poplawski wrote: > See https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1322 for my > proposal for addressing this on the server side. I believe by adding > the line above you are messing up many of the default options. > According to the man page of nxagent: > > -options filename > path to an options file containing nx/nx options (see > below). Thanks for the suggestion. I barely have time to debug the issue, I'm afraid having to patch and compile anything will be too time consuming. I guess I'll wait for nightly builds if the patch is considered for inclusion in the project.