X2Go Bug report logs - #591
No system tray for remote applications

version graph

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

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

Date: Tue, 2 Sep 2014 17:00:01 UTC

Severity: normal

Found in version 3.5.0.27

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, psychonaut@nothingisreal.com, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#591; Package nxagent. (Tue, 02 Sep 2014 17:00:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
New Bug report received and forwarded. Copy sent to psychonaut@nothingisreal.com, X2Go Developers <x2go-dev@lists.x2go.org>. (Tue, 02 Sep 2014 17:00:02 GMT) Full text and rfc822 format available.

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

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: submit@bugs.x2go.org
Subject: No system tray for remote applications
Date: Tue, 02 Sep 2014 16:57:45 +0000
[Message part 1 (text/plain, inline)]
Package: nxagent
Version: 3.5.0.27
Severity: normal
X-Debbugs-Cc: psychonaut@nothingisreal.com

----- Weitergeleitete Nachricht von Tristan Miller  
<psychonaut@nothingisreal.com> -----
  Datum: Tue, 2 Sep 2014 14:48:57 +0200
    Von: Tristan Miller <psychonaut@nothingisreal.com>
Betreff: [X2Go-User] No system tray for remote applications
     An: x2go-user@lists.x2go.org

Greetings.

My host machine runs KDE 4 on openSUSE.  Occasionally I want to run remote
KDE applications such as KTorrent or Kopete which are supposed to display
an icon in the system tray.  However, when invoked over x2goclient, the
remote application's system tray icon is never displayed in my local
machine's system tray.  This is especially frustrating for applications
which I've set to start minimized to the system tray by default, since then
I have no way of getting them to appear on my desktop.  (They run in the
background just fine, but I have no way of interacting with them.)

I was wondering if this is a known issue or if there's something I'm doing
wrong.  If this is a known issue, is it something that needs to be fixed in
x2goclient or in the KDE applications themselves?

Regards,
Tristan

----- Ende der weitergeleiteten Nachricht -----

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#591; Package nxagent. (Sun, 07 Sep 2014 14:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael DePaulo <mikedep333@gmail.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Sun, 07 Sep 2014 14:50:02 GMT) Full text and rfc822 format available.

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

From: Michael DePaulo <mikedep333@gmail.com>
To: 591@bugs.x2go.org
Cc: Tristan Miller <psychonaut@nothingisreal.com>
Subject: Works under certain configurations, not others
Date: Sun, 7 Sep 2014 10:46:07 -0400
[Message part 1 (text/plain, inline)]
Hi Tristan and X2Go devs,

1. I was *able* to reproduce this bug under X2Go Client for Windows.
To be perfectly clear, it only happens when you are launching a remote
application ("Single Application" or "Published Application"), not
when you are launching a KDE session.

I tested a KDE session, and the system tray icons successfully showed
up under the KDE system tray. I tested both Kopete and KTorrent.

2. I was *able* to reproduce this bug using regular X11 forwarding
(ssh -Y hostname) under Cygwin XWin and Cygwin SSH.

I attached the command-line output from this. (KWrite does not use a
system tray icon. I ran KWrite anyway as a test.)

3. I was *unable* to reproduce this bug when using regular X11
forwarding (ssh -Y hostname) on an Ubuntu 14.04 machine running MATE
1.8.0. Under this configuration, the system tray icons successfully
show up in the MATE system tray. I tested both Kopete and KTorrent.

4.  Based on 1, 2 and 3, this bug may be a limitation of VcXsrv (our X
server that runs on Windows) and Cygwin XWin rather than nxagent.
VcXsrv and Cygwin XWin share a lot of code in common. If we prove this
to be the case, we should keep this bug open as a "known issue" and
reassign it to package x2goclient. (We may also fix the bug in VcXsrv
too.)

Also, I will report this to the Cygwin/X mailing list.
(Cygwin and Cygwin/X use their mailing lists to track bugs.)

Test Server:
- OpenSUSE 13.1 64-bit with only the default KDE packages installed
and the x2goserver package (and its dependencies) installed.
- All updates applied to OpenSUSE.
- x2goserver 4.0.1.15-4.1 from the OBS (on SUSE, this package includes
the xsession script)
- nxagent 3.5.0.27-1.1
- VM Hosted on the Fedora 20 KVM/virt-manager hypervisor
- Accessed the VM "locally" by connecting to KVM's SPICE interface
from a Windows machine with VirtViewer 1.0.

Test Client 1:
- Windows 8.1 64-bit with all the latest important, recommended, and
optional updates installed
- X2Go Client 4.0.3.0-2014.09.07 (nightly build)

Test Client 2:
- Windows 8.1 64-bit with all the latest important, recommended, and
optional updates installed
- Cygwin 32-bit 1.7.32 with xorg-server 1.16.0-1

Test Client 3:
- Ubuntu 14.04.1 64-bit with most of the latest updates and numerous
packages installed
- MATE 1.8.0 installed from http://repo.mate-desktop.org/archive/1.8/ubuntu

-Mike#2
[bug 591 - log when launching kwrite kopete and ktorrent over cygwin X11 and SSH.txt (text/plain, attachment)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#591; Package nxagent. (Mon, 08 Sep 2014 04:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael DePaulo <mikedep333@gmail.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 08 Sep 2014 04:50:02 GMT) Full text and rfc822 format available.

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

From: Michael DePaulo <mikedep333@gmail.com>
To: 591@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#591: Works under certain configurations, not others
Date: Mon, 8 Sep 2014 00:45:33 -0400
[Message part 1 (text/plain, inline)]
Another test.

It failed.

4. I was *able* to reproduce this bug when using X2Go Client 4.0.2.1)
on an Ubuntu 14.04 client machine running MATE 1.8.1. I tested both
Kopete and KTorrent.

(Just to be sure, I re-tested test case 3 now that I updated MATE to
1.8.1 and the rest of Ubuntu. It still passed.)

Test Client 4:
- Ubuntu 14.04.1 64-bit with the latest updates and numerous packages installed
- MATE 1.8.1 installed from ppa:ubuntu-mate-dev/ppa &
ppa:ubuntu-mate-dev/trusty-mate
- X2Go Client 4.0.2.1-0~614~ubuntu14.04.1
- nxproxy 3.5.0.27-0~446~ubuntu14.04.1
[bug591 - log when launching kwrite kopete and ktorrent over x2goclient 4.0.2.1 on Ubuntu 14.04 and MATE 1.8.1.log (application/octet-stream, attachment)]
[bug591 - log when launching kwrite kopete and ktorrent over X11 forwarding on Ubuntu 14.04 and MATE 1.8.1.log (application/octet-stream, attachment)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#591; Package nxagent. (Mon, 08 Sep 2014 07:50:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tristan Miller <psychonaut@nothingisreal.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 08 Sep 2014 07:50:01 GMT) Full text and rfc822 format available.

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

From: Tristan Miller <psychonaut@nothingisreal.com>
To: Michael DePaulo <mikedep333@gmail.com>
Cc: 591@bugs.x2go.org
Subject: Re: Works under certain configurations, not others
Date: Mon, 8 Sep 2014 09:36:02 +0200
[Message part 1 (text/plain, inline)]
Greetings.

On Sunday 07 September 2014, Michael DePaulo wrote:
> 1. I was *able* to reproduce this bug under X2Go Client for Windows.
> To be perfectly clear, it only happens when you are launching a remote
> application ("Single Application" or "Published Application"), not
> when you are launching a KDE session.

Yes, that's right.  Sorry for not mentioning this; I never launch entire 
desktop sessions so I'd forgotten to test that.  I can also confirm that 
for me the system tray icon has always appeared as expected when launching 
the applications over a regular OpenSSH session with X11 forwarding.  It's 
only when launching a single application from x2go that the problem occurs.

Regards,
Tristan

-- 
   _
  _V.-o         Tristan Miller          ><  Space is limited
 / |`-'  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-  <>  In a haiku, so it's hard
(7_\\    http://www.nothingisreal.com/  ><  To finish what you
[signature.asc (application/pgp-signature, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#591; Package nxagent. (Mon, 08 Sep 2014 09:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 08 Sep 2014 09:10:02 GMT) Full text and rfc822 format available.

Message #25 received at 591@bugs.x2go.org (full text, mbox):

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Michael DePaulo <mikedep333@gmail.com>, 591@bugs.x2go.org
Cc: Tristan Miller <psychonaut@nothingisreal.com>
Subject: Re: [X2Go-Dev] Bug#591: Works under certain configurations, not others
Date: Mon, 08 Sep 2014 09:08:29 +0000
[Message part 1 (text/plain, inline)]
Hi Michael, hi Tristan,

On  So 07 Sep 2014 16:46:07 CEST, Michael DePaulo wrote:

> 1. I was *able* to reproduce this bug under X2Go Client for Windows.
> To be perfectly clear, it only happens when you are launching a remote
> application ("Single Application" or "Published Application"), not
> when you are launching a KDE session.

Actually, this can be blamed on the way how X11 integrates with MS Windows.

We would need an app that docks into the Windows system tray and  
proxies system tray icons coming in from applications running in  
VcXsrv/X11.

http://standards.freedesktop.org/systemtray-spec/systemtray-spec-0.2.html#docking

So you would need an app that is standing with one leg in X11,  
providing the system-tray-provider specs as defined by freedesktop.org  
and standing in MS Windows with the other leg, proxying the incoming  
X11 systray icons/menus to the Windows system tray.

Never heard of something like this to exist, actually.

Any ideas???

Mike



-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#591; Package nxagent. (Mon, 08 Sep 2014 11:45:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael DePaulo <mikedep333@gmail.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 08 Sep 2014 11:45:02 GMT) Full text and rfc822 format available.

Message #30 received at 591@bugs.x2go.org (full text, mbox):

From: Michael DePaulo <mikedep333@gmail.com>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Cc: 591@bugs.x2go.org, Tristan Miller <psychonaut@nothingisreal.com>
Subject: Re: [X2Go-Dev] Bug#591: Works under certain configurations, not others
Date: Mon, 8 Sep 2014 07:41:00 -0400
Hi Mike#1,

On Mon, Sep 8, 2014 at 5:08 AM, Mike Gabriel
<mike.gabriel@das-netzwerkteam.de> wrote:
> Hi Michael, hi Tristan,
>
> On  So 07 Sep 2014 16:46:07 CEST, Michael DePaulo wrote:
>
>> 1. I was *able* to reproduce this bug under X2Go Client for Windows.
>> To be perfectly clear, it only happens when you are launching a remote
>> application ("Single Application" or "Published Application"), not
>> when you are launching a KDE session.
>
>
> Actually, this can be blamed on the way how X11 integrates with MS Windows.
>
> We would need an app that docks into the Windows system tray and proxies
> system tray icons coming in from applications running in VcXsrv/X11.
>
> http://standards.freedesktop.org/systemtray-spec/systemtray-spec-0.2.html#docking
>
> So you would need an app that is standing with one leg in X11, providing the
> system-tray-provider specs as defined by freedesktop.org and standing in MS
> Windows with the other leg, proxying the incoming X11 systray icons/menus to
> the Windows system tray.
>
> Never heard of something like this to exist, actually.
>
> Any ideas???
>
> Mike
[...]

Can you explain why it works under test case 3 (X11 forwarding from an
Ubuntu client) but not under test case 4 (X2Go from an Ubuntu client)?

That would certainly give us a clue.

-Mike#2


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#591; Package nxagent. (Mon, 08 Sep 2014 12:15:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 08 Sep 2014 12:15:01 GMT) Full text and rfc822 format available.

Message #35 received at 591@bugs.x2go.org (full text, mbox):

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Michael DePaulo <mikedep333@gmail.com>
Cc: 591@bugs.x2go.org, Tristan Miller <psychonaut@nothingisreal.com>
Subject: Re: [X2Go-Dev] Bug#591: Works under certain configurations, not others
Date: Mon, 08 Sep 2014 12:13:03 +0000
[Message part 1 (text/plain, inline)]
Hi Michael,

On  Mo 08 Sep 2014 13:41:00 CEST, Michael DePaulo wrote:

> Hi Mike#1,
>
> On Mon, Sep 8, 2014 at 5:08 AM, Mike Gabriel
> <mike.gabriel@das-netzwerkteam.de> wrote:
>> Hi Michael, hi Tristan,
>>
>> On  So 07 Sep 2014 16:46:07 CEST, Michael DePaulo wrote:
>>
>>> 1. I was *able* to reproduce this bug under X2Go Client for Windows.
>>> To be perfectly clear, it only happens when you are launching a remote
>>> application ("Single Application" or "Published Application"), not
>>> when you are launching a KDE session.
>>
>>
>> Actually, this can be blamed on the way how X11 integrates with MS Windows.
>>
>> We would need an app that docks into the Windows system tray and proxies
>> system tray icons coming in from applications running in VcXsrv/X11.
>>
>> http://standards.freedesktop.org/systemtray-spec/systemtray-spec-0.2.html#docking
>>
>> So you would need an app that is standing with one leg in X11, providing the
>> system-tray-provider specs as defined by freedesktop.org and standing in MS
>> Windows with the other leg, proxying the incoming X11 systray icons/menus to
>> the Windows system tray.
>>
>> Never heard of something like this to exist, actually.
>>
>> Any ideas???
>>
>> Mike
> [...]
>
> Can you explain why it works under test case 3 (X11 forwarding from an
> Ubuntu client) but not under test case 4 (X2Go from an Ubuntu client)?
>
> That would certainly give us a clue.
>
> -Mike#2

I guess it fails in X2Go, because X2Go single applications use nxagent  
as their display (in rootless mode). The rootless NX windows then get  
displayed on the local X11 via nxproxy.

With ssh -X you don't encapsulate applications in a separate Xserver  
(NX agent), but connect the applications directly to the local X11  
server.

Greets,
Mike
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Dec 14 06:21:56 2018; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.