X2Go Bug report logs - #1414
X2Goclient crashes on plasma on Wayland, on plasma on xorg it works fine

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Kay Nick <dr.k.nick@gmx.de>

Date: Mon, 4 Nov 2019 17:30:02 UTC

Severity: normal

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1414; Package x2goclient. (Mon, 04 Nov 2019 17:30:02 GMT) (full text, mbox, link).


Acknowledgement sent to Kay Nick <dr.k.nick@gmx.de>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 04 Nov 2019 17:30:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Kay Nick <dr.k.nick@gmx.de>
To: submit@bugs.x2go.org
Subject: X2Goclient crashes on plasma on Wayland, on plasma on xorg it works fine
Date: Mon, 4 Nov 2019 18:27:43 +0100
[Message part 1 (text/plain, inline)]
Package: x2goclient

Version 4.1.2.1

How to reproduce:

started on command line: plasma on xorg:

[ml@carbon ~]$ x2goclient
x2go-INFO-1> "Starting X2Go Client 4.1.2.1..."
x2go-INFO-4> "Translator: :/i18n/x2goclient_de_de found."
x2go-INFO-4> "Übersetzung: :/i18n/qt_de_de gefunden."
QObject::connect: No such slot ONMainWindow::slotCheckAgentProcess()
x2go-INFO-3> "X2GoClient wurde gestartet."
x2go-INFO-8> "Verbindung mit Server wird gestartet: thor.xx.yyy.de:22"
x2go-INFO-6> "X2GoClient wird geschlossen ..."
QProcess: Destroyed while process ("nxproxy") is still running.
x2go-INFO-7> "Alle Hooks, die beim Beenden von X2GoClient abgearbeitet
werden sollten, wurden abgearbeitet."


started on command line: plasma on wayland:

[ml@carbon ~]$ x2goclient
x2go-INFO-1> "Starting X2Go Client 4.1.2.1..."
x2go-INFO-4> "Translator: :/i18n/x2goclient_de_de found."
x2go-INFO-4> "Übersetzung: :/i18n/qt_de_de gefunden."
QObject::connect: No such slot ONMainWindow::slotCheckAgentProcess()
x2go-INFO-3> "X2GoClient wurde gestartet."
x2go-INFO-8> "Verbindung mit Server wird gestartet: thor.xx.yyy.de:22"
Speicherzugriffsfehler (Speicherabzug geschrieben)



The client machine's OS: Manjaro Linux 64 bit

The client machine's version of X2GoClient: X2GoClient V. 4.1.2.1 (Qt -
5.13.1)

The server's OS: CentOS 7.7 64 Bit

The server's version of the x2goserver package 4.1.0.3

[Message part 2 (text/html, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1414; Package x2goclient. (Sat, 14 Dec 2019 02:30:02 GMT) (full text, mbox, link).


Acknowledgement sent to Orion Poplawski <orion@nwra.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Sat, 14 Dec 2019 02:30:02 GMT) (full text, mbox, link).


Message #10 received at 1414@bugs.x2go.org (full text, mbox, reply):

From: Orion Poplawski <orion@nwra.com>
To: Kay Nick <dr.k.nick@gmx.de>, 1414@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1414: X2Goclient crashes on plasma on Wayland, on plasma on xorg it works fine
Date: Fri, 13 Dec 2019 19:25:53 -0700
[Message part 1 (text/plain, inline)]
On 11/4/19 10:27 AM, Kay Nick wrote:
> Package: x2goclient
> 
> Version 4.1.2.1
> 
> How to reproduce:
> 
> started on command line: plasma on xorg:
> 
> [ml@carbon ~]$ x2goclient
> x2go-INFO-1> "Starting X2Go Client 4.1.2.1..."
> x2go-INFO-4> "Translator: :/i18n/x2goclient_de_de found."
> x2go-INFO-4> "Übersetzung: :/i18n/qt_de_de gefunden."
> QObject::connect: No such slot ONMainWindow::slotCheckAgentProcess()
> x2go-INFO-3> "X2GoClient wurde gestartet."
> x2go-INFO-8> "Verbindung mit Server wird gestartet: thor.xx.yyy.de:22"
> x2go-INFO-6> "X2GoClient wird geschlossen ..."
> QProcess: Destroyed while process ("nxproxy") is still running.
> x2go-INFO-7> "Alle Hooks, die beim Beenden von X2GoClient abgearbeitet 
> werden sollten, wurden abgearbeitet."
> 
> 
> started on command line: plasma on wayland:
> 
> [ml@carbon ~]$ x2goclient
> x2go-INFO-1> "Starting X2Go Client 4.1.2.1..."
> x2go-INFO-4> "Translator: :/i18n/x2goclient_de_de found."
> x2go-INFO-4> "Übersetzung: :/i18n/qt_de_de gefunden."
> QObject::connect: No such slot ONMainWindow::slotCheckAgentProcess()
> x2go-INFO-3> "X2GoClient wurde gestartet."
> x2go-INFO-8> "Verbindung mit Server wird gestartet: thor.xx.yyy.de:22"
> Speicherzugriffsfehler (Speicherabzug geschrieben)
> 
> 
> 
> The client machine's OS: Manjaro Linux 64 bit
> 
> The client machine's version of X2GoClient: X2GoClient V. 4.1.2.1 (Qt - 
> 5.13.1)
> 
> The server's OS: CentOS 7.7 64 Bit
> 
> The server's version of the x2goserver package 4.1.0.3
> 

Tags: patch

See also https://bugzilla.redhat.com/show_bug.cgi?id=1756430#c2

https://wiki.archlinux.org/index.php/X2Go#X2Go_client:_Cannot_connect_to_remote_X2Go_server_from_local_Wayland_session:_%22The_connection_with_the_remote_server_was_shut_down%22

From b53b8d654c73420fc5cc12e42717ac75a824c974 Mon Sep 17 00:00:00 2001
From: Orion Poplawski <orion@nwra.com>
Date: Fri, 13 Dec 2019 19:22:13 -0700
Subject: [PATCH] Select X11 backend on wayland

---
 desktop/x2goclient.desktop | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/desktop/x2goclient.desktop b/desktop/x2goclient.desktop
index fbb396d..eeb7c7b 100644
--- a/desktop/x2goclient.desktop
+++ b/desktop/x2goclient.desktop
@@ -2,7 +2,7 @@
 Version=1.0
 Type=Application
 Name=X2Go Client
-Exec=x2goclient
+Exec=env QT_QPA_PLATFORM=xcb x2goclient
 Icon=x2goclient
 StartupWMClass=x2goclient
 X-Window-Icon=x2goclient
--
1.8.3.1



-- 
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/

[smime.p7s (application/pkcs7-signature, attachment)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1414; Package x2goclient. (Sat, 14 Dec 2019 04:05:01 GMT) (full text, mbox, link).


Acknowledgement sent to Orion Poplawski <orion@nwra.com>, 1414@bugs.x2go.org:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Sat, 14 Dec 2019 04:05:01 GMT) (full text, mbox, link).


Message #15 received at 1414@bugs.x2go.org (full text, mbox, reply):

From: Orion Poplawski <orion@nwra.com>
To: Kay Nick <dr.k.nick@gmx.de>, 1414@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1414: Bug#1414: X2Goclient crashes on plasma on Wayland, on plasma on xorg it works fine
Date: Fri, 13 Dec 2019 21:02:33 -0700
[Message part 1 (text/plain, inline)]
On 12/13/19 7:25 PM, Orion Poplawski wrote:
> On 11/4/19 10:27 AM, Kay Nick wrote:
>> Package: x2goclient
>>
>> Version 4.1.2.1
>>
>> How to reproduce:
>>
>> started on command line: plasma on xorg:
>>
>> [ml@carbon ~]$ x2goclient
>> x2go-INFO-1> "Starting X2Go Client 4.1.2.1..."
>> x2go-INFO-4> "Translator: :/i18n/x2goclient_de_de found."
>> x2go-INFO-4> "Übersetzung: :/i18n/qt_de_de gefunden."
>> QObject::connect: No such slot ONMainWindow::slotCheckAgentProcess()
>> x2go-INFO-3> "X2GoClient wurde gestartet."
>> x2go-INFO-8> "Verbindung mit Server wird gestartet: thor.xx.yyy.de:22"
>> x2go-INFO-6> "X2GoClient wird geschlossen ..."
>> QProcess: Destroyed while process ("nxproxy") is still running.
>> x2go-INFO-7> "Alle Hooks, die beim Beenden von X2GoClient abgearbeitet 
>> werden sollten, wurden abgearbeitet."
>>
>>
>> started on command line: plasma on wayland:
>>
>> [ml@carbon ~]$ x2goclient
>> x2go-INFO-1> "Starting X2Go Client 4.1.2.1..."
>> x2go-INFO-4> "Translator: :/i18n/x2goclient_de_de found."
>> x2go-INFO-4> "Übersetzung: :/i18n/qt_de_de gefunden."
>> QObject::connect: No such slot ONMainWindow::slotCheckAgentProcess()
>> x2go-INFO-3> "X2GoClient wurde gestartet."
>> x2go-INFO-8> "Verbindung mit Server wird gestartet: thor.xx.yyy.de:22"
>> Speicherzugriffsfehler (Speicherabzug geschrieben)
>>
>>
>>
>> The client machine's OS: Manjaro Linux 64 bit
>>
>> The client machine's version of X2GoClient: X2GoClient V. 4.1.2.1 (Qt 
>> - 5.13.1)
>>
>> The server's OS: CentOS 7.7 64 Bit
>>
>> The server's version of the x2goserver package 4.1.0.3
>>
> 
> Tags: patch
> 
> See also https://bugzilla.redhat.com/show_bug.cgi?id=1756430#c2
> 
> https://wiki.archlinux.org/index.php/X2Go#X2Go_client:_Cannot_connect_to_remote_X2Go_server_from_local_Wayland_session:_%22The_connection_with_the_remote_server_was_shut_down%22 
> 
> 
>  From b53b8d654c73420fc5cc12e42717ac75a824c974 Mon Sep 17 00:00:00 2001
> From: Orion Poplawski <orion@nwra.com>
> Date: Fri, 13 Dec 2019 19:22:13 -0700
> Subject: [PATCH] Select X11 backend on wayland
> 
> ---
>   desktop/x2goclient.desktop | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/desktop/x2goclient.desktop b/desktop/x2goclient.desktop
> index fbb396d..eeb7c7b 100644
> --- a/desktop/x2goclient.desktop
> +++ b/desktop/x2goclient.desktop
> @@ -2,7 +2,7 @@
>   Version=1.0
>   Type=Application
>   Name=X2Go Client
> -Exec=x2goclient
> +Exec=env QT_QPA_PLATFORM=xcb x2goclient
>   Icon=x2goclient
>   StartupWMClass=x2goclient
>   X-Window-Icon=x2goclient
> -- 
> 1.8.3.1

Of course, this won't help launching from the command line.  Not sure 
how to handle that.


-- 
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/

[smime.p7s (application/pkcs7-signature, attachment)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1414; Package x2goclient. (Sun, 15 Dec 2019 22:40:02 GMT) (full text, mbox, link).


Acknowledgement sent to Orion Poplawski <orion@nwra.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Sun, 15 Dec 2019 22:40:03 GMT) (full text, mbox, link).


Message #20 received at 1414@bugs.x2go.org (full text, mbox, reply):

From: Orion Poplawski <orion@nwra.com>
To: 1414@bugs.x2go.org
Subject: Specify platform
Date: Sun, 15 Dec 2019 15:35:55 -0700
[Message part 1 (text/plain, inline)]
I think you could do in src/ongetpass.cpp:x2goMain

int x2goMain ( int argc, char *argv[] )
{
    QApplication app ( argc,argv );

before calling 'QApplication app(argc, argv);' do a setenv or something 
like:

int argcx = argc + 2;
char **argvx = new char*[argcx];
std::memcpy(argvx, argv, argc * sizeof(char *));
argvx[argc] = const_cast<char *>("-platform");
argvx[argc + 1] = const_cast<char *>("xcb");
QApplication app(argcx, argvx);

-- 
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/

[smime.p7s (application/pkcs7-signature, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat May 30 03:04:18 2020; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.