Since a lot of totems of mines cannot be upgraded to win11 I started making changes to improve arexibo playes for linux. In my fork GitHub - romoloman/arexibo: A Rust Linux Xibo player · GitHub I have ported most of the feature of existing window player and on my side seems to work rather well especially in X11 environment (I’m using under minimized ubuntu server with X11).
Test (and feedbacks) are welcome.
I’ve had a horrid time trying to get any of your apps installed on fresh OS installs
There is only one app and you need to compile it following the guide…
Building and running arexibo on Ubuntu 26
Quick reference for building arexibo from source and running it on a fresh Ubuntu 26.04 install. This covers development/testing use – for a full kiosk deployment (systemd service, X11 auto-start, screen rotation, touch calibration, etc.), see the separate deployment guide.
1. Install build dependencies
bash
sudo apt update
sudo apt install -y cmake g++ pkg-config libdbus-1-dev libzmq3-dev \
qt6-webengine-dev
2. Install the Rust toolchain
arexibo requires Rust >= 1.75. Ubuntu’s own packaged cargo may be older than this – installing via rustup is the safer, recommended path:
bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source "$HOME/.cargo/env"
rustc --version
(If you’d rather use the distro package instead: sudo apt install -y cargo, then check cargo --version meets the minimum.)
3. Get the source and build
Important: github.com/birkenfeld/arexibo is the original, upstream repository – it does not include the bug fixes and features developed in this session (marquee/widget sizing fixes, XMR robustness, the pending-authorization feature, etc.). Use your own fork/copy with those changes instead if you have one, e.g.:
bash
git clone https://github.com/romoloman/arexibo.git
bash
cd arexibo
Either way, build with:
bash
cargo build --release
The binary is produced at target/release/arexibo. This step takes a few minutes the first time (compiling all dependencies from scratch).
To install it system-wide instead of running it from target/release/:
bash
cargo install --path . --root /usr
This places the binary at /usr/bin/arexibo. No other files are needed at runtime beyond the system libraries it links against.
4. First run: register with your CMS
Create a directory where arexibo will store its configuration and downloaded content:
bash
mkdir -p ~/arexibo-data
Run once, providing your CMS address and key:
bash
./target/release/arexibo --host https://your.cms.example/ \
--key YOUR_CMS_KEY ~/arexibo-data
(--display-id is optional – if omitted, arexibo derives a stable id automatically from /etc/machine-id. Only pass it explicitly if you need to match an existing display record with a specific hardware key already assigned in the CMS.)
Log messages print to stdout. If the display needs manual approval in the CMS (Administration → Displays), arexibo shows a splash screen with this machine’s hostname and IP address while waiting, and retries automatically every 30 seconds – no need to restart it once you approve the display.
5. Subsequent runs
Once registered, the connection settings are cached in the data directory – you no longer need to pass --host/--key:
bash
./target/release/arexibo ~/arexibo-data
6. Requirements to actually see anything
arexibo needs a running X11 display to show its window – it won’t render anything over SSH alone without one. Options for testing:
- A desktop session: if Ubuntu 26 is running with a desktop environment already, just run arexibo from a terminal inside that session.
- A bare X server, no desktop environment (matches a real kiosk setup):
xinit ./target/release/arexibo ~/arexibo-data -- :0 vt1 -s 0 -dpms(see the deployment guide’s “Standalone setup with X server” section for the full systemd-based version of this). - Remote debugging without a physical screen:
QTWEBENGINE_REMOTE_DEBUGGING=9222as an environment variable lets you inspect the rendered page from another machine’s Chrome/Edge athttp://<host>:9222(via an SSH tunnel if not on the same network) – useful for confirming content renders correctly without needing eyes on the actual totem screen.
Useful flags for development
--debug: verbose logging (SOAP calls, internal state transitions).--web-debug: logs every JS console message and page error from the rendered content – useful when troubleshooting a specific widget that isn’t displaying correctly.--allow-offline: tolerates the CMS being unreachable at startup, falling back to cached settings/content if available, instead of failing outright.--clear: wipes the local file cache (downloaded media/widget pages), forcing a full re-download on next start. Does not affect cached CMS connection settings.--no-verify: skips TLS certificate verification – only for testing against a CMS with a self-signed certificate, never for production.
Run arexibo --help for the full list.
Looks like I’ve conflated your arexibo instance with that from xiboplayer.org
I will give yours a go
There are also some useful environment variables
Normal use:
AREXIBO_FONT_SCALE: a numeric multiplier (e.g.0.91) applied globally to font sizes, to correct for rendering differences compared to a reference client on a different platform. Leave unset for the default (no correction).QTWEBENGINE_CHROMIUM_FLAGS: standard Qt/Chromium mechanism for passing extra Chromium command-line flags (e.g. GPU-related tuning for a specific graphics driver). arexibo appends its own required flag (--disable-pinch, needed to disable pinch-to-zoom on multitouch panels) to whatever you set here, rather than overwriting it – both apply together.QTWEBENGINE_REMOTE_DEBUGGING: see section 6 above.
Diagnostic only – not for production use:
AREXIBO_FAKE_USERAGENT: overrides the user agent string reported to the CMS/widgets (e.g.windowsto masquerade as a Windows client). Added specifically to investigate a rendering bug that turned out to be unrelated to the user agent at all – misrepresents the player to anything checking it, don’t leave this set normally.AREXIBO_FAKE_CLIENTTYPE: overrides theclientTypereported to the CMS during registration (currently onlywindowsis implemented as an override value; anything else falls back to the reallinuxtype with a warning). Added to test a hypothesis about CMS-side behavior differing by client type – same caveat as above, this misrepresents the player to the CMS’s own registration logic, which can affect other clientType-conditional CMS behavior beyond whatever you’re specifically testing.
BTW Arexibo is not a my istance, all the credits to the original author.
I only did some work to bring it very near (if not even more stable) to the original window client.
At the moment there are few things left back in my fork:
SyncGroup / VideoWall
Cycle Playback
All the other feature should work.
There are further additions:
- SyncGroup/videowall are supported but lack frame level syncronization, but for normal pages they are not too bad.
- Now it’s possible to register also using code and manual registration on the startup screen.
- Several fixes in navigate widgets.
- a .deb package for ubuntu is available. (tested on minimal ubuntu server)
There is a build available for ubuntu/debian on arm64 amd64 platform.
Many fixes and improvements especially when working with datasets.
Arexibo v0.6.5 x86_64 RPM testing repo:
https://m1r0.de/arx10/arexibo/arexibo.repo
Arexibo 0.6.9 has been release in .deb format for amd64 and arm64 platforms (raspberry pi)
Fixes and addons since v0.6.5
0.6.9 - Oct 2026
- Send the details of the machine in the registration, as the Windows player does:
operatingSystemas JSON, with the OS name from/etc/os-releaseasversion, the kernel release assdk, and the manufacturer, brand and model from the firmware’s DMI data (the motherboard’s if those are placeholders such asTo Be Filled By O.E.M.or justO.E.M., the device tree on a Raspberry Pi), which the CMS shows in the display’s details. It received the plain stringlinux. The value is escaped for the request, which the generated SOAP code does not do. - Send the screen size (
width,height) in the status notification, as the Windows player does: the CMS works the display’s resolution and orientation out from it, and had neither for these players. - Show on the splash screen, in small type at the bottom, the version, the date and time (ticking), the free and total space of the disk and the time and result of the last collection, as an aid for whoever installs or debugs a totem.
AREXIBO_SPLASH_INFO=0hides it. It reads a new local-only/splash-info;/infokeeps the Electron player’s fields. - Log
main loop startedwhen the main loop starts, and, if it has not begun its first collection 90 seconds later, an error with what each thread of the process is waiting on (it was seen staying silent for minutes at boot, with the splash screen up), then exit, so that systemd (Restart=always) starts the player again. - Say so in the log when an XMR message is dropped for being past its time to live (it was dropped silently), with its action and age, at most once every five minutes. A message that is hours old means this player’s clock and the CMS’s disagree.
- Tell the CMS, as a player fault (a Player Fault alert for the display), when XMR messages are being dropped as expired: screenshots, collect now and the CMS’s other messages were being lost with no sign there. It is cleared after an hour without any more, by sending an empty list of faults, which also clears the other faults the CMS holds for the display.
- Proof of Play: a layout that is alone in the schedule (or the only member of a cycle group) is now recorded each time it finishes its cycle and starts over; such plays were lost, as a record was made only when a different layout came next.
- Proof of Play: send the
duration(seconds) andcountof each record, as the Windows and Electron players do (the CMS worked a missing duration out from the two dates; the count is what an aggregate needs). - Proof of Play: honour the display’s
statsEnabledsetting, which was ignored (nothing is recorded while it is off). - Proof of Play: tag each record with the schedule criteria in force during the play (an engagement, as the Electron player does), and keep the records not yet sent in
stats.json, so a restart does not lose them. - Proof of Play of the widgets: a record (type
media,mediaidthe widget) for each time a widget of the main view is shown, for the widgets whoseenableStatis on. Widgets still showing when the layout changes or starts over are closed with it. Needs the layouts to be translated again, which happens by itself at the first start. - Proof of Play aggregation,
HourlyandDaily, as the Windows player does but keyed by layout and widget too (the Windows key has neither, which adds up the layouts of a campaign under the first one): one record per layout and widget and hour or day, sent when that hour or day is over, with the count and the added duration (the CMS counts impressions of ad campaigns from the count). The level is the display’saggregationLevelsetting, which the CMS only offers to its Android and Windows profiles, so there is also the environment variableAREXIBO_STATS_AGGREGATION. - Warn when this player’s clock differs from the CMS’s by more than a minute (from the
Dateheader of the answers to the registration), again at most once an hour, and say when they agree again: XMR messages (screenshots, collect now, …) are dropped and what is scheduled by time starts at the wrong time otherwise. - Take a screenshot the CMS asked for while the player was off a minute after the start: it was taken before anything was drawn and sent a blank image. One asked for through XMR in the first minute is not delayed.
0.6.8 - Oct 2026
- Add the
/infoendpoint (xiboIC.info()), with the same fields as the official Electron player:version,displayName,hardwareKey,screenWidth,screenHeight,latitude/longitude(always 0: no location source on Linux),timeZone,currentLayoutIdanddisplayStatus(the CMS registration status). Served to local requests only. - Add Data Connectors (real-time data), as in the official Electron player. A connector scheduled in the CMS runs in a hidden page of its own, with the
xiboDCAPI (setData,notifyHost,makeRequest,setCriteria); its data is served at/realtime, the widgets are notified when it changes, and the criteria it sets drive the schedule. Its script is checked against the md5 announced by the CMS before every run (and downloaded again when edited in the CMS). A connector tied to a geographic area never runs, as there is no location source. See the README. - Read the display’s tags from the registration (kept with the settings, so they survive a start from the cache) and give them to the data connectors as
window.displayTags, an object, beforeonInit(). /realtimenow answers as the Electron player does: the key is decoded like a query parameter (%20and+were not), a missing key is a 400, a miss a 404 (the widget’s error callback), both with a JSON error, and a hit is served asapplication/json.- Commands accept
[[tag]]placeholders, filled with the display’s tags when the command runs, as in the Electron player. See the README. - Restart by itself when the CMS changes how the XMR connection is made (TCP or WebSocket, its address, or the key): the change used to apply only at the next manual restart. It must be reported by two registrations a minute apart, so a CMS that answers inconsistently cannot cause restarts. As for the other settings that already restart the player, something must start it again (systemd
Restart=always).
0.6.7 - Oct 2026
- The player’s own HTTPS requests (CMS, media downloads) and the XMR WebSocket now also trust the Linux system CA store, besides the bundled Mozilla roots, so a CMS behind an internal CA no longer needs
--no-verify. - By default (offline mode), a display that loses its connection to the CMS mid-session now keeps playing its cached schedule instead of falling back to the splash screen after 3 failed collection cycles; once 3 cycles have failed it retries every 30 s, so a returning CMS is noticed promptly.
--disallow-offlinekeeps the splash screen fallback. - A display with a Sync Group role that starts from a valid cache (schedule and settings) now starts or joins its Sync Group right away, even with the CMS unreachable, instead of waiting for a first successful collection.
- Fix the startup splash screen being cut short when a cached schedule arrives within milliseconds of it: the first navigation could cancel the splash’s own initialisation, leaving a blank letterboxed strip (no logo, black bars) for as long as the first layout took to load. Navigation now waits until the splash has initialised (at most 3 s) and has then been shown for 1 s, adjustable with the
AREXIBO_SPLASH_MSenvironment variable (0 = no minimum). - Fix a Navigate Layout button sending the display to a layout that no longer exists. The target id is fixed when the page is translated, so after the target layout was republished (new id, same code) and the old one purged, the already open page still pointed at the old id and the display got stuck retrying the missing page until a purge-all. A jump now goes to the layout that replaced it, or is ignored if there is none, and a jump target that cannot be loaded after several tries sends the view back to the scheduled layout (or the splash screen).
- Add an opt-in focus on load for webpage widgets in “Open Natively” mode:
[HasFocus]in the URL (removed before loading) makes that page take keyboard focus once, when it first finishes loading. Before, a native page only received focus on touch and keys typed earlier reached nobody. - Add a watchdog for stuck layout loads: a layout page with no load progress for 20 s (
AREXIBO_LAYOUT_LOAD_TIMEOUT_S, 0 disables) is stopped and reloaded once, then accepted as it is. Regions only start on the page’sloadevent, so one resource that never completes (a web font, an iframe) used to leave the screen blank until the next reload. - Honor the Webpage widget’s “Background transparent?” option in “Open Natively” mode: the native view is now transparent when it is checked (it was always opaque white outside the overlay), so the layout shows through the page’s transparent areas.
0.6.6 - Oct 2026
- Fix image and video alignment being ignored: the CMS writes it as
<alignId>/<valignId>child options, but only an older attribute spelling was read, so everything ended up centered. Left/right and top/bottom now work (visible with thecenterscale type, where the media doesn’t fill its region). - Native webpage widgets (“Open Natively”): a touch or click now restarts the widget’s duration countdown, so a layout no longer expires or reloads while someone is using the page. Main layout only (not overlay layouts); keyboard, wheel and dragging do not count.
- Serve a real
/favicon.ico(the arexibo logo) instead of an empty reply without aContent-Type, which made Chromium sniff the content on every page load. - Fix
--web-debugnot enabling part of the Qt-side logging: the flag was a separate copy per source file, so some lines (e.g.run JavaScript:) were never printed. They now appear with--web-debug(noisy by design). - The translator version is bumped, so cached layouts are re-downloaded and retranslated once at the first start after upgrading and pick up the fixes above without needing
--clear. - Fix widgets that the CMS scales up with a CSS transform (e.g. the flip clock) being cut off at their unscaled height: the shrink-to-fit script forced
overflow: hiddenon<html>, which made<body>'s own overflow clip at its untransformed box instead of the viewport. - Embedded widgets are shown at their authored size, as in the Xibo player: content larger than the region is clipped instead of being shrunk to fit. The shrink-to-fit fallback now skips modules declaring
scaleContent.