4 ms·
The way I did it was to run Weston without any icons or anything and using systemd to start my app and also having systemd reopen my app if it closes. Worked we
by codetrotter 2y ago
The way I did it was to run Weston without any icons or anything and using systemd to start my app and also having systemd reopen my app if it closes. Worked well enough.
- vially 2y agoI haven't personally used it, but I have seen cage [0] being recommended a few times for similar use-cases. [0] - https://github.com/cage-kiosk/cage https://github.com/cage-kiosk/cage
- baobun 2y agoStumpwm is very nice if in X11.
- kees99 2y agoNo WM at all is less nice, but can work. A bit over a decade ago, we shipped a kiosk/appliance that software-wise only had kernel, X, and firefox. All starting directly from /etc/inittab, something like this: id:5:initdefault: x1:5:respawn:/etc/rc-x11 ff:5:respawn:/etc/rc-firefox ...where /etc/rc-∗ are few lines of shell that set up environment variables, and end with "exec chroot --userspec=... / /bin/firefox ..." - this way X and firefox run under same PIDs that sysvinit knows about, so they get restarted after a crash.