Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to get nitrokey tray menu with debian Jessie / Gnome 3 #86

Open
ghost opened this issue Jun 15, 2016 · 10 comments
Open

unable to get nitrokey tray menu with debian Jessie / Gnome 3 #86

ghost opened this issue Jun 15, 2016 · 10 comments

Comments

@ghost
Copy link

ghost commented Jun 15, 2016

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.

@szszszsz
Copy link
Member

szszszsz commented Jun 16, 2016

Hi @chaica !

  1. Just for sanity check, are you running nitrokey-app as root? (this might make the tray icon unavailable)
  2. We had similar issue recently - The tray icon isn't displayed #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!

@FlorianUekermann
Copy link

FlorianUekermann commented Jun 16, 2016

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.

@cyb3rwr3ck
Copy link

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.

@FlorianUekermann
Copy link

The must be started as root issue is new. Are you sure? The deb from the website doesn't have that problem.

@jans23
Copy link
Member

jans23 commented Jul 13, 2016

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?

@szszszsz
Copy link
Member

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

@szszszsz
Copy link
Member

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.

@szszszsz
Copy link
Member

szszszsz commented Sep 19, 2016

  • mention this issue in readme

@szszszsz
Copy link
Member

szszszsz commented Oct 17, 2016

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

@szszszsz
Copy link
Member

szszszsz commented Apr 12, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants