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


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1414: Specify platform
Reply-To: Orion Poplawski <orion@nwra.com>, 1414@bugs.x2go.org
Resent-From: Orion Poplawski <orion@nwra.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Sun, 15 Dec 2019 22:40:02 +0000
Resent-Message-ID: <handler.1414.B1414.157644939810611@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1414
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
References: <53f08d37-c3ea-38eb-25ca-10e50ab06354@gmx.de>
Received: via spool by 1414-submit@bugs.x2go.org id=B1414.157644939810611
          (code B ref 1414); Sun, 15 Dec 2019 22:40:02 +0000
Received: (at 1414) by bugs.x2go.org; 15 Dec 2019 22:36:38 +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,SPF_HELO_NONE,
	URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2
Received: from mail.nwra.com (mail.nwra.com [72.52.192.72])
	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 [67.166.25.97])
	(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>
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
 Thunderbird/68.3.0
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 
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: Thu Nov 21 15:39:45 2024; 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.