Unattended access

Reach a computer when nobody is there to read out the password.

Unattended access needs two things: a way in that does not change (a permanent password, or access granted on your server), and Humble Viewer running in the background so it survives a restart.

1. Choose how you will get in

A permanent password

In Settings → Unattended access, enter a password of at least 8 characters twice and press Set password. From then on this password works in addition to the one-time password. With the background service installed, this sets the service's password (see Configure the service). From a terminal:

humble set-password "a long passphrase"
humble set-password            # removes it again

Humble Viewer stores a derived key, not the password itself.

A computer of an organization on a server may only have a password of its own when its organization allows it (in the server's dashboard, May have a password of its own); otherwise Settings says so and it is reached through the server.

Access through your server

If the computer is enrolled in your server and you have been granted access to its group, you need no password at all. See Access.

2. Run Humble Viewer in the background

Most people do not need this: it is only for a computer that must be reachable when nobody is at it. So it is chosen when installing Humble Viewer, not in the app:

humble install        # set up the background service
humble uninstall      # remove it

Settings → Unattended access in the app shows whether the background service is installed and running. On Windows and Linux it also has the switch for signing in from afar (Turn on…), which makes the computer reachable before anyone signs in; it is off unless you turn it on.

Configure the service

The background service keeps its own settings (on Windows in C:\ProgramData\Humble, which only the system and administrators may change). You change them in the Humble Viewer app, the same way as without the service: open it from the tray icon (Settings in its menu goes straight there) or the Start menu. While the service runs:

Only the person signed in at the computer can do this: the service accepts these changes only from programs in the same Windows session (on Linux, of the same user).

SystemWhat is installedWhen it is reachable
WindowsA Windows service named HumbleHost (Humble Viewer Host), and the Humble Viewer tray icon at every sign-in. humble install asks for Administrator rights and copies the app to C:\Program Files\Humble. The MSI does this for you.After the computer starts, once a user is signed in. Before that only with signing in from afar turned on.
Ubuntu, Fedora, Arch, OmarchyTwo user services: humble-host.service, and humble-tray.service for the tray icon. With the Arch package, the .deb or the .rpm, turn them on with systemctl --user enable --now humble-host.service humble-tray.service.While that user is signed in to the desktop. Before that only with signing in from afar turned on.
macOSA launch agent, com.humble.host.While that user is logged in.

Unless signing in from afar is turned on (Windows and Linux), a computer can be reached only while a user is signed in to the desktop. For a machine that must come back by itself after a power cut, turn that on, or turn on automatic login in the operating system. A Mac is reachable only while a user is logged in.

The tray icon

While Humble Viewer runs, its icon is in the system tray: the notification area on Windows (it may be behind the ^ arrow), the tray of the top bar on Omarchy (behind the < arrow) and KDE, and the top bar on Ubuntu. Click it to open the Humble Viewer window, or use its menu to quit. With the background service installed, the icon is started at every sign-in, so you can see that the computer is reachable; the installer also starts it right away. Its menu has Open Humble Viewer, Settings and Quit. Quitting from the tray only closes the app: the background service keeps running.

By default, closing the Humble Viewer window keeps it running in the tray (on Windows, minimizing does too), so the computer stays reachable. Turn this off in Settings → System tray to make closing the window quit Humble Viewer.

Check that it is running

humble status

This prints the device name, ID, current one-time password, whether the server connection is up, the direct-connection port, and any active sessions. When the background service is running, the Humble Viewer window shows the service's ID and password instead of starting a second host.

A computer whose network changed, or whose connection to the server dropped without notice, notices within 90 seconds and connects again by itself.

Windows details

The power service: on, restart and shut down only

For a computer you want to see in your account and be able to restart or shut down, but never connect to (a build server, say): the power service shows it as <name> (power), online or offline, with only Restart and Shut down. Nothing in it shows the screen, opens a terminal or copies files, it opens no port to connect to, and the server refuses connecting to it. It runs as a system service (as root, or the system on Windows), so it works with nobody signed in, and next to the background service or the headless service if those are there too.

  1. Install it, on Linux and macOS with sudo, on Windows from an Administrator terminal:
    sudo humble power-service setup
  2. Add it to your account with a code from the dashboard's Add computers page:
    sudo humble --power-service enroll CODE
  3. humble --power-service status shows it; sudo humble power-service remove stops and removes it (its identity stays, so setting it up again brings back the same computer).

Who may restart and shut it down is the same as for any computer: those with control or manage access to its group. It needs a server with Humble Viewer 0.34 or later (relay.humbleviewer.com has it). Apps before 0.34 show it as an ordinary computer that cannot be connected to. Its settings: /var/lib/humble-power (Linux, the unit humble-power.service), C:\ProgramData\Humble\power (Windows, the service Humble Viewer Power, logging to power.log), or /Library/Application Support/Humble Viewer/power (macOS, the LaunchDaemon com.humbleviewer.power).