Skip to content

Kiosks and one-app accounts

A policy can make a computer a kiosk, which shows one app or one website to whoever walks up to it, or keep some accounts to a short list of apps while everything else about their computer stays as usual.

[kiosk]
account = "kiosk" # the account the kiosk runs as
app = "com.acme.Signage" # the app it shows, by its app ID
reset-after = 300 # starts over clean after 5 minutes nobody touched it
reset-at = "03:00" # and every night at 3

For a web kiosk, give site instead of app:

[kiosk]
account = "kiosk"
site = "https://intranet.acme.example"

Luft makes the account if it doesn’t exist yet, without a password, and leaves it off the login screen’s list. From the next start, the computer signs it in by itself and shows the app full screen. When the app quits or crashes, it opens again a moment later. A web kiosk opens the browser on the site, and the browser refuses every other address, downloads and its developer tools.

In the kiosk there’s no taskbar, Start, notifications or task view, and shortcuts such as Super, Alt+Tab, Print Screen, Ctrl+Alt+Delete or switching to a text console do nothing. USB drives and other drives stay closed to it.

After reset-after seconds without input, and at reset-at every day, the kiosk starts over: its session ends, its home folder goes back to how a new account’s starts, and it signs in again. The apps installed in it stay, so they don’t download again.

app can be one of Luft’s apps, any app on the system, a Flatpak or an app from the store. Apps that every account should get, such as one from the store, go in apps.installed as usual, and the kiosk gets them too.

[one-app]
accounts = ["front-desk", "lobby"]
apps = ["com.acme.Pos"] # or a few
file-picker = "documents" # or "off"

These people sign in as usual but only get the apps listed. Start and search show only those apps and Settings, which opens only on Wi-Fi and sound. They have no files, Terminal or other apps. When an app asks them to open or save a file, they can choose only within their Documents folder, or with file-picker = "off", not at all.

An administrator at the computer, in a kiosk or a one-app account, does one of these:

  • presses Ctrl+Alt+Shift+Delete
  • holds a finger still on the screen’s top left corner for 5 seconds, or the top right one where text runs right to left
  • plugs in their security key, or puts their smart card in a reader or taps it on one

Only a key or card an administrator of the computer set up for signing in counts. Then they confirm who they are the way they always do, with their password, security key, smart card or fingerprint, and choose:

In Choice What happens
A kiosk Start over The kiosk starts over clean, as it does every night
A kiosk Settings All of Settings opens. The kiosk starts over once it’s closed.
A kiosk Leave kiosk The kiosk ends and the login screen shows, so someone can sign in. The kiosk comes back the next time the computer starts.
A one-app account Settings All of Settings opens, until it’s closed
A one-app account Sign out The account signs out

Nothing else gets anyone out: the apps the account can’t open don’t run for it however they’re started, from a file, a link, another app or a terminal. To keep programs these accounts download from running too, turn off apps.downloaded, with the kiosk’s app in your own Luft or installed as a Flatpak for everyone.

A web kiosk’s limits on the browser hold only for the kiosk. Everyone else who signs in to that computer gets the browser as usual.

The kiosk only starts by itself once the computer starts with the policy in place. A policy that adds or changes a kiosk on a running computer takes effect at the next start.