Screenshotter permissions and troubleshooting¶
The Screenshotter refuses to start rather than run all day uploading nothing, so most problems show up in the first lines it prints. This page lists the operating-system permissions it needs and the messages you may see, with the fix for each.
Allow screen capture¶
Windows. Run Screenshotter in the signed-in user's interactive desktop session. A
background service without access to the desktop cannot capture what the user sees; a
Task Scheduler task needs a logon trigger, not -AtStartup
(Run Screenshotter as a service).
macOS. The first run asks for permission to record the screen. Enable it for
PreseriaScreenshotter under System Settings → Privacy & Security → Screen & System
Audio Recording; when you run it from Terminal, Terminal may need the permission too.
Quit and restart both Terminal and Screenshotter after changing it.
Linux. Run it from the desktop session of the sign computer. On a Wayland desktop
install the capture helper once with sudo apt install grim; over SSH, export
WAYLAND_DISPLAY and XDG_RUNTIME_DIR for the logged-in user's session
(Screenshotter on Raspberry Pi).
If the operating system blocks the application¶
Only run a Screenshotter application supplied by Preseria or your administrator. On macOS,
open System Settings → Privacy & Security, find the security message for
PreseriaScreenshotter, click Open Anyway and run the command again. On Windows, follow
your organization's procedure for approving applications blocked by its security controls.
Startup messages¶
| Message | Fix |
|---|---|
| Missing required arguments | Give at least the upload URL, the API key selector, the event ID and the sign name, in that order |
apiKey is '-' but --api-key-env was not provided |
Add --api-key-env=SCREENSHOTTER_API_KEY, or use env:SCREENSHOTTER_API_KEY as the second value |
Positional numeric arguments must come before flags |
Move x y width height interval in front of every --name=value flag: "Main Hall" 0 0 1920 1080 10 --heartbeat=60 |
Interval must be at least 5 seconds |
Use 5 or more; 10 is the recommended interval |
Capture command 'grim' was not found on PATH (Linux) |
sudo apt install grim |
compositor doesn't support wlr-screencopy, or grim reports no Wayland display |
The agent cannot see a desktop session: a user must be logged in to the desktop, the agent must run as that user, and over SSH WAYLAND_DISPLAY and XDG_RUNTIME_DIR must be set |
WebP encoder self-test failed |
The bundled encoder cannot run. Either the temp directory is mounted noexec — point the agent at a writable, executable one, for example -Djava.io.tmpdir=/var/tmp/preseria on a jar install — or the encoder does not run on this host: sudo apt install webp and add --webp-binary-dir=/usr/bin (or WEBP_BINARY_DIR=/usr/bin in the service env file) |
Windows: Error opening PreseriaScreenshotter.cfg |
The executable was separated from its folder. Extract the ZIP again and keep PreseriaScreenshotter.exe, app and runtime together |
While running¶
| Symptom | Check |
|---|---|
| Nothing is uploaded | The URL, API key, event ID and sign name are right; the computer reaches the Onlit server; screen-capture permission is granted; the agent runs in the interactive desktop session; the screen has actually changed, or a heartbeat is set — an unchanged screen is not re-uploaded; the window shows no authentication or HTTP error |
| The wrong area is captured | Adjust x y width height; 0 0 0 0 is the full primary screen, 0 0 1920 1080 the top-left Full HD area. On a dual-output Linux desktop use --capture-output |
| Uploads fail now and then | --upload-retries=5 --read-timeout-ms=30000 for an unreliable link; if bandwidth is the constraint, lengthen the interval before raising image limits (Venue bandwidth planning) |
The same Upload failed line repeats every interval |
A rejection the agent does not retry; the quoted status code is explained under What the server rejects |
| macOS captures a blank or black screen | PreseriaScreenshotter and, when used, Terminal lack the Screen & System Audio Recording permission; grant it and restart both |
| Linux captures are completely black | The built-in capture ran on a Wayland desktop. If the startup banner says Capture: robot … on Wayland, add --capture=grim |
Capture command timed out (Linux) |
The compositor did not answer, usually on a loaded Raspberry Pi; lengthen the interval or raise --capture-timeout-ms=30000 |
| Uploads are slow or the Pi runs hot | Every capture is scaled and encoded on the device; interval 10 → 20 halves both the traffic and the CPU work |
| A Wayland compositor outside the wlroots family | grim does not work there; supply any tool that writes an image to standard output: --capture-command="my-capture-tool --stdout --region={x},{y},{width},{height}" |