Skip to content

Tailray unable to disconnect on NixOS #11

@vinylen

Description

@vinylen

Hey, Thanks for this project.

I've installed tailray via the exposed HM module but i'm having issues disconnecting via the tailray icon and i can see this in the systemd logs:

jun 16 05:17:46 knut tailray[7199]: [2025-06-16T03:17:46Z INFO  tailray::tray::menu] Elevating permissions for pkexec at: "/run/wrappers/bin/pkexec"
jun 16 05:17:46 knut tailray[9060]: Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address
jun 16 05:17:46 knut tailray[7199]: [2025-06-16T03:17:46Z INFO  tailray::tray::menu] Link down: [exit status: 127]
jun 16 05:17:46 knut tailray[7199]: [2025-06-16T03:17:46Z ERROR tailray::tray::menu] Failed to down Tailscale:

Regarding no suhc device or address for /dev/tty i'm not sure but i do have that file:

ls -l /dev/tty                                  
crw-rw-rw- 5,0 root 16 jun 05:22 /dev/tty

I'm guessing this is a permissions error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions