trayscale icon indicating copy to clipboard operation
trayscale copied to clipboard

Can't open Trayscale with SteamOS 3.6

Open kdliu86 opened this issue 1 year ago • 9 comments

With the latest 3.6 update, it auto minimalizes and shows a grey icon in the tray. Trying to click "show" doesn't do anything.

I reinstalled tailscale using tailscale-dev/deck-tailscale and trayscale still doesn't work. My tailscale is connected though, just can't use Trayscale for management.

I uninstalled and reinstalled latest from flathub, still has the same issue.

kdliu86 avatar Nov 05 '24 19:11 kdliu86

Can you run it from a terminal get the output? The Flathub version should be runnable as dev.deedles.Trayscale.

DeedleFake avatar Nov 06 '24 21:11 DeedleFake

I was able to replicate this on my own Steam Deck. Looks like it's yet another D-Bus problem, but this time with Gtk4 application registration system.

DeedleFake avatar Nov 18 '24 00:11 DeedleFake

Sorry, I was out of the country for the last few weeks and was unable to test! I stopped using Trayscale since the submission date because it was causing my Tailscale to bug out and didn't want to be stuck while in another country.

kdliu86 avatar Nov 18 '24 14:11 kdliu86

In what way was it causing it to bug out? There are a number of crash bugs but I haven't gotten any reports about it causing issues with Tailscale itself.

DeedleFake avatar Nov 18 '24 19:11 DeedleFake

Normally I have Tailscale always connected controlled by Trayscale in Desktop mode. Once the Trayscale app stopped opening up normally, Tailscale would stay disconnected. I could switch to gaming mode, try to toggle Tailscale on/off using the decky plugin and nothing would happen (it would stay disabled).

On Mon, Nov 18, 2024 at 2:03 PM DeedleFake @.***> wrote:

In what way was it causing it to bug out? There are a number of crash bugs but I haven't gotten any reports about it causing issues with Tailscale itself.

— Reply to this email directly, view it on GitHub https://github.com/DeedleFake/trayscale/issues/168#issuecomment-2483878359, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2IJS2ISXP7LQTW56PELND2BI2Z5AVCNFSM6AAAAABRHJC6CGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBTHA3TQMZVHE . You are receiving this because you authored the thread.Message ID: @.***>

kdliu86 avatar Nov 18 '24 19:11 kdliu86

I am running into the same problem on two Ubuntu VMs I am trying to set up Trayicon appears in grey, no reaction to clicking Show or Connect.

This is the error I get on the command line.

flatpak run --branch=stable --arch=x86_64 --command=trayscale dev.deedles.Trayscale 2024/11/29 16:08:22 systray error: failed to request name: org.freedesktop.DBus.Error.ServiceUnknown

possibly interesting: I tried starting it as root, of course got some errors because it being another users X session but the app opened and complained about not being the tailscale operator.

chh-70 avatar Nov 29 '24 15:11 chh-70

@chh-70

Have you set up your user as the Tailscale operator using sudo tailscale set --operator=$USER and then tried running Trayscale as the same user?

DeedleFake avatar Nov 29 '24 21:11 DeedleFake

Aftter using that command trayscale starts as expected. Interestingly I did not need to do that on my physical install of Ubuntu. Though it is possible I installed it manually there, not using flatpak.

chh-70 avatar Nov 29 '24 22:11 chh-70

Hmmm... Any installation of Trayscale need to have the operator set up first. It's a security feature in Tailscale. It rejects attempts by regular users to send commands to the daemon unless they're the operator user. It's possible that the installation Tailscale on Ubuntu set you up as the operator automatically or something.

DeedleFake avatar Dec 01 '24 01:12 DeedleFake