Command line
qkvm runs the wall; a few commands manage a copy that runs already, and start options change how it runs. Where qkvm is not on the path, python -P -m qkvm is the same command.
Commands
| Command | What it does |
|---|---|
qkvm, or qkvm start | Runs it in this window until it is stopped (Ctrl+C) |
qkvm status | Says whether a copy runs with this data folder, since when, where it listens, and how large the history and activity log are. Exits with 0 when it runs, 3 when not. |
qkvm stop | Ends the running copy, from any window |
qkvm restart | Has the running copy start again |
qkvm --restore FILE --backup-key KIT --data-dir NEW | Restores a wall from its backup into an empty folder: see Backups |
qkvm --verify-vault --vault-key-file KEY | Checks offline that a data folder and its storage key belong together |
qkvm --configure-server FILE | Changes a few server settings offline: see Advanced server settings |
qkvm --roll-back | Returns to the version before the last in-app update |
qkvm --reset-password | Forgets every account and the saved device passwords |
qkvm --disable-2fa NAME | Switches two-factor sign-in off for one account |
qkvm --version | Prints the version |
With two walls running, or one that runs as another user, say which: qkvm stop --data-dir D:\qkvm-data. Where a service manager or Docker runs qKVM, stop and restart it there instead.
Start options
| Option | What it does | Default |
|---|---|---|
--data-dir DIR | Where the settings live | .qkvm in your home folder |
--bind WHERE | Where it listens: local, tailscale, lan, all or an IP, several with commas | As saved in the app |
--port N | The port it listens on | 8787 |
--https | HTTPS from the first request, with a certificate made here | Off |
--tls-cert FILE, --tls-key FILE | Your own certificate | qKVM's own |
--tls-tailscale | Tailscale's certificate for this computer's ts.net name | Off |
--setup-code | The first-run setup from another machine asks for a code printed here | Off |
--allow-from LIST | Answers only these addresses or networks, and this computer | Everybody |
--trusted-proxy LIST | A reverse proxy in front of qKVM: see Behind a reverse proxy | None |
--sso-header NAME | Signs in whoever the trusted proxy names in this header: see Single sign-on | Off |
--vault-key-file FILE | The separate server storage key | <data folder>.keys/vault.key |
--unlock-file FILE | Where the key that unlocks after a restart is kept | unlock.key in the data folder |
--locked-start | Requires a sign-in after every restart before devices are reached | Off |
--audit-syslog HOST | Sends the activity log to a syslog collector: host, host:port or tcp://host:port | Off |
--log-level LEVEL | debug, info, warning or error | info |
--update-repo OWNER/NAME | Gets updates from another GitHub repository | qkvm/qkvm |
--allow-unsigned-updates | Only for a copy built without a release key: accepts a release checked by its checksum alone | Off |
--bind and --port take priority over what is saved in the app.