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
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:
- It runs the AppImage directly. Ubuntu 24.04 ships no
libfuse.so.2(ldconfig -p | grep -c libfuse.so.2gives 0), so the AppImage exits at once with "AppImages require FUSE to run". - It then falls back to
Start-Process, which only exists on Windows. The verb fails witherrorCode: launch_did_not_startand 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.
- 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 runsquashfs-root/AppRun. Hydrogen 1.0.756-2 does the second for its menu entry: it unpacks to~/.local/share/grok-bot/appand writes~/.local/share/applications/grok-bot.desktopwithExec=.../app/AppRun %Uand thegrokbotURL handler.grok_opencould also run that entry when it exists (gtk-launch grok-bot).
- Make the fallback per-OS:
Start-Processon Windows only. On Linux, try the.desktopentry, then--appimage-extract-and-run. - One oddity I saw once and could not reproduce: right after
grok_install, the first "connect" answeredalready-openwhile 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.