Linux terminal and console

Reach a Linux computer's command line or text console, with or without a desktop.

The headless service (Humble Viewer 0.11 and newer, Linux only) makes a Linux computer reachable without a desktop: a server, a computer with no monitor, or one whose desktop nobody is signed in to. It appears in your server account as a computer of its own, named <computer> (terminal) or <computer> (console), with an icon in the dashboard and the app's Computers list that says what connecting opens. On a computer with a desktop it runs next to the background service. The app's Computers list and the dashboard then show the computer on one line, with a >_ button next to its desktop (🖥) and file transfer (📁) buttons that opens its terminal (both services must run Humble Viewer 0.12 or newer). On a computer without a terminal service the >_ button is greyed out.

ModeConnecting opensRuns as
Terminal (the default)A shell, as with SSH: a command line on that computer, in a terminal in the session window.The account you choose. The shell is that account's; sudo still asks for its password.
ConsoleThe computer's text console, as its screen shows it (the login prompt, boot messages), typed into with your keyboard. Sign in at its login prompt as you would at the computer.root, without any of root's special powers (no capabilities, a read-only system, only the console and keyboard devices).

Set it up

Install the Humble Viewer package (see Install the app), then turn the service on for the account whose shell the terminal should give:

sudo humble headless setup --user alice          # terminal mode, alice's shell
sudo humble headless setup --mode console        # or: the text console

Without --user it uses the account that ran sudo. It refuses to give root shells unless you add --allow-root. Then add it to your server account, as that account (or with sudo for console mode):

sudo -u alice humble --headless-service login https://remote.example.com USERNAME --password PASSWORD
sudo -u alice humble --headless-service add-this-computer

Add --totp CODE if your sign-in uses two-factor codes; a user of an organization can sign in with an API key instead (login https://remote.example.com --api-key KEY). Or enroll it with a code from the dashboard's Add computers page: sudo -u alice humble --headless-service enroll CODE. Check it with humble --headless-service status, the same way: it shows the service's own ID and one-time password, which work for direct connections too (port 21422).

sudo humble headless remove stops and disables it. Its identity stays in /var/lib/humble-headless, so setting it up again brings back the same computer.

Connect

The login screen

A Linux computer's desktop is reachable only while someone is signed in. To reach its login screen after a restart or a sign-out, and sign in from afar, turn on signing in from afar (off unless turned on).

Security notes