All pages

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

CommandWhat it does
qkvm, or qkvm startRuns it in this window until it is stopped (Ctrl+C)
qkvm statusSays 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 stopEnds the running copy, from any window
qkvm restartHas the running copy start again
qkvm --restore FILE --backup-key KIT --data-dir NEWRestores a wall from its backup into an empty folder: see Backups
qkvm --verify-vault --vault-key-file KEYChecks offline that a data folder and its storage key belong together
qkvm --configure-server FILEChanges a few server settings offline: see Advanced server settings
qkvm --roll-backReturns to the version before the last in-app update
qkvm --reset-passwordForgets every account and the saved device passwords
qkvm --disable-2fa NAMESwitches two-factor sign-in off for one account
qkvm --versionPrints 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

OptionWhat it doesDefault
--data-dir DIRWhere the settings live.qkvm in your home folder
--bind WHEREWhere it listens: local, tailscale, lan, all or an IP, several with commasAs saved in the app
--port NThe port it listens on8787
--httpsHTTPS from the first request, with a certificate made hereOff
--tls-cert FILE, --tls-key FILEYour own certificateqKVM's own
--tls-tailscaleTailscale's certificate for this computer's ts.net nameOff
--setup-codeThe first-run setup from another machine asks for a code printed hereOff
--allow-from LISTAnswers only these addresses or networks, and this computerEverybody
--trusted-proxy LISTA reverse proxy in front of qKVM: see Behind a reverse proxyNone
--sso-header NAMESigns in whoever the trusted proxy names in this header: see Single sign-onOff
--vault-key-file FILEThe separate server storage key<data folder>.keys/vault.key
--unlock-file FILEWhere the key that unlocks after a restart is keptunlock.key in the data folder
--locked-startRequires a sign-in after every restart before devices are reachedOff
--audit-syslog HOSTSends the activity log to a syslog collector: host, host:port or tcp://host:portOff
--log-level LEVELdebug, info, warning or errorinfo
--update-repo OWNER/NAMEGets updates from another GitHub repositoryqkvm/qkvm
--allow-unsigned-updatesOnly for a copy built without a release key: accepts a release checked by its checksum aloneOff

--bind and --port take priority over what is saved in the app.

Full reference