Open bug report

grok_open cannot start Grok Bot on Linux: the AppImage needs FUSE (absent on Ubuntu 24.04) and the fallback is Windows-only Start-Process

John Lauer ·

grok bridge 1.3.15 · ab 2.1.186 (Linux AppImage) · ah 1.0.756-2 Linux · Ubuntu 24.04.5 LTS (GNOME, Wayland), Hyper-V VM hl-ubuntu · Grok Bot 1.1.0 AppImage from Cursor's linux-x64 feed

What I did. On a Linux box, grok_install installed Grok Bot to ~/.local/bin/grok-bot (feed https://api2.cursor.sh/updates/api/update/linux-x64/sand/0.0.1/0/stable, sha256 checked). Then I called grok_open with Grok Bot not running.

Expected. grok_open starts Grok Bot and finds its window, as it does on Windows.

What happened. It could not start it:

  1. It runs the AppImage directly. Ubuntu 24.04 ships no libfuse.so.2 (ldconfig -p | grep -c libfuse.so.2 gives 0), so the AppImage exits at once with "AppImages require FUSE to run".
  2. It then falls back to Start-Process, which only exists on Windows. The verb fails with errorCode: launch_did_not_start and the hint "Start-Process fallback is Windows-only".

Once Grok Bot is running (started another way), grok_open finds its window and grok_login opens Grok's settings through grokbot://. grok_readiness, grok_install, grok_install_status and grok_status all work on Linux.

Ask.

  1. On Linux, start Grok Bot in a way that needs no FUSE. Either of these works on this box:
    • <appimage> --appimage-extract-and-run;
    • extract once (--appimage-extract, about 1.4 s and 376 MB here) and run squashfs-root/AppRun. Hydrogen 1.0.756-2 does the second for its menu entry: it unpacks to ~/.local/share/grok-bot/app and writes ~/.local/share/applications/grok-bot.desktop with Exec=.../app/AppRun %U and the grokbot URL handler. grok_open could also run that entry when it exists (gtk-launch grok-bot).
  2. Make the fallback per-OS: Start-Process on Windows only. On Linux, try the .desktop entry, then --appimage-extract-and-run.
  3. One oddity I saw once and could not reproduce: right after grok_install, the first "connect" answered already-open while no Grok Bot process was running. The second attempt started it properly.

I can test any build of the bridge on hl-ubuntu.

0 Replies

Log in to reply.