frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Running Wayland Clients as Non-Root Users on Yocto

https://embeddeduse.com/2025/08/11/running-wayland-clients-as-non-root-users/
33•jandeboevrie•5mo ago

Comments

WhyNotHugo•5mo ago
As per the article, Yocto runs GUI applications as root, and you need workarounds to run them as non-root.

Running arbitrary GUI applications as root is such a huge red flag that I'd suggest just looking at another distribution instead of resorting to workarounds.

Sponge5•5mo ago
Yocto doesn't run GUI applications, it's a framework to make your own distro. The fact that many users are too lazy to create a user to run their application as, speaks of the embedded space in general rather than Yocto in particular.

> I'd suggest just looking at another distribution

You won't find one. With many vendors, it's the only option.

rcxdude•5mo ago
It's designed for embedded systems: it's not so much arbitrary GUI applications as a specific one, in fact the OS is more like a library for a single application than a traditional server or desktop OS. It's not that much unlike a single-process docker container, one where it can be quite hard to draw meaningful security boundaries within it. (you can, of course, run stuff as different UIDs, but generally the application needs to have permission to do basically everything on the system, one way or another).
dgfitz•5mo ago
I’ve used it to run autonomous land vehicles. ~60 written binaries and ~20 written libraries, in additional to your bog-standard Linux distro binaries/libraries (core/more utils, ip, user management, etc)

It doesn’t need to be pidgin-holed as a glorified one-app-docker-esque platform. I would argue running a yocto distro as nothing more than a docker host might be the most powerful way to use it even, where the container also runs more than a single “thing” if you will. Just abstracts away the hardware layer from the software layer so as not to muck with the bsp.

karlgkk•5mo ago
> Running arbitrary GUI applications as root is such a huge red flag

Yes, but...

For many embedded applications, getting any sort of execution on the GUI thread/process is game over anyways.

idk what this says about anything

dgfitz•5mo ago
> I don’t know (yet) where this change happens. This rules out this option for the time being.

This is the actual problem. I have used yocto for close to a decade. This conclusion is wrong, the fix is right there. The rest of the article is superfluous.

Their solution works, and I’ve resorted to things like that before, but it is not “the most correctestest way” because, in my experience if you need to use sed in a recipe you’re way off the reservation and there is usually a “better” way.

rcxdude•5mo ago
It is pretty emblematic of issues in yocto, though. It has an impressive capability for action-at-a-distance, which is at once powerful and very difficilt to inspect.
dgfitz•5mo ago
For sure. Yocto is like playing whack-a-mole where the club is your head and the mole is your keyboard.

Very powerful, incredible capabilities. Extremely frustrating 90% of the time.

ACS_Solver•5mo ago
I'm one of the resident Wayland critics, and one of my most painful Wayland experiences was in a similar embedded/Yocto setting. A kiosk-style device where I had a perfectly working system for X. Sometimes there'd be one program drawing to the screen, sometimes two or three, and they very easily arranged themselves on the screen in the right position/size.

Then I had to port this stuff to a different hardware platform that only supported Wayland. The programs could no longer place themselves where they wanted to, and a simple helper/manager script I had based on xdotool of course also no longer worked. As an extra bonus, on the X variant I'd use x11vnc for maintenance purposes to find out exactly what was being shown, which also broke down on Wayland. Took weeks to get things ported, leaving a few rough edges that were worse than on X, and not a single thing that was better for the system developer's or the end users from Wayland.

I'm sure some of that has improved since. One of my first attempts there was to use ivi-shell, but occasionally I needed to show a browser on the screen and at that time Chromium had too many random crashes under Weston.

The Tao of Programming

http://www.canonical.org/~kragen/tao-of-programming.html
1•alexjplant•34s ago•0 comments

Forcing Rust: How Big Tech Lobbied the Government into a Language Mandate

https://medium.com/@ognian.milanov/forcing-rust-how-big-tech-lobbied-the-government-into-a-langua...
1•akagusu•42s ago•0 comments

PanelBench: We evaluated Cursor's Visual Editor on 89 test cases. 43 fail

https://www.tryinspector.com/blog/code-first-design-tools
1•quentinrl•3m ago•0 comments

Can You Draw Every Flag in PowerPoint? (Part 2) [video]

https://www.youtube.com/watch?v=BztF7MODsKI
1•fgclue•8m ago•0 comments

Show HN: MCP-baepsae – MCP server for iOS Simulator automation

https://github.com/oozoofrog/mcp-baepsae
1•oozoofrog•11m ago•0 comments

Make Trust Irrelevant: A Gamer's Take on Agentic AI Safety

https://github.com/Deso-PK/make-trust-irrelevant
2•DesoPK•15m ago•0 comments

Show HN: Sem – Semantic diffs and patches for Git

https://ataraxy-labs.github.io/sem/
1•rs545837•17m ago•1 comments

Hello world does not compile

https://github.com/anthropics/claudes-c-compiler/issues/1
2•mfiguiere•22m ago•0 comments

Show HN: ZigZag – A Bubble Tea-Inspired TUI Framework for Zig

https://github.com/meszmate/zigzag
2•meszmate•25m ago•0 comments

Metaphor+Metonymy: "To love that well which thou must leave ere long"(Sonnet73)

https://www.huckgutman.com/blog-1/shakespeare-sonnet-73
1•gsf_emergency_6•27m ago•0 comments

Show HN: Django N+1 Queries Checker

https://github.com/richardhapb/django-check
1•richardhapb•42m ago•1 comments

Emacs-tramp-RPC: High-performance TRAMP back end using JSON-RPC instead of shell

https://github.com/ArthurHeymans/emacs-tramp-rpc
1•todsacerdoti•46m ago•0 comments

Protocol Validation with Affine MPST in Rust

https://hibanaworks.dev
1•o8vm•51m ago•1 comments

Female Asian Elephant Calf Born at the Smithsonian National Zoo

https://www.si.edu/newsdesk/releases/female-asian-elephant-calf-born-smithsonians-national-zoo-an...
2•gmays•52m ago•0 comments

Show HN: Zest – A hands-on simulator for Staff+ system design scenarios

https://staff-engineering-simulator-880284904082.us-west1.run.app/
1•chanip0114•53m ago•1 comments

Show HN: DeSync – Decentralized Economic Realm with Blockchain-Based Governance

https://github.com/MelzLabs/DeSync
1•0xUnavailable•58m ago•0 comments

Automatic Programming Returns

https://cyber-omelette.com/posts/the-abstraction-rises.html
1•benrules2•1h ago•1 comments

Why Are There Still So Many Jobs? The History and Future of Workplace Automation [pdf]

https://economics.mit.edu/sites/default/files/inline-files/Why%20Are%20there%20Still%20So%20Many%...
2•oidar•1h ago•0 comments

The Search Engine Map

https://www.searchenginemap.com
1•cratermoon•1h ago•0 comments

Show HN: Souls.directory – SOUL.md templates for AI agent personalities

https://souls.directory
1•thedaviddias•1h ago•0 comments

Real-Time ETL for Enterprise-Grade Data Integration

https://tabsdata.com
1•teleforce•1h ago•0 comments

Economics Puzzle Leads to a New Understanding of a Fundamental Law of Physics

https://www.caltech.edu/about/news/economics-puzzle-leads-to-a-new-understanding-of-a-fundamental...
3•geox•1h ago•1 comments

Switzerland's Extraordinary Medieval Library

https://www.bbc.com/travel/article/20260202-inside-switzerlands-extraordinary-medieval-library
2•bookmtn•1h ago•0 comments

A new comet was just discovered. Will it be visible in broad daylight?

https://phys.org/news/2026-02-comet-visible-broad-daylight.html
4•bookmtn•1h ago•0 comments

ESR: Comes the news that Anthropic has vibecoded a C compiler

https://twitter.com/esrtweet/status/2019562859978539342
2•tjr•1h ago•0 comments

Frisco residents divided over H-1B visas, 'Indian takeover' at council meeting

https://www.dallasnews.com/news/politics/2026/02/04/frisco-residents-divided-over-h-1b-visas-indi...
4•alephnerd•1h ago•5 comments

If CNN Covered Star Wars

https://www.youtube.com/watch?v=vArJg_SU4Lc
1•keepamovin•1h ago•1 comments

Show HN: I built the first tool to configure VPSs without commands

https://the-ultimate-tool-for-configuring-vps.wiar8.com/
2•Wiar8•1h ago•3 comments

AI agents from 4 labs predicting the Super Bowl via prediction market

https://agoramarket.ai/
1•kevinswint•1h ago•1 comments

EU bans infinite scroll and autoplay in TikTok case

https://twitter.com/HennaVirkkunen/status/2019730270279356658
7•miohtama•1h ago•5 comments