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

Full log

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

Received: (at 1414) by bugs.x2go.org; 15 Dec 2019 22:36:38 +0000
From orion@nwra.com  Sun Dec 15 23:36:04 2019
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,SPF_HELO_NONE,
	URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2
Received: from mail.nwra.com (mail.nwra.com [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id EFCE85DAD7
	for <1414@bugs.x2go.org>; Sun, 15 Dec 2019 23:36:00 +0100 (CET)
Received: from rufous.cora.nwra.com (c-67-166-25-97.hsd1.co.comcast.net [])
	(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 ESMTPSA id EEB2D3403C5
	for <1414@bugs.x2go.org>; Sun, 15 Dec 2019 14:35:57 -0800 (PST)
To: 1414@bugs.x2go.org
From: Orion Poplawski <orion@nwra.com>
Subject: Specify platform
Organization: NorthWest Research Associates
Message-ID: <1400cef8-5088-36d0-af24-cbc4f2ff7afc@nwra.com>
Date: Sun, 15 Dec 2019 15:35:55 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms060106030002070607040401"
[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 

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: Fri Sep 17 09:30:26 2021; 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.