Hi, I'm using core-image-weston and adding chromium to the final image. Weston is properly started on the hdmi monitor. I'm trying to start chromium when weston starts with following:
[Unit] Description="Chromium browser start" Requires=weston.service After=weston.service [Service] Type=simple Environment=XDG_RUNTIME_DIR="/run/user/0" ExecStart=/usr/bin/chromium https://google.com Restart=always RestartSec=5 User=weston Group=weston [Install] WantedBy=multi-user.target but getting this: May 22 12:23:26 orange-pi-pc2 sh[254]: [250:250:0522/122326.671204:ERROR:wayland_connection.cc(186)] Failed to connect to Wayland display: Permission denied (13) May 22 12:23:26 orange-pi-pc2 sh[254]: [250:250:0522/122326.674692:ERROR:ozone_platform_wayland.cc(233)] Failed to init ialize Wayland platform May 22 12:23:26 orange-pi-pc2 sh[254]: [250:250:0522/122326.674738:ERROR:env.cc(255)] The platform failed to initialize . Exiting. When running the terminal from wayland desktop chromium works fine. Am I missing something to start it properly? Thanks and BR, marek -- as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite twitter: #opennandra web: http://open-nandra.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60079): https://lists.yoctoproject.org/g/yocto/message/60079 Mute This Topic: https://lists.yoctoproject.org/mt/99063456/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
