Openembedded Core Discussions
 help / color / mirror / Atom feed
* [oe-core][RFC] Display manager proposal for x11 and wayland
@ 2025-03-12  0:46 Randolph Sapp
  2025-03-12  9:39 ` Alexander Kanavin
  0 siblings, 1 reply; 5+ messages in thread
From: Randolph Sapp @ 2025-03-12  0:46 UTC (permalink / raw)
  To: Richard Purdie, ross.burton, alex, otavio, kexin.hao,
	Andrew Davis, Darren Etheridge, Denys Dmytriyenko, Ryan Eatmon
  Cc: openembedded-core@lists.openembedded.org, Pothukuchi, Vijay

We've recently run into some issues with weston-init attempting to start 
Weston prior to all drm devices being registered. There's not really a 
good, scriptable mechanism to listen in to device registration events 
that works with the existing weston-init package. Well, at least one 
that doesn't involve polling files or introducing more dependency on the 
init system being used.

I also see there is also a lot of scripting around starting X11, 
xserver-nodm-init, that (from my limited review) should experience the 
same issue.

I'd like to introduce the following display manager for oe-core, emptty 
[1]. This display manager is, as described upstream, a "Dead simple CLI 
Display Manager on TTY". It supports both x11 and wayland sessions, with 
togglable build parameters to completely remove x11 and pam 
dependencies. It's licensed MIT, which shouldn't be an issue for any 
users. (It is written in Go, if you have opinions about that.)

With this, both weston-init and the xserver-nodm-init packages can be 
re-tuned to leverage this display manager and simply add a user and 
emptty config for an autologin session. This can resolve the current 
behavior across init systems without additional scripting, and move some 
development out of this layer.

I already have a recipe for emptty, but I figured I would reach out for 
comment to recent contributors before I submit any patches playing with 
the existing init packages.

[1] https://github.com/tvrzna/emptty

- Randolph


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-03-12 20:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-12  0:46 [oe-core][RFC] Display manager proposal for x11 and wayland Randolph Sapp
2025-03-12  9:39 ` Alexander Kanavin
2025-03-12 10:52   ` Otavio Salvador
2025-03-12 17:58     ` Randolph Sapp
2025-03-12 20:31       ` Randolph Sapp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox