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

Trayscale won't show up window #179

Open
diogobaeder opened this issue Jan 22, 2025 · 13 comments
Open

Trayscale won't show up window #179

diogobaeder opened this issue Jan 22, 2025 · 13 comments
Assignees

Comments

@diogobaeder
Copy link

Hi folks!

Something that started happening this week: when I start Trayscale, it shows up the icon in my tray bar, but it won't react to any of the context menu commands, and won't show up the window, so I can't control the connections through the tool. And unfortunately I haven't found a way to look at app logs for it either.

Any idea of how I can fix this, or at least gather more info about what might be happening?

Thanks!

@DeedleFake DeedleFake self-assigned this Jan 22, 2025
@DeedleFake
Copy link
Owner

DeedleFake commented Jan 22, 2025

Are you using the Flatpak version? Are you using a custom control server, i.e. Headscale?

If you are using the Flatpak version, you can run it from the command-line with flatpak run dev.deedles.Trayscale which'll let you get logs and info.

@diogobaeder
Copy link
Author

I'm using the version packer for AUR (Arch Linux). Just Trayscale and Tailscale (CLI client).

@skarpinis
Copy link

skarpinis commented Jan 25, 2025

same issue fedora 41
from terminal:
trayscale
2025/01/25 21:50:29 ERROR register application err="Timeout was reached"

@5calV
Copy link

5calV commented Jan 25, 2025

ERROR register application err="Timeout was reached"
On EndeavourOS, with both the flatpak and AUR package.

@loukamb
Copy link

loukamb commented Jan 26, 2025

I can confirm this is also happening on Arch Linux with both AUR and flatpak. The only visible error message I get from running either from a terminal is Timeout was reached, as seen above.

@DeedleFake
Copy link
Owner

That error happens because Gtk4 is unable to register the application with D-Bus. The most likely reason is that the app is already running, but frozen, and Gtk4 is timing out trying to contact the existing one. Can you check to see if there is a frozen Trayscale instance running and, if so, kill it and try running the app from the terminal again?

@5calV
Copy link

5calV commented Jan 26, 2025

That error happens because Gtk4 is unable to register the application with D-Bus. The most likely reason is that the app is already running, but frozen, and Gtk4 is timing out trying to contact the existing one. Can you check to see if there is a frozen Trayscale instance running and, if so, kill it and try running the app from the terminal again?

Yes, this was the case. Here is my output after killing the process and then restarting trayscale from the shell:

[calv@calV-X1-Nano ~]$ flatpak run dev.deedles.Trayscale
2025/01/26 22:13:56 ERROR get profile status err="Access denied: profiles access denied"
2025/01/26 22:13:56 ERROR adw_application_window_set_content: assertion 'gtk_widget_get_parent (content) == NULL' failed glib_old_log_api=1 priority=4 glib_domain=Adwaita
2025/01/26 22:14:01 ERROR get profile status err="Access denied: profiles access denied"

@diogobaeder
Copy link
Author

I tried it here as well and I get the same error as @5calV above.

@5calV
Copy link

5calV commented Jan 29, 2025

@DeedleFake if there is any info we could provide or a thing we could try, please let us know :)

@DeedleFake
Copy link
Owner

Unfortunately, I don't have a lot of time to work on it at the moment. Work's getting ready for a big product release and that's taking all of my time, and on top of it I have a bad cold.

The actual error message originates from here, for the record: https://github.com/tailscale/tailscale/blob/b60f6b849af1fae1cf343be98f7fb1714c9ea165/ipn/localapi/localapi.go#L994

@exploregithubwifi
Copy link

Image

Used flat seal to enable this and it works now.

@hax4dazy
Copy link

What fixed it for me was running the sudo tailscale set --operator=$USER command. That even fixed the AUR version of the app for me.

@diogobaeder
Copy link
Author

Oh! It did the trick for me too, thanks for the hint, @hax4dazy ! (I also had to "down" and "up" tailscale again after setting my local operator - which is probably obvious, I guess).

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

7 participants