X2Go Bug report logs - #1355
x2godesktopsharing applet starts multiple times in KDE Plasma if restore desktop is set

version graph

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

Reported by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Date: Sat, 15 Dec 2018 16:20:03 UTC

Severity: important

Found in version 3.2.0.0

Full log


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

Received: (at submit) by bugs.x2go.org; 15 Dec 2018 16:18:30 +0000
From mike.gabriel@das-netzwerkteam.de  Sat Dec 15 17:18:17 2018
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 98D2B5DAF0
	for <submit@bugs.x2go.org>; Sat, 15 Dec 2018 17:18:17 +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 Pvy3Sqgd2KaK for <submit@bugs.x2go.org>;
	Sat, 15 Dec 2018 17:18:03 +0100 (CET)
Received: from fregna.das-netzwerkteam.de (fregna.das-netzwerkteam.de [148.251.53.130])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 26C7D5DAEF
	for <submit@bugs.x2go.org>; Sat, 15 Dec 2018 17:18:03 +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 13CAD604E0
	for <submit@bugs.x2go.org>; Sat, 15 Dec 2018 16:18:03 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 0B6A4C2684;
	Sat, 15 Dec 2018 17:18:03 +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 UywusT4kq_om; Sat, 15 Dec 2018 17:17:57 +0100 (CET)
Received: from das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 71A3AC266B;
	Sat, 15 Dec 2018 17:17:57 +0100 (CET)
Received: from [37.123.126.38] ([37.123.126.38]) by mail.das-netzwerkteam.de
 (Horde Framework) with HTTPS; Sat, 15 Dec 2018 16:17:57 +0000
Date: Sat, 15 Dec 2018 16:17:57 +0000
Message-ID: <20181215161757.Horde.0ixGp-8Ebc7wBXQwd26oeXO@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: submit@bugs.x2go.org
Cc: x2go-user@lists.x2go.org
Subject: x2godesktopsharing applet starts multiple times in KDE Plasma if
 restore desktop is set
References: <f7c8ab2f-66c3-ee94-fb62-0dd1f7310714@gmail.com>
 <CAFFu=z8kF_UBfTQ7K+OxwPRZ-k2pdcj+zkZgELUp8hd35yDzLw@mail.gmail.com>
In-Reply-To: <CAFFu=z8kF_UBfTQ7K+OxwPRZ-k2pdcj+zkZgELUp8hd35yDzLw@mail.gmail.com>
User-Agent: Horde Application Framework 5
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 37.123.126.38
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Firefox/60.0
Content-Type: multipart/signed; boundary="=_mt3ddsJ42GLSMM-vmmNPvGG";
 protocol="application/pgp-signature"; micalg=pgp-sha256
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Package: x2godesktopsharing
Severity: important
Version: 3.2.0.0
X-Debbugs-Cc: josesan@gmail.com

Hi,

I turn this thread into an official bug report...

On  So 09 Dez 2018 13:59:02 CET, Víctor J. Sánchez E. wrote:

>
> El mié., 5 dic. 2018 a las 15:09, Víctor J. Sánchez (<vjosesan@gmail.com>)
> escribió:
>
>> Hi all,
>>
>> I recently installed x2godesktopsharing via X2Go repositories for Debian.
>> The installation asked me about activate the auto-start feature (I said
>> yes) and enable shared desktop (I said no). When I reboot the machine in
>> KDE Plasma desktop I see two x2godesktopsharing applets in system tray and
>> the next error message is displayed (translated into english):
>>
>> *The application X2Go DesktopSharing is already active for this screen*
>>
>> *if it doesn't run remove /tmp/x2godesktopsharing.lock_USER@:0 and start
>> it up again*
>>
>> I don't know about x2godesktopsharing is started because I can't find
>> anything in the documentation about it. I only see the file
>> /etc/xdg/autostart/x2godesktopsharing.desktop but I don't see any system
>> service (systemctl) nor KDE Plasma desktop's startup service or script.
>>
>> How could I resolve this issue?
>>
>> Some data about my system:
>>
>> - Debian testing (amd64), kernel 4.18.0-3-amd64
>>
>> - KDE Plasma 5.14.3
>>
>> - x2godesktopsharing 3.2.0.0
>>
>> Thanks in advance.
>>

> Hi all again,
>
> after investigate deeper about this issue I noted that every log in in KDE
> Plasma session the number of x2godesktopsharing applets were increasing in
> system tray (until 5 applets or more!!).
> I discovered that the restore of KDE Plasma session setting was inexplicably
> resetted (may due to an update). I set it again to starts an empty session
> and the problem has gone. Now it only starts only one x2godesktopsharing
> system tray applet.
> The setting is in KDE System Settings -> Startup and Shutdown -> Desktop
> Session -> On Login switch to "Start with an empty session" instead of
> "Restore previous session".
>
> Regards.
>
> ----

This looks like we should hinder x2godesktopsharing from starting a  
second instance when there is one already running for the same $DISPLAY.

Mike
-- 

DAS-NETZWERKTEAM
mike gabriel, 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

[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Mar 28 11:32:37 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.