unable to get nitrokey tray menu with debian Jessie / Gnome 3
opened this issue · comments
Hi,
I just bought a nitrokey pro and followed the nitrokey pro installation
chaica@portable:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie
lsusb result gives:
Bus 002 Device 040: ID 20a0:4108 Clay Logic
I installed Debian package:
root@portable:~# dpkg -l |grep nitro
ii nitrokey-app 0.2 amd64 Use and manage your Nitrokey
I also installed the udev rule:
root@portable:~# ls /etc/udev/rules.d/40-nitrokey.rules
/etc/udev/rules.d/40-nitrokey.rules
When I insert the nitrokey pro, a popup tells it is connected. But I don't see appear any tray bar giving access to the menu. I use Gnome 3.14+3 with default settings.
Let me know if you need more information.
Hi @chaica !
- Just for sanity check, are you running nitrokey-app as root? (this might make the tray icon unavailable)
- We had similar issue recently - #43 . The fix is not yet included in distribution package. Could you please try to compile application from sources following the QT5 guide from readme and check will that version work correctly?
edit: Thank you for registering the issue!
I use the nitrokey pro on jessie with gnome 3. The tray icon is a bit buggy, but usable. You need to push your cursor towards the lower edge of the screen. That makes the gnome tray bar appear. This is a bit odd, but is solved differently in more recent gnome versions. The next problem is that the icon is transparent (this looks like an actual bug in the app). Even though the icon is invisible, it is still there. Just click near the right end of the tray bar.
In case this solved your problem: Could you check if you can reproduce issue #82 (Only first TOTP is valid)? You seem to have the same setup as I do.
I have compiled the app on jessie x86 with gnome and standard settings yesterday and can confirm that the app must be started as root and the tray icon is transparent...arg.
The must be started as root issue is new. Are you sure? The deb from the website doesn't have that problem.
I never experienced the "needs to be started as root" issue with the App. But this happens sometimes with GnuPG if the UDEV rules are not applied (see instructions).
Is your issue similar to this one?
Hi @cyb3rwr3ck !
Could you share Gnome (apt-cache show gnome-shell | grep Ver
) and Qt package versions (apt-cache show qt5-default | grep Ver
)?
Debian had a bug in Qt5 package some time ago: bug
Quoting last lines from mentioned link:
Did that fix the bug?
According to the upstream bug, yes. There are some people response, that it is
fixed with Qt 5.4.2 ( availabe in experimental).Confirmed in Debian: just installing the Qt dependencies from
experimental allows to show the trayicon back.
- mention this issue in readme
Hi! Regarding running Nitrokey App on Debian - you might be interested in a list of working WMs I have just compiled: https://github.com/Nitrokey/nitrokey-app/wiki/Working-WMs-on-Debian-Jessie-8.6
We have just introduced AppImage with #286 (known problem #340). It is available to download from the release page. Perhaps it would solve this issue.