Get the latest tech news

Running Wayland Clients as Non-Root Users on Yocto


Many embedded Linux systems use a Wayland compositor like Weston for window management. Qt applications act as Wayland clients. Weston composes the windows of the Qt applications into a single wind…

However, this may break, if we figure out how to run Qt applications as other users than weston and root or if we use a relative path for the socket file given in WAYLAND_DISPLAY. As the socket file name may change, the Wayland client will eventually fail to start with the error message A good approach is to check the generated files in the work directory of the image recipe (e.g., b4-hmi-product-image) for the required changes.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of non-root users

non-root users

Photo of yocto

yocto

Photo of wayland clients

wayland clients

Related news:

News photo

Yocto 5.0 LTS Released - Now Powered By Linux 6.6 LTS, Boeing Joins The Project

News photo

Turbostat Becomes Semi-Useful To Non-Root Users