From boekhold@gmx.com Wed Sep 9 09:55:43 2020 Received: (at submit) by bugs.x2go.org; 9 Sep 2020 07:55: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=-1.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 4134B5DAE9 for ; Wed, 9 Sep 2020 09:55:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1599638112; bh=OBo7OWvZLZCq40sv6hL8VUmi/dQucizRTv0XYaBkSuk=; h=X-UI-Sender-Class:To:From:Subject:Date; b=Q8eMqFaJLXTOx1HnGYI1y62Tup9chWauM2rXWwOMUEBcFDwaoD3M3FGYwdeUs7c6b PAm6CuRGkLWZZqRjNbI4Ct3vI/WVVDkV0XGHhDiTdOIKfEc9/0k+VZCJhd9tprpw6B tYT/jJKp6DcKTwzN/MXrdIFHmN1TXhQ/bzt3wOYY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.70.5] ([94.204.253.85]) by mail.gmx.com (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1M7Jza-1kAQm41Ezc-007jaa for ; Wed, 09 Sep 2020 09:55:12 +0200 To: submit@bugs.x2go.org From: Maarten Boekhold Subject: x2goclient resumes existing session with wrong X-Server options Message-ID: Date: Wed, 9 Sep 2020 11:55:10 +0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-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+LtfcRekO0I4EgNTCJHAcj GapqofbRRAXdhmWYUvt35bl+RO9ma77HFmN4S8vuk0baJ/HazL62nEBdrYo75o/2UmM/nN54w mE/YaKKDY400MGo+2HXrk5HtPi4DtBWirOZwrpSW/RAwtDTGx70Xcb1kF87/PnorjZioGMtFx rJBt9IIo7ih47wy+CxVisy/ysD+Q8+CvPguWQzW0KGMyBau5X8ybNaOHkjKi4KHo8cak/KeGW 6yyZr97Zau61PkZzD5q/whJouWS84NUpxnKAwtf4VcEiFZ654cCLFvG0CJupDxUhKDxKEF1uL vl59n4nrz1Lud90uf1QLdG1QNp8D58mFLnlzEwhuE8ixzBI4zgqnhnpxgV08k0gBSNzC+SuqI UsW3/tkDF5+HGw3z2Ng58oq+5aJ0WXi98/mWHcqDVmjG3qmY/cClISLeRRJabx7BzrvMistI8 aIFd6NcysrRliAm/Y Package: x2goclient Version: 4.1.2.2 Windows 10, x2goclient 4.1.2.2 When resuming a "paused" x2Go session, x2goclient is using the wrong X-Server settings. I have configured my x2goclient with the following settings for X.Org Server settings: **X.Org Server settings** [X] use custom X-Server Executable: C:/Program Files (x86)/x2goclient/VcXsrv/vcxsrv.exe [ ] start X-Server on X2Go Client start Window mode: -screen 0 %wx%h -notrayicon -clipboard -keyhook \ -nowinkill -nopn -silent-dup-error Fullscreen mode: -fullscreen -notrayicon -clipboard -keyhook \ -nowinkill -nopn -silent-dup-error Single application: -multiwindow -notrayicon -clipboard \ -keyhook -nowinkill -nopn -silent-dup-error Whole display: -nodecoration -notrayicon -clipboard -keyhook \ -nopn -silent-dup-error -screen 0 @ My x2goclient session is configured as: **Session preferences: Input/Output** [ ] Fullscreen [ ] Custom Width (greyed out 3696) Height (greyed out 2160) [X] Use whole display [ ] Maximum available Display: 2 When I start a new x2Go session, it correctly runs the X-Server with the "Whole display" command (as per Windows Task Manager): "C:\Program Files (x86)\x2goclient\VcXsrv\vcxsrv.exe" \ -nodecoration -notrayicon -clipboard -keyhook -nowinkill \ -nopn -silent-dup-error screen 0 @2 :0 But if I then "pause" this session and reconnect, x2goclient uses the "Window mode" command line options instead: "C:\Program Files (x86)\x2goclient\VcXsrv\vcxsrv.exe" \ -screen 3696x2160 -notrayicon -clipboard -keyhook \ -nowinkill -nopn -silent-dup-error :0 I suspect this has something to do with the code around line 4442 in onmainwindow.cpp, but I've not been able to figure out the exact details yet. Maarten From ulrich.sibiller@gmail.com Tue Dec 8 14:37:28 2020 Received: (at 1495) by bugs.x2go.org; 8 Dec 2020 13:37:31 +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,FREEMAIL_FROM, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com [209.85.219.171]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id A37465DD00 for <1495@bugs.x2go.org>; Tue, 8 Dec 2020 14:37:28 +0100 (CET) Received: by mail-yb1-f171.google.com with SMTP id u203so541348ybb.2 for <1495@bugs.x2go.org>; Tue, 08 Dec 2020 05:37:28 -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=DWp24yM/Nxl4jtR4yqKM1uCfM1iv0PIPW3I95UVYrhQ=; b=sfqr7It6VqrieqImITEu7ZQosrfrrcim3Hld8WMNsoNJExvwCvUQYYpwj85hLblS5D pNajsTRWIAyX4avBn+vYz/tdnob8V3HaQw6xR3VCqNJzxhNv4Kl5ZMmLSKuSFyeFwZtr rw8wxVgVKrKnejM6HiDJ6h+VvZXwqs1jSwaqP75WsW0LeanUcvjMnfKLr3sMiv+9LDLp ZGnJrx/7hkfsiniVvG7nFP4MDlvUs0V4NGv+CZjVUZtvZpIKUwj70Z6npJjjw1RMtZaS GBAZnQs3qPAk8k7dyG8H7kHjK0xHFURfYFg1csgRqByG0JA04NJhv3p9cCKDicXezfO3 FOJg== X-Gm-Message-State: AOAM533e2ykNXBD0APgICsN4NZkry8xKA6O5rDm2rXtPQtCjuPiT2qZr Na2rLMsGBhAE36rn2ebXQOE4l2CzJ0kGxZMEPwtpcUI2 X-Google-Smtp-Source: ABdhPJyUnt+jwelJP/IJqvL+4ZN+bgCgyjqcVrqSfb73JNplDcwyqPgVR9tQo+DBEAiJp4XseSyIWz+KuYDf4horMRk= X-Received: by 2002:a25:aa84:: with SMTP id t4mr23863546ybi.483.1607434647229; Tue, 08 Dec 2020 05:37:27 -0800 (PST) MIME-Version: 1.0 References: <9b4b2a7c-acd8-7706-4987-cc6387e84dfb@gmx.com> In-Reply-To: <9b4b2a7c-acd8-7706-4987-cc6387e84dfb@gmx.com> From: Ulrich Sibiller Date: Tue, 8 Dec 2020 14:37:01 +0100 Message-ID: Subject: Re: [X2Go-Dev] x2goclient windows development environment? Re: Bug#1495: x2goclient resumes existing session with wrong X-Server options To: 1495@bugs.x2go.org Cc: x2go-dev@lists.x2go.org Content-Type: text/plain; charset="UTF-8" Hmm, it looks the recommended qt version ist from 2014 - that was BEFORE Windows 10, AFAIR. So maybe you could try a Windows 7, just for building the packages. I do not know how Mihai is creating packages. Uli On Tue, Dec 8, 2020 at 1:51 PM Maarten Boekhold wrote: > > Hi all, > > Today I've tried to set up a build environment on my Windows 10 laptop so I can (try to) debug this. I've tried to follow the instructions from: > > https://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:x2goclient > > However it fails at the step where you need to compile the static version of Qt. The QT build system doesn't seem to support the specific Windows version, as I'm getting the following build error: > > $ ./configure -release -static -openssl -qt-style-windowsxp -qt-style-windowsvista > Which edition of Qt do you want to use ? > > Type 'c' if you want to use the Commercial Edition. > Type 'o' if you want to use the Open Source Edition. > > o > > -qt-style-windowsxp: invalid command-line switch > -qt-style-windowsvista: invalid command-line switch > > The specified system/compiler port is not complete: > > /c/Qt/4.8.6/mkspecs//qplatformdefs.h > > Please use the contact form at http://qt.digia.com/contact-us > > Note the empty path between the "mkspecs" and "qplatformdefs.h" directories. There is supposed to be a symbolic name there identifying the type of system. > > Does anybody have any updated build instructions for x2goclient on Windows? Or did I just miss something obvious? > > Maarten > > On 9/9/2020 11:55 AM, Maarten Boekhold wrote: > > Package: x2goclient > Version: 4.1.2.2 > > Windows 10, x2goclient 4.1.2.2 > > When resuming a "paused" x2Go session, x2goclient is using the wrong > X-Server settings. > > I have configured my x2goclient with the following > settings for X.Org Server settings: > > > **X.Org Server settings** > [X] use custom X-Server > Executable: C:/Program Files (x86)/x2goclient/VcXsrv/vcxsrv.exe > [ ] start X-Server on X2Go Client start > > Window mode: -screen 0 %wx%h -notrayicon -clipboard -keyhook \ > -nowinkill -nopn -silent-dup-error > Fullscreen mode: -fullscreen -notrayicon -clipboard -keyhook \ > -nowinkill -nopn -silent-dup-error > Single application: -multiwindow -notrayicon -clipboard \ > -keyhook -nowinkill -nopn -silent-dup-error > Whole display: -nodecoration -notrayicon -clipboard -keyhook \ > -nopn -silent-dup-error -screen 0 @ > > My x2goclient session is configured as: > > **Session preferences: Input/Output** > [ ] Fullscreen > [ ] Custom Width (greyed out 3696) Height (greyed out 2160) > [X] Use whole display [ ] Maximum available Display: 2 > > When I start a new x2Go session, it correctly runs the X-Server with the > "Whole display" command (as per Windows Task Manager): > > "C:\Program Files (x86)\x2goclient\VcXsrv\vcxsrv.exe" \ > -nodecoration -notrayicon -clipboard -keyhook -nowinkill \ > -nopn -silent-dup-error screen 0 @2 :0 > > But if I then "pause" this session and reconnect, x2goclient uses the > "Window mode" command line options instead: > > "C:\Program Files (x86)\x2goclient\VcXsrv\vcxsrv.exe" \ > -screen 3696x2160 -notrayicon -clipboard -keyhook \ > -nowinkill -nopn -silent-dup-error :0 > > I suspect this has something to do with the > code around line 4442 in onmainwindow.cpp, but I've not been able to > figure out the exact details yet. > > Maarten > _______________________________________________ > x2go-dev mailing list > x2go-dev@lists.x2go.org > https://lists.x2go.org/listinfo/x2go-dev > > > _______________________________________________ > x2go-dev mailing list > x2go-dev@lists.x2go.org > https://lists.x2go.org/listinfo/x2go-dev