X2Go Bug report logs - #321
PyHoca-GUI must not fail if a notification is not present

version graph

Package: pyhoca-gui; Maintainer for pyhoca-gui is X2Go Developers <x2go-dev@lists.x2go.org>; Source for pyhoca-gui is src:pyhoca-gui.

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

Date: Sun, 13 Oct 2013 08:33:01 UTC

Severity: important

Tags: pending

Found in version

Fixed in version

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

Bug is archived. No further changes may be made.

Full log

đź”— View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#321: [X2Go-User] pyhoca-gui error
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 321@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: owner@bugs.x2go.org
Resent-Date: Sun, 13 Oct 2013 08:33:01 +0000
Resent-Message-ID: <handler.321.B.13816531774766@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 321
X-X2Go-PR-Package: pyhoca-gui
Received: via spool by submit@bugs.x2go.org id=B.13816531774766
          (code B); Sun, 13 Oct 2013 08:33:01 +0000
Received: (at submit) by bugs.x2go.org; 13 Oct 2013 08:32:57 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,
	RCVD_IN_DNSWL_BLOCKED,URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [])
	by ymir (Postfix) with ESMTPS id 732F05DA7B
	for <submit@bugs.x2go.org>; Sun, 13 Oct 2013 10:32:56 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 521A0AF5
	for <submit@bugs.x2go.org>; Sun, 13 Oct 2013 10:32:55 +0200 (CEST)
Received: from localhost (localhost [])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 0D3593C02D
	for <submit@bugs.x2go.org>; Sun, 13 Oct 2013 10:32:55 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([])
	by localhost (grimnir.das-netzwerkteam.de []) (amavisd-new, port 10024)
	with ESMTP id rV7jwQwci-WO for <submit@bugs.x2go.org>;
	Sun, 13 Oct 2013 10:32:54 +0200 (CEST)
Received: from localhost (localhost [])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id A05DD3C022
	for <submit@bugs.x2go.org>; Sun, 13 Oct 2013 10:32:54 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPSA id 668ED3BB58;
	Sun, 13 Oct 2013 10:32:54 +0200 (CEST)
Received: from p5DC43857.dip0.t-ipconnect.de (p5DC43857.dip0.t-ipconnect.de
 []) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Sun, 13 Oct 2013 08:32:54 +0000
Date: Sun, 13 Oct 2013 08:32:54 +0000
Message-ID: <20131013083254.Horde.ABRbbRjPdPUHS5MbDH2P2g1@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: x2go-user@lists.berlios.de, submit@bugs.x2go.org
References: <52591B50.5000907@vxpertise.net>
In-Reply-To: <52591B50.5000907@vxpertise.net>
User-Agent: Internet Messaging Program (IMP) H5 (6.1.4)
Accept-Language: en,de
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101
 Firefox/23.0 Iceweasel/23.0
Content-Type: multipart/signed; boundary="=_XI65ifxqilIlMThSlvIzqA1";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Package: pyhoca-gui
Severity: important

Hi Mathias,

On  Sa 12 Okt 2013 11:50:08 CEST, Mathias Ewald wrote:

> Hi, connecting to my server I get this since the day before  
> yesterday: Dunno what changed ...
> mathias@x220:~$ pyhoca-gui --debug
> Xlib.protocol.request.QueryExtension
> pyhoca-gui[15814] (PyHoca-GUI) DEBUG: PyHoca-GUI's user interface  
> language is: en_US.
> pyhoca-gui[15814] (PyHoca-GUI) INFO: PyHoca GUI is starting up
> pyhoca-gui[15814] (PyHoca-GUI) INFO: start TaskBarIcon of type:  
> ('__WXGTK__', 'wxGTK', 'unicode', 'gtk2', 'wx-assertions-off',  
> 'SWIG-1.3.29')
> pyhoca-gui[15814] (PyHoca-GUI) WARN: the current release of  
> PyHoca-GUI does not support client configuration
> pyhoca-gui[15814] (x2gosessregistry-pylib) NOTICE: registering X2Go  
> session **********...
> pyhoca-gui[15814] (x2goclient-pylib) NOTICE: initializing X2Go session...
> pyhoca-gui[15814] (x2gocontrolsession-pylib) NOTICE: connecting to  
> [**********]:22
> pyhoca-gui[15814] (PyHoca-GUI) INFO: SSH key authentication to  
> server failed, trying next auth-mechanism
> pyhoca-gui[15814] (PyHoca-GUI) INFO: password dialog box started
> pyhoca-gui[15814] (x2gocontrolsession-pylib) NOTICE: connecting to  
> [**********]:22
> pyhoca-gui[15814] (PyHoca-GUI) NOTICE: [********** - connect]  
> Authentication has been successful.
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/pyhoca/wxgui/logon.py",  
> line 438, in OnLogin
>     self._PyHocaGUI.notifier.send(self.current_profile_name,  
> context='AUTH_%s' % self.current_profile_name, timeout=4000)
>   File "/usr/lib/python2.7/dist-packages/pyhoca/wxgui/notify.py",  
> line 137, in send
>     if not n.show():
> glib.GError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown:  
> The name org.freedesktop.Notifications was not provided by any  
> .service files
> pyhoca-gui[15814] (PyHoca-GUI) INFO: exit application
> mathias@x220:~$
> For some reaseon pub key auth doesn't work anymore and even with  
> password auth it shows this error message.

You need one of the many tools providing a notification-daemon. Please  
install the appropriate notification-daemon package for your system:

dunst - Minimalistischer Benachrichtigungs-Daemon
libnotify4 - sendet Arbeitsflächenmeldungen an einen Meldungsdienst
notification-daemon - Daemon fĂĽr die Anzeige aufklappender Nachrichten
notify-osd - Daemon, der passive Popup-Benachrichtigungen anzeigt
plasma-widgets-workspace - Plasma-Widgets und Widget-Gruppen fĂĽr die  
xfce4-notifyd - Einfacher, visuell ansprechender Meldungsdienst fĂĽr Xfce
mate-notification-daemon - daemon to displays passive pop-up notifications

In newer distro versions, there is no dbus service file provide  
anymore, the notification-daemon needs to be launched via  

The fix in PyHoca-GUI will be not make pyhoca-gui execute without  
errors even if no notification-daemon is installed/started.


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

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

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat May 30 13:00:41 2020; 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.