wiki

Troubleshooting

Something not working? Start here.

🎬 Video coming here: A walkthrough of the most common fixes.

Where are the logs?

The session server redirects its output to:

$XDG_RUNTIME_DIR/tst-<uid>/NAME.log

Crashes, panics, and emulator debug output land there. If something “disappeared,” check that file first.

Symptoms and fixes

“tst says ‘session server did not start’”

The server binary failed to launch or crashed immediately. NAME.log has the reason. Common causes: a broken config file (reported at startup), or missing /dev/pty support in a container.

“Session exists but attach says ‘no session’”

A stale NAME.sock from a crashed server is usually removed automatically by tst ls and by EnsureServer. If a hung server holds the socket, run:

tst kill NAME

Or remove the socket by hand and start fresh:

rm $XDG_RUNTIME_DIR/tst-*/NAME.sock

Config change did not take effect

The server reads the config when it starts. After editing:

tst kill NAME && tst

Panes got tiny or squashed after resizing the terminal

The client’s reported size drives everything. If your terminal sent a wrong size once (SSH races, nested tmux), panes kept that size. Attach again in a correctly-sized terminal, or resize the window to force a SIGWINCH.

Colours look wrong

Panes get TERM=xterm-256color and COLORTERM=truecolor no matter what you set. If a specific program misbehaves, override its detection — it may be seeing TST=1. Theme colours accept #rrggbb, a 0..255 palette index, or default — #rgb shorthand is not accepted yet.

Keys do nothing / “unknown action” warning

Chords are normalised (Alt+Return → alt+enter, leader+H → alt+shift+h). If an action name in [keys] is misspelled, the session starts anyway with a warning badge — check the startup notification or NAME.log. Bindings only take effect on the server, so restart after changing them.

Copy does not reach the system clipboard

OSC 52 is gated in some terminals (kitty: allow_remote_control; foot: osc52 settings). The native fallback runs wl-copy/xclip/… on the server machine, not where your terminal is. See Copy and Paste.

Help lists bindings I did not set

The help overlay is generated from the live compiled keymap including every default binding. To remove one, bind it to "none" or reorder via [keys] in your config.

The server uses CPU while detached

Detached sessions redraw nothing but still sample stats and receive pane output. For actual silence, run tst kill.

tst local behaves differently

local mode has no server: detach does nothing (“not in a session”), and everything dies with the terminal. That is intended.

Reporting a problem

Please include:

📸 Screenshot coming here: A NAME.log file opened in a text editor. 🎬 Video coming here: Finding and reading the server log.