Integrated terminal
2 min read
A full command line on your Spine desktop, in the browser: run commands, install tools, and watch what your agent is doing.
Shell access in the browser #
Every desktop includes a browser-based terminal. You get a full bash shell as the agent user, with sudo access and standard Linux tools.
How it works #
The terminal connects through a terminal server running inside the VM. It serves a WebSocket-based terminal session that is rendered in your browser. The connection goes through Spine's authenticated proxy, so no SSH keys or port forwarding are needed.
Opening the terminal #
- Go to your desktop in the dashboard.
- Click the Terminal tab in the viewer panel.
- The terminal connects automatically once the desktop is
running.
You can have VNC and the terminal open side by side. They work independently.
Common tasks #
Installing packages #
sudo apt update && sudo apt install -y <package-name>
Installed packages persist across reboots unless the desktop is destroyed.
Managing files #
ls ~/Desktop/ # Files visible on the XFCE desktop
ls ~/ # Home directory
df -h # Check disk usage
Working with the AI agent #
You can check the agent status from the dashboard's chat panel. If the agent is not responding, see the troubleshooting guide.
Keyboard shortcuts #
| Shortcut | Action |
|---|---|
| Ctrl+C | Cancel current command |
| Ctrl+D | Close terminal session (reconnects automatically) |
| Ctrl+L | Clear screen |
| Up/Down arrows | Navigate command history |
| Tab | Autocomplete file names and commands |
Tips #
- The terminal is faster than VNC for text-based work: file editing, package management, log viewing, scripts.
- If the terminal disconnects, click the tab again to reconnect. Running processes are not affected.
- Use
tmuxfor multiple sessions or to keep processes alive across disconnections. - Files in
~/Desktop/are visible both in the terminal and on the desktop through the VNC viewer.
Related docs
Connect to your desktop
The three ways into a Spine desktop: the live screen in your browser, the integrated terminal, and the chat panel your agent works in.
Desktop viewer
See and control your Spine desktop from any browser: the live screen streams to you, with full keyboard and mouse control.
Desktop lifecycle
Every state a Spine desktop moves through, from creation and boot to stopping, restarting, and permanent destruction.