-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extra steps for launching cage on boot with systemd #348
Comments
Just adding my own discovery. In debian 12 the [seatd] service runs as group [video] there is no [seat] group in debian 12 |
The wiki page has been added to give some hints to start Cage with systemd but it is not expected to be 100% right for all distros. An adapted systemd unit file should be added to the dedicated distro package according to their choices. By the way, Debian 12 package does not include (yet?) a systemd unit for Cage. |
Yes, I have been building my own as a way to create a super cheap dynamic digital signage food menu for my school's cafeteria. Using cheap mini pc's and DakBoard. Its is almost 99% ready, and i'm excited to roll it out. The setting of the resolution refuses to work and i've reviewed the other issues for clues but haven't solved it. But i have ordered an HDMI edid plug to force the unit to see the tv as 1080p instead of 4K. So i think, I'll be ready to deploy this week. I have written a script to take a basic debian install almost all the way to a chromium kiosk(minus the resolution). working on ARM, and soon X86 processors running some debian or armbian distro. This post mentioned the [SEATD] which i had completely missed in my error logs. And while i got the [permission denied] error off by adding the [video] group it got me closer but no cigar. |
I have a similar setup (though Fedora as a base) and can recommend mkosi for that. It also allows to easily create a robust A/B partition style for updates. |
I have been following the wiki page --> https://github.com/cage-kiosk/cage/wiki/Starting-Cage-on-boot-with-systemd but I needed to take few extra actions to make it work and I thought reporting my experience here.
First of all I got rid of the offending line
Alias=display-manager.service
as suggested here: https://bbs.archlinux.org/viewtopic.php?id=145075 otherwise I was stuck onThen I needed to
systemctl start seatd.service
and add the cage user to the seat groupusermod -a -G seat cage
https://bbs.archlinux.org/viewtopic.php?id=274869
I am now up and running, thanks for the nice work!
The text was updated successfully, but these errors were encountered: