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:
- Windows: in the installer, turn on Allow unattended access. To add or remove it later, open Windows Settings, Apps, Humble Viewer, Modify.
- Ubuntu, Fedora, Arch, Omarchy: the packages include the services but leave them off. Turn them on with
systemctl --user enable --now humble-host.service humble-tray.service(and off withdisable --now). - macOS, the portable Windows app, or a build from source: from a terminal (on Windows, as administrator):
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:
- The main page shows the service's ID and one-time password, Background service: running, and whether a personal password is set.
- In Settings, the device name, the personal password, direct connections and their port, local announcement, the server (Get ID, Enroll, Leave server) and Encode video on the graphics card are the service's. Changing them changes the service at once.
- Computers → Add this computer adds the service's identity to your account, so the computer stays reachable through your server while nobody is signed in.
humble set-passwordsets the service's password too.
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).
| System | What is installed | When it is reachable |
|---|---|---|
| Windows | A 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, Omarchy | Two 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. |
| macOS | A 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.
- Starting Humble Viewer again while it runs in the tray opens its window instead of a second copy.
- GNOME without Ubuntu's changes shows no tray: install the AppIndicator and KStatusNotifierItem Support extension. Without a tray, closing the window quits Humble Viewer.
- macOS has no tray icon yet.
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 service runs from its own copy of Humble Viewer,
C:\ProgramData\Humble\service\humble.exe, with its own Windows Firewall rule (Humble Viewer (background service)), so installing a newer version never has to wait for a restart. Removing the service removes both, and turns signing in from afar off. - The service keeps its settings and keys in
C:\ProgramData\Humble, readable only by the system and administrators. Logs are inservice.logandhost.login that folder. - To set the permanent password for the service, run this from an Administrator terminal:
humble --config-dir C:\ProgramData\Humble set-password "a long passphrase" - Before anyone signs in, the computer is reachable only with signing in from afar turned on
(off unless turned on; stored as
LoginScreenunderHKLM\Software\Humble). Showing the Windows sign-in screen, the lock screen and administrator (UAC) prompts in a session is not reliable yet. - File transfer with a Windows computer starts in the signed-in user's folder (
C:\Users\name), or inC:\when nobody is signed in.
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.
- Install it, on Linux and macOS with
sudo, on Windows from an Administrator terminal:sudo humble power-service setup - Add it to your account with a code from the dashboard's Add computers page:
sudo humble --power-service enroll CODE humble --power-service statusshows it;sudo humble power-service removestops 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).