Where does the bug appear (feature/product)?
Grok Bot
Describe the Bug
Split off from Grok Bot 0.68.1 (macOS): Mac shows disconnected while awake and in use; local computer doesn't reconnect until app is focused as Dean suggested. My always-on Linux desktop shows as disconnected to my bots for hours, even though the machine never sleeps, never locks and stays on the network, and the Grok Bot app keeps running as one process. The app stops its own local-exec daemon, and a new one only starts when I come back to the machine. Bots asking for the computer in between don’t bring it back.
Timeline (CEST):
- 10 Oct, about 09:26 to 09:58: disconnected. Idle started at 09:26:25, my input came back at 09:58:33, and the app showed activity again at 09:58:43.
- 10 Oct, before 17:00, until 11 Oct 10:49: disconnected. A scheduled job that needed the machine failed every 20 minutes all evening.
- 11 Oct 10:49:53: new daemon started (pid 1534261), 4 seconds after my first input at 10:49:49.
What I ruled out:
- No sleep or lock: idle-delay is 0, sleep-inactive-ac-type is ‘nothing’, and the journal has no suspend or resume since 10 Oct 09:00.
- No network loss: the wired link (enp5s0) stayed up. There were routine DHCP renewals, plus three one-second internet drops overnight that other apps recovered from within seconds.
- App healthy: the main process has been running since 9 Oct 22:42 with no crash. The status file shows
bootOutcome:"ready".
Log (~/.grokbot/local-exec-daemon.log, no timestamps): the pattern is [sand-local-exec-daemon] received SIGTERM, shutting down, followed later by started (pid N). The daemon that was stopped overnight logged nothing after starting, while the one before it logged every short network drop (EAI_AGAIN, ETIMEDOUT). So it was already stopped before 23:26 on 10 Oct.
Steps to Reproduce
Leave the app running on an always-on Linux desktop and work in other windows or step away for a while. Then try to reach the computer from a bot or from the phone app.
Expected Behavior
The daemon keeps running while the app is open on a machine that doesn’t sleep, or restarts when a bot needs the machine.
Operating System
Linux
Version Information
Grok Bot 0.68.1 (/opt/Grok Bot), started from the desktop launcher
Ubuntu 25.04, GNOME on Wayland
Additional Information
Starting the launcher again with gtk-launch grok-bot hands off to the running app but doesn’t bring the window to the front on Wayland, so it can’t be used as a workaround. Timestamps in the daemon log would make this much easier to pin down.
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor