From unknown Tue May 12 18:39:32 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#1355: x2godesktopsharing applet starts multiple times in KDE Plasma if restore desktop is set
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 1355@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: josesan@gmail.com, X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Sat, 15 Dec 2018 16:20:03 +0000
Resent-Message-ID: <handler.1355.B.1544890710790@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 1355
X-X2Go-PR-Package: x2godesktopsharing
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.1544890710790
          (code B); Sat, 15 Dec 2018 16:20:03 +0000
Received: (at submit) by bugs.x2go.org; 15 Dec 2018 16:18:30 +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,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
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

This message is in MIME format and has been PGP signed.

--=_mt3ddsJ42GLSMM-vmmNPvGG
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=C3=ADctor J. S=C3=A1nchez E. wrote:

>
> El mi=C3=A9., 5 dic. 2018 a las 15:09, V=C3=ADctor J. S=C3=A1nchez (<vjos=
esan@gmail.com>)
> escribi=C3=B3:
>
>> 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 a=
nd
>> 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 KD=
E
> Plasma session the number of x2godesktopsharing applets were increasing i=
n
> system tray (until 5 applets or more!!).
> I discovered that the restore of KDE Plasma session setting was inexplica=
bly
> resetted (may due to an update). I set it again to starts an empty sessio=
n
> 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=20=20
second=20instance when there is one already running for the same $DISPLAY.

Mike
--=20

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


--=_mt3ddsJ42GLSMM-vmmNPvGG
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIzBAABCAAdFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAlwVKTQACgkQmvRrMCV3
GzHbfg/8CGlRRbrJLL+Aefm7KFz1qc+LcSBUwHkTrDd97ags40L/WgmJh86wN7r9
zOmHOe27sciPUlkdStqOLiFAAVK74IlOazizvyT0e6eOULNFoTMsCPpS9fOTEdtA
mqtYUQoWQ9f65WvNmhh+7bkvFElSDiOoEinrA3dDBL5RWqPpJ82kBb83LWBbXqR8
koXjSYDYwbTUi/QckTLlvNidJdQQXtGlSMf24qbGIGRJ7W9GY6ibqL+Lz6lshsZ1
ljBHIFSXtWMgBZnh7pJdvHbzZ4j126P9H7XAgbJePZ1r0ZoDZRJ1cb1jMYkPDenR
9//85ExewQ4f52V4f47IMZkwJTj8/0x04gE5Vvzp5FI9ROAoviGLXrHN+sYsz9Pw
rPis4QtuN6HYM1ePLjQmeEL0yTRvewvoJfrTfcalq5V63PXBn06dY1HxNXMlgK3m
efQAJVQVDgE/5S0kGIO0XM2yOyu8L7zOhv9u+WIhOSQGm5sAIADlGzi0+V4gbXe2
lR5Hc5eqyIid8kU4ThKSd89TuIjnFpBr5rBHwVbHCUu2sLe9THP5z0zTIbCM9iI0
GNKg4MJF8TiLqZ8Vhj0CffFMFfxEDE2/xPMuTD9OCAGTBodlm+UIzgJvAWhb63or
1dIcTtdSAIaZXCRoNul19AGE4KTlhE0/LUSD0/RB+yMAoFK8ELk=
=An9E
-----END PGP SIGNATURE-----

--=_mt3ddsJ42GLSMM-vmmNPvGG--
