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

Tray icon not showing #2074

Open
svenschwermer opened this issue Jan 29, 2025 · 4 comments
Open

Tray icon not showing #2074

svenschwermer opened this issue Jan 29, 2025 · 4 comments

Comments

@svenschwermer
Copy link

I'm using the latest launcher version (1.14.0-13-g7a2cd88b) on an up-to-date Arch Linux with sway/wayland. I need to re-register my device and have noticed that the tray icon is not there. Other apps successfully install tray icons, but launcher seems to fail for some reason. I can see that a kolide-launcher desktop process has been launched under my user. This process also has the DISPLAY and WAYLAND_DISPLAY variables set in its environment.

Using the same version of github.com/kolide/systray used in this project, I can put together a test app that correctly installs a tray icon. I don't know what else to test here. How can I troubleshoot this further?

@svenschwermer
Copy link
Author

Small update: I found the registration link in the menu.json file and used it to successfully register my device. Curiously, after registration, the tray icon showed up 🤷

@RebeccaMahany
Copy link
Contributor

RebeccaMahany commented Jan 29, 2025

Hi @svenschwermer! Some organizations use a setting called "silent mode", where the tray icon is hidden until after the user has registered. Is it possible that your organization is using this mode? This would be consistent with your seeing the desktop process but no icon when your device was unregistered. You can grep through debug.json for desktop enabled set by control server to see if this is the case.

As a side note, 1.14.0-13-g7a2cd88b is a nightly version. I would recommend using the latest stable version instead of nightly. Stable versions are listed here.

@svenschwermer
Copy link
Author

That sounds plausible, thanks for the hint! I could indeed find the string you mentioned in debug.json. Out of curiosity: How does the user complete device registration if the link is hidden, i.e. no exposed via the tray icon?

@RebeccaMahany
Copy link
Contributor

When the user tries to authenticate to an app that's gated by Kolide, they will be prompted to register the device at that time 🙂

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

2 participants