balena-chromium-kiosk
balena-chromium-kiosk copied to clipboard
Systemd
Close #1 #2 and maybe #3
re dbus.. Ive been ignoring those errors for months on a webrtc project .. not sure what it even enables
On Fri, Jul 26, 2019 at 9:27 PM Peter Kazazes [email protected] wrote:
@kazazes requested changes on this pull request.
I still had to set the DBUS address manually in the start script to stop a bunch of errors:
export DISPLAY=:0.0 export DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket
Got xf86OpenConsole: Cannot open virtual console 8 (Permission denied) and fixed with this. Note adding chromium to tty group as well.
changing xwrapper config to run for any user
echo "allowed_users=anybody" >/etc/X11/Xwrapper.config echo "needs_root_rights=yes" >>/etc/X11/Xwrapper.config
useradd chromium -m -s /bin/bash -G root,tty
Also, on buster and jessie (which is what the balena template gives me) the package https://packages.debian.org/buster/chromium is chromium not -browser
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jayatvars/balena-chromium-kiosk/pull/4?email_source=notifications&email_token=AADPI5GHMA36TYE5LWIJWJ3QBPFC7A5CNFSM4IHFXMA2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB7YQVOI#pullrequestreview-267455161, or mute the thread https://github.com/notifications/unsubscribe-auth/AADPI5GOBC63CLWPIY3YWDLQBPFC7ANCNFSM4IHFXMAQ .
@jacobrosenthal it handles inter-process comms for the entire device.
Also, forgot to say I had to add chromium-sandbox
to run as non-root.
Yeah but ive been running without dbus for 6 months using video audio joystick and a bunch more features.. literally no problems.
On Fri, Jul 26, 2019 at 9:45 PM Peter Kazazes [email protected] wrote:
@jacobrosenthal https://github.com/jacobrosenthal it handles inter-process comms for the entire device.
Also, forgot to say I had to add chromium-sandbox to run as non-root.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jayatvars/balena-chromium-kiosk/pull/4?email_source=notifications&email_token=AADPI5HVRCGY5NXB664ZXW3QBPHHVA5CNFSM4IHFXMA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26DQYY#issuecomment-515651683, or mute the thread https://github.com/notifications/unsubscribe-auth/AADPI5CWEPE5TK4MSPGKRN3QBPHHVANCNFSM4IHFXMAQ .