The Wayback Machine - https://web.archive.org/web/20160331211245/https://lwn.net/Articles/491787/
|
Log in / New account

LFCS 2012: X and Wayland

LFCS 2012: X and Wayland

Posted Apr 11, 2012 22:40 UTC (Wed) by mezcalero (subscriber, #45103)
Parent article: LFCS 2012: X and Wayland

The thing with socket activation for X is the weird allocation of sockets X needs. You match up one abstract namespace AF_UNIX socket with one AF_UNIX socket in /tmp with one TCP socket and then deduce the display number from that, and the simple thing is that I don't want to see code like that in systemd.


(Log in to post comments)

LFCS 2012: X and Wayland

Posted Apr 11, 2012 23:24 UTC (Wed) by jake (editor, #205) [Link]

Couldn't systemd hand off all that information to the X server when starting it and allow it to do the "offensive" calculation?

Or perhaps work with the X folks to find some alternative way? We do own the whole stack, as Keith points out, and systemd *seems* like the right place to do this kind of thing ...

jake


Copyright © 2016, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds