# Using it

- **Tiles** refresh about once a second. Click one to enlarge it (the left and right arrow keys switch, `Esc` closes).
  Pictures are drawn pixel for pixel: each frame is fetched with detail to spare (for a
  normal tile, the KVM's full frame) and scaled once to exactly the screen pixels it covers,
  which keeps text sharp at any display scaling.
- **Find and filter:** the counts in the top bar (All / Online / No signal / Attention) are
  buttons, and the search box (`/`) narrows the wall by name, address or group.
- **Groups:** give a KVM a group when adding or editing it (a rack, a room, a customer). Once
  there are groups, the top bar gets a list to show one of them at a time.
- **Your own order:** an admin puts the tiles where they belong with *View > Arrange the
  tiles...*: every tile shows its place, 1, 2, 3 and so on, and is dragged to another, stepped
  one place with the arrows, or given a place by typing its number. *Save this order* keeps
  it on the server, so it is the same for every browser and every screen that shows this
  wall; `Esc` or *Cancel* leaves it as it was. A machine added later stands at the end until
  it is given a place.
- **View** (in the top bar) holds how the wall is shown: the order (as arranged, by name, by
  group, or with what needs attention first), the number of columns, how often a new picture
  is fetched, and display mode. These are each browser's own choice: a wall screen can show
  problems first while a desk keeps the arranged order.
- **Display mode** (*View > Display mode*, or `D`): the screens and nothing else, as large as
  fits, for a monitor on the wall. Move the mouse for a small bar that can rotate through
  the groups every 20 seconds; `Esc` leaves. The address gets `#display`, so a browser on a
  wall screen can be pointed straight at it. For a screen that is to stay on, make it a
  link of its own under *Settings > Tokens* (see [Scripts and wall screens](https://qkvm.com/docs/scripts-and-wall-screens)):
  a viewer account signed in there with *Keep this browser signed in* is asked for its
  password again after 30 days, and a link is asked for nothing.
- **Find KVMs on my network** (in *Add KVM*): asks the 254 addresses around this computer's
  own (its `/24`, on the network its internet traffic leaves by), and every Tailscale peer
  that is online, whether it is a KVM, a server's controller, a PC with Intel AMT, or a VNC
  server (on ports 5900 and 5901, by its greeting alone). It only looks, it does not log in.
  Devices on another network or subnet (a management network, say) are not found:
  type their addresses. A GL.iNet or PiKVM-style KVM reachable both ways is listed once,
  with a choice of which address the wall uses for it; a JetKVM or a server found at two
  addresses is listed at each. A KVM that is on the wall and has **moved** (a new address
  from the router, after a power cut most often) is recognised by its certificate at the
  new address and offered with *Use this address*: the tile follows it, and the password
  saved for it is not asked for again. That holds for a new address typed by hand as well,
  and only for a device that shows the certificate remembered for it: anything else at that
  address is refused and is not sent the password. A device that shows no certificate (a
  JetKVM on plain HTTP) cannot be known again that way, so there the password is typed. In a
  container the search sees the container's network, not yours, unless it is started with
  `--network host` (Linux); its Tailscale or NetBird peers it finds where it runs beside their
  container as [Over Tailscale or NetBird](https://qkvm.com/docs/over-tailscale-or-netbird) shows, and otherwise you
  type the addresses there.
- **A KVM that answers on HTTPS only.** A Comet or a PiKVM whose plain address sends everybody on to
  HTTPS at the same host (its web server answers `http://` with a redirect) is said so when it
  is added or edited at its `http://` address, before its password goes out, and the HTTPS
  address is offered (*Use https://...*): nothing follows a redirect by itself, and never to
  another host. Its tile says the same where that is changed on the KVM later; edit its address
  to the HTTPS one, and type its password there. Until then the tile can still be given another
  name or group at its `http://` address, with *Save without checking*, where nothing about how
  it is signed in to was changed.
- **One device, one tile.** A KVM is known by the certificate it made for itself, and a
  server or a JetKVM by its own number, so the wall notices when what you are adding is on
  it already under another address. It then asks: use the new address for the tile that is
  there, or keep both. Tiles that are the same device carry a small *twice* next to their
  name, which leads to the same choice. A device reached through somebody's front door
  (Cloudflare, a proxy) cannot be told apart by its certificate, because the one it shows is
  the door's.
- **Open console** (the arrow on a tile) opens that KVM's own page in a new tab. Keyboard and
  mouse are in qKVM itself as well: enlarge the tile and press **Control** (see
  [Live view and control](https://qkvm.com/docs/live-view-and-control)).
- **Multi-port KVMs** (GL.iNet Comet X, four computers on one KVM) get one tile with numbered
  port buttons. The lit one is the computer on screen; click another to switch. Such a KVM
  captures one computer at a time, so there is one live picture per KVM, not one per port.
  Switching takes the KVM a few seconds and also changes a monitor plugged into it. Keys and
  text from *Actions* go to the computer lit when the menu showed it, and its questions name
  that port: right before they go, qKVM asks the KVM which computer is on screen, and where it
  is another by then (switched at the KVM's own buttons, or from another browser), or the KVM
  does not say, nothing is sent and it says so. While qKVM cannot tell which port is lit (the
  port buttons are gone from the tile: its switch did not answer), no keys or text are offered
  for it. Power is the KVM's own: its board presses whatever it is wired to, whichever
  computer is on screen.
- **Actions** (the lightning button on a tile):
  - *Keyboard*: Wake screen, Ctrl+Alt+Del, Lock screen, Task Manager, Show desktop, Enter,
    Esc, Close window; *Send keys...* for any other combination; *Type text...* to type a command.
  - *Your actions*: key combinations and text you saved under Settings > Actions.
  - *Power*: Keep awake / Allow sleep (the KVM nudges the mouse); press power, hold power and
    press reset when the KVM has an ATX power board; Wake-on-LAN for the targets saved on it.
    Keep awake is not offered where a stock PiKVM's own settings switch it off; where a Comet's
    own jiggler settings do (its firmware of late), it says so, and nothing is sent.
    On a KVM with the kvmd interface (a Comet, a PiKVM) a press is done when the board has let go
    of the button (half a second; six and a half for holding it). Where the board says whether the
    computer is on, a press that must change that (a short one on a computer that is off, holding
    it on one that is on) is done when the board shows the change, which takes it some seconds;
    where the change does not come within twenty, the answer says so ("pressed, but the computer
    is still off"; or that the board has said nothing since), and nothing offers to press again. A short press on a running computer asks its system to shut down, which takes the time
    it takes: the tile shows when it is off. A reset leaves the power on, and on some machines the
    video signal too (a Comet's computer kept its signal up through its restart and its firmware's
    screens), so it is judged by the picture: done once the screen is seen to change from what it
    was just before the press (its signal goes or comes, its size changes, or a tenth of the
    picture or more changes, which a moving pointer or a clock does not). Where it is not seen
    within twenty seconds, the answer says the button was pressed and the restart not seen ("its
    screen was not seen to change"; or that it stayed dark), never that it was not carried out:
    look at the machine before pressing again. Where the screen cannot be read just before the
    press (a stock PiKVM nobody is watching, whose video is stopped), the reset is done when the
    button is let go, as before. The tile says *Power on* or *Power off* by the board; with no picture and the board
    saying off, that the computer is off or asleep (a computer asleep may put its power light
    out, and the board then says off: a real one did). Where the board says off beside a picture,
    it says *Power unknown*, and why (its footer's tooltip, and the enlarged view's *Details*):
    the board's power-LED wires are probably not connected. On a KVM with several inputs it says
    *Power unknown* alone: its board may be wired to another computer than the one on screen.
    While somebody watches such a KVM's picture,
    the wall holds the KVM's line for events anyway (it keeps the picture coming), and hears the
    board there, as the KVM's own page does, instead of asking it: a Comet's board answers one
    question at a time and tells whoever asks meanwhile that there is none, which took the buttons
    from a second wall or a script beside it. Where nobody watches the picture (the alerts look
    every fifteen seconds), and where that line has said nothing, has gone quiet or says there is
    no board (a Comet's line says so too while the board answers somebody else's questions), the
    board is asked as before, and so it is once before every press. No line is opened for the
    board alone: the sleeping PC behind a real Comet woke three times soon after one was.
  - *Fingerbot*: a GL.iNet Fingerbot paired with a Comet presses the computer's power button with
    a small arm, for a machine that has no ATX board. Where the KVM says one is paired (it says so
    on its line for events, which the wall holds while somebody watches its picture; where it has
    not said either way since qKVM started, or not for two minutes, it is asked on a line of its own
    before a press; where it said there is none, or nothing when it was asked, less than two minutes
    ago, a press is refused without asking again), *Press with Fingerbot* (half a
    second: a computer that is off comes on, a running system is asked to shut down) and *Hold
    with Fingerbot* (eight seconds, which cuts the power) are under *Power*, beside a power board's
    buttons where the KVM has both, and in a run over several machines. Each is asked first, as
    every power button is. How hard it presses is the machine's own: *Fingerbot* in its Edit box,
    *Press firmly* (the Comet's own default) or *Press lightly*; it goes into a file with the rest.
    A press is done once the Comet has said the Fingerbot took it (some two seconds after it was
    sent) and the press's own time is over after that: a real Comet answered as early for an
    eight-second press as for a short one. A second press meanwhile is refused. The Comet's "Press
    Failed" (a refusal of its own) is said as a failure; anything else that is not its yes (its own
    error, a proxy's, an answer broken off, none within eight seconds beside the press's own time)
    as "may have been done", and then the Fingerbot is left alone for as long as that press can last
    from when its answer came, or was given up on (some ten seconds for a short one, seventeen for
    the long one): a press meanwhile is refused (409 `busy`), whoever sends it, a power board's
    button on the same machine too, and its battery is not asked. The tile's footer says *Fingerbot*, or that its battery is low (below
    a quarter; asked once an hour, never during a press), and the actions' head says when that battery is low. A
    Fingerbot says nothing of the computer's power: the tile shows what follows on the screen. On a
    KVM with several inputs it presses the machine it sits on, whichever is on screen.
  - *Reboot KVM*: restarts the KVM itself.
  - *Media...* (an admin's, where the machine has virtual media): an image in its drive, see
    [Virtual media](https://qkvm.com/docs/virtual-media).
- **Bulk actions:** press **Select** (or `S`) to enter select mode, tick the KVMs you want
  (*Select all* takes the ones currently shown, so filter or search first), then
  **Run action...**. You confirm against the list of machines; what can lose somebody's work
  (the power and reset buttons, a reboot, typed text, a saved action marked so) needs an
  extra tick; and each KVM reports back as it finishes, with a retry for the ones that
  failed. A run goes to a few machines at a time, or, if you say so when confirming, to one
  after the other in the order shown, with up to two minutes between them: machines switched
  on together draw their starting current together. Wake-on-LAN and switching ports are for
  one machine at a time.
- **Removing several at once:** in select mode an admin has **Remove** beside *Run action...*.
  The question names every machine that is ticked, with its address, and says what goes with
  them: their saved passwords and their history, for good. To keep a copy, export the wall
  first (*Settings > Export and import*). More than one needs the extra tick. They go together
  or not at all: if one of them was removed by somebody else meanwhile, or the disk refuses the
  change, nothing is removed, and nothing being done to them is cut off. Something being done to
  one of them at that moment does not keep it there: an action on its way may have been done (its
  sender is told so), and a live line is closed, with the keys it held let go of first, as when
  one tile is removed. One tile removed by itself goes the same way: the settings are written
  without it first, so a disk that refuses the change leaves it on the wall with nothing cut off.
- **One thing at a time per machine.** While an action is on its way to a machine, a second
  one for the same machine is refused, whoever sends it and from wherever: a power button
  pressed twice does not press harder, it undoes the first press. A power button is on its way
  for as long as the board holds it, and a press is not sent while the KVM's board says it is
  pressing one already (from the KVM's own page, say). A Comet's board says so for the first half
  second of a press only, stock kvmd's for the whole of it: a press from the Comet's own page
  and one from the wall a second later both reach the board. The board is asked before every
  press, also where its line for events is heard: a real Comet read its board for that line about
  every second and a quarter, and in two presses its line never said busy. Only the board's no is
  "not pressed": an answer that says neither (the KVM's web server answers 502, 503 or 504 while
  kvmd restarts behind it, kvmd itself 500), none within eight seconds, or one that broke off, is
  "it may have been done", and the board is then left alone for eight seconds and the button's
  hold, whoever asks (a Fingerbot on the same machine too), also through an edit of the tile to
  another address where the KVM's own certificate is pinned and shown there; a tile edited to
  another KVM, or over plain HTTP, starts afresh, and so does a restart of qKVM. A Fingerbot's press is
  on its way until the press's own time is over after the Comet's answer, and one press of the
  Fingerbot's and one of the board's on the same machine are two things, one after the other (also
  while a Fingerbot's press that got no clear answer may still be under way).
- **Settings**
  - *KVMs*: add, edit, remove; review a KVM's certificate.
  - *Actions*: your own actions. Saved text is stored encrypted and never shown again. It
    can be typed by every operator, on any machine that operator may use, and what is typed
    can be read there: a saved text is known to all of them. A password that not every
    operator should have is not something to save here.
  - *Network*: where qKVM listens, the port, HTTPS. Changes apply without restarting the program.
  - *Accounts*: who may sign in, as what, and which KVMs they see (see [Accounts](https://qkvm.com/docs/accounts)).
  - *Alerts*: be told when a KVM goes offline or loses its picture (see [Alerts](https://qkvm.com/docs/alerts)).
  - *Security*: change your password, two-factor sign-in, the recovery key, sign out your
    other browsers.
  - *Updates*: the running version, checking for a newer one and installing it.
  - *Activity*: who signed in, who changed what, who sent which action (never what was typed),
    who looked at which machine; to search, to narrow down to a kind, a machine, an account and
    a time, and to download (see [Activity log](https://qkvm.com/docs/activity-log)).
  - *About*: version, website, source and licence.
- **Fullscreen** (`F`) and the **colours** (light, dark, or as the system has them) are each
  a button of their own in the top bar, next to Settings.
- **Your account** (the person at the right end of the top bar) says who is signed in and
  as what, and holds your password and second step, and **Sign out**.

Text is typed with a US keyboard layout. On a computer set to another layout, letters and
digits arrive as written but some symbols do not. (A VNC server is sent the characters
themselves, and its own layout decides: see [VNC servers](https://qkvm.com/docs/vnc-servers); a server whose console
is OpenBMC's is sent a US keyboard's keys, Shift with them where needed. A JetKVM says which
layout its computer uses, and text is typed in that one: see [JetKVM](https://qkvm.com/docs/jetkvm).) The keys of the
live view are places on the keyboard, whatever the layout.

### Open in

A machine that is also reached by a remote desktop tool can carry a link to it, so that the
team opens it there from the wall. An admin sets them with *Open in...* in the tile's menu (the
lightning button); operators and admins see them in that menu, viewers do not:

- **MeshCentral**: the address of the machine's page on your MeshCentral, as its browser shows
  it (`https://` only). It opens in a new tab, where MeshCentral asks for its own sign-in.
- **RustDesk**: the machine's RustDesk ID, as the RustDesk app shows it. The link opens the
  RustDesk app on your computer at that ID (`rustdesk://connection/new/<ID>`), where it asks
  for the machine's password.
- **Remote Desktop**: the machine's host name or address (an IPv6 address without a zone, the
  `%` and the name of an interface after it, which names an interface of the computer that reads it), with a port where it is not 3389. The
  menu gives a small `.rdp` file to open with Windows' Remote Desktop (or another client that
  reads one), holding that host and nothing else: the client asks for the account and password.

They are plain links. No password, key or login token is kept for them or put in them (a
MeshCentral address with a user name, a password or a `login=` token in it is refused), and the
wall fetches nothing from them, nor checks that anything answers there. Each is checked as it
is typed (one line, its own characters, a length) and again wherever it is read, so a hand
edit of the settings or a file to import cannot put anything else into a link or a line into
an `.rdp` file. As a tile's console link, a MeshCentral link is not offered on a page looked at
under the same host name, where a browser would hand that page the sign-in to qKVM. They go
into an export with the machine and come back with an import. A change is in the activity log
(`open_in_changed`).
