Skip to content

Login in browser fails on Pop_OS 24.04 #89

@DanielThedie

Description

@DanielThedie

On the latest Pop_OS (24.04, with Cosmic desktop environment), the cook sync appimage starts fine, but fails to open links in browser. It seems to have an issue with xdg-open (which works fine when called from a terminal on its own).

If I paste the authentication URL in my web browser manually, I get to the authentication window, but the process fails to complete (it tries and fails to redirect to a local address: 127.0.0.1:42323).

[2026-04-18 15:54:06] INFO Cook Sync daemon started (PID: 37461)
[2026-04-18 15:54:06] INFO Loading session from secure store
[2026-04-18 15:54:06] INFO No session found in secure store
[2026-04-18 15:54:06] INFO Starting Cook Sync daemon
[2026-04-18 15:54:06] INFO Initializing system tray...
[2026-04-18 15:54:06] INFO System tray created successfully
[2026-04-18 15:54:06] INFO Desktop environment: cosmic
[2026-04-18 15:54:06] INFO If the tray icon is not visible, check your desktop environment's system tray settings
[2026-04-18 15:54:06] INFO Starting system tray event loop...
[2026-04-18 15:54:06] INFO Starting ksni tray service
[2026-04-18 15:54:06] INFO ksni tray service started
[2026-04-18 15:54:36] INFO Checking for updates in background (auto-update enabled)
[2026-04-18 15:54:36] INFO Checking for updates (current version: 0.9.6)
[2026-04-18 15:54:36] INFO No updates available
[2026-04-18 15:54:36] INFO No updates available
[2026-04-18 15:57:28] ERROR Failed to open cook.md: Launcher "xdg-open" "https://cook.md" failed with ExitStatus(unix_wait_status(1024))
[2026-04-18 15:57:36] INFO Login requested
[2026-04-18 15:57:36] INFO Opening browser for authentication: https://cook.md/auth/desktops?callback=http%3A%2F%2F127.0.0.1%3A42323%2Fauth%2Fcallback&state=5265a4c0-da16-4778-9a2e-b0af12da43fd
[2026-04-18 15:57:36] ERROR Login failed: IO error: Launcher "xdg-open" "https://cook.md/auth/desktops?callback=http%3A%2F%2F127.0.0.1%3A42323%2Fauth%2Fcallback&state=5265a4c0-da16-4778-9a2e-b0af12da43fd" failed with ExitStatus(unix_wait_status(1024))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions