Skip to content

hivemux troubleshooting for Claude Code and tmux

Start with hivemux doctor, which checks dependencies, the tmux and Ghostty config blocks, the eleven Claude Code hooks, the running tmux server and the remote setup. Most other problems are fixed by restarting the sidebars (hivemux-sidebar respawn) or by fully quitting and reopening Ghostty; specific symptoms are below.

Terminal window
hivemux doctor # check dependencies, wiring and the ssh server
hivemux-panes list # panes hivemux will resume after reboot
tmux set -g @hivemux-anim off # stop animations (to keep them off: menu → Settings)
tmux set -g @hivemux-fps 5 # fewer animation frames (default 15)
hivemux-sidebar respawn # restart every sidebar
touch ~/tmux_no_auto_restore # skip restore on next launch

Check the remembered list and the resume log. If the pane is not listed, the session started after the last save or was ended with /exit.

Terminal window
hivemux-panes list
cat ~/.local/share/hivemux/panes.log

busy in the log means the pane was not at a shell prompt, so it was skipped. pane missing means the layout changed and the pane no longer exists. In both cases, run claude -c in that folder to continue the latest conversation.

A window I just made is not in the restore list

Section titled “A window I just made is not in the restore list”

Autosave runs every 5 minutes. After starting something important, save right away with prefix Ctrl+S.

Terminal window
# skip restore on the next start; delete the file to turn it back on
touch ~/tmux_no_auto_restore
# restore the layout but do not resume Claude (while tmux is running)
tmux set-environment -g HIVEMUX_NO_RESUME 1

A Claude is missing from the sidebar, or its state updates late

Section titled “A Claude is missing from the sidebar, or its state updates late”

The sidebar reads what the Claude Code hooks recorded, once a second. A Claude started before hivemux was installed appears after its next prompt or tool call. Claude running outside tmux is not shown.

Terminal window
# print the sidebar contents as text
hivemux-agents list

A sidebar that hits an error starts again in the same pane and writes what happened to ~/.local/share/hivemux/sidebar-errors.log. Include that file when you report a bug.

The sidebar is missing or has the wrong width

Section titled “The sidebar is missing or has the wrong width”

Press prefix b twice to recreate every sidebar. To change the width, use right-click → Settings → Sidebar width, or drag the grip bar on the sidebar’s right edge. The default is 32 columns. From the command line:

Terminal window
tmux set -g @hivemux-sidebar-width 40
hivemux-sidebar fix
# forget the saved width (back to 32)
rm ~/.local/share/hivemux/sidebar-width
# restart every sidebar if one is stuck or looks wrong
hivemux-sidebar respawn

If keyboard focus ends up in the sidebar, q or Esc returns it to the work pane.

A · window appears in the top window list while a popup is open

Section titled “A · window appears in the top window list while a popup is open”

The rename, new Claude, new project, settings, clock out, close, Option+O and Option+W popups open over a still copy of the screen. The · window is that copy; it goes away when the popup closes.

Right-click → Settings → Animation off stops them at once and stays off after restarts. To turn them off just for now, or use less CPU:

Terminal window
tmux set -g @hivemux-anim off
# or keep them with fewer frames (default 15)
tmux set -g @hivemux-fps 5

On Linux the key is Alt+number. On a Mac, Ghostty has to send Option as Alt. hivemux setup sets this, but a Ghostty that was open before needs a full quit and restart. Otherwise use prefix Space, or click the Claude’s line in the sidebar.

Shift+Enter sends instead of adding a new line

Section titled “Shift+Enter sends instead of adding a new line”

The tmux server does not have the extended-keys setting yet. Reload the config or open Ghostty again. Ctrl+J always inserts a new line.

Terminal window
tmux source-file ~/.tmux.conf

A task in the window you are looking at is not announced; notifications come when the terminal is in the background or you are in another window. Check that:

  • Notifications is on in right-click → Settings.
  • Ghostty (or your terminal) is allowed in System Settings → Notifications.
  • Your terminal supports OSC 777 terminal notifications, as Ghostty does.
  • The sidebars are not hidden: they send the notifications, so with prefix b hiding them, none come.

Remote tasks over mosh do not send notifications; use ssh for those. See Claude Code notifications.

The claude command is not found inside tmux

Section titled “The claude command is not found inside tmux”

The tmux server inherits the PATH of whatever started it. If it was started outside Ghostty, PATH may lack Claude. Stop the server and open Ghostty again.

Terminal window
tmux kill-server

A new tab attaches to a session no other tab shows, or creates a new one when all are shown. Use prefix s to move to the session you want.

Option+O lists only files that exist, newest first; relative paths are resolved against Claude’s working folder and the Claude session’s own folder under /tmp/claude-<uid> (where its scratchpad files are). On a screen attached from another computer, VS Code and Cursor open the file over Remote-SSH, which needs the Remote - SSH extension on the computer you connect from. With another editor, and with Tab or Ctrl+F, the file is copied to that computer and opens there; a folder cannot be opened on another computer, so copy its path with Ctrl+Y. On Linux, opening needs xdg-open (package xdg-utils). ⌘+click works only where Claude prints the path as a link.

Remote Control needs a claude.ai subscription sign-in, not an API key. Sessions started before Remote Control was turned on do not connect by themselves; type /remote-control in them.

Terminal window
claude auth status

No button to start a new session on the phone

Section titled “No button to start a new session on the phone”

New sessions need a server-mode window. In that folder press prefix Shift+R. The first time it asks to enable Remote Control and to trust the folder; answer y to both.

Setup stops at “tmux 3.2: need 3.3 or newer”

Section titled “Setup stops at “tmux 3.2: need 3.3 or newer””

The distribution’s tmux is too old. Ubuntu 22.04 has 3.2; Ubuntu 24.04+, Debian 12+, Fedora and Arch have 3.3 or newer. Upgrade the system, or install a newer tmux, and run hivemux setup again.

On a server with no desktop (reached over ssh, no DISPLAY or WAYLAND_DISPLAY), there is nowhere to open Ghostty, so setup skips it. Run tmux there, or connect to it from your Mac with hivemux connect. The 🐝 button there says the same: the bee office opens on the computer you connect from.

hivemux doctor on that machine says whether ssh answers. If it says “ssh off”, install the ssh server (package openssh-server or openssh) and start it with sudo systemctl enable --now ssh (or sshd).

hivemux version shows an old version after an upgrade

Section titled “hivemux version shows an old version after an upgrade”

Another copy of hivemux comes first in your PATH. Run /opt/homebrew/bin/hivemux doctor: it names that copy and the line that adds it.

mosh stops at “Nothing received from server on UDP port”

Section titled “mosh stops at “Nothing received from server on UDP port””

Allow incoming connections for mosh-server in the other computer’s firewall. Both computers need mosh (brew install mosh on a Mac, the mosh package on Linux). More in Work from another computer.

hivemux uninstall removes only what hivemux added. Originals of the files setup changed are kept, with timestamps, in the backup folder. See Uninstall.

Terminal window
hivemux uninstall
ls -la ~/.local/share/hivemux/backups/