[PATCH] [RFC] socket activation code for xserver

Łukasz Stelmach l.stelmach at samsung.com
Wed Jun 26 09:18:03 PDT 2013


Hello All.

These are patches for libxtrans[1] and xserver[2]. The first, for
libxtrans implements the "client" side of socket passing as implemented
in systemd[3]. With this code in libxtrans it is possible to configre
systemd to open X sockets, listen for incomming connection and start
xserver as the first client connects. More than one client may be
starting at the same time and some operations (e.g. dynamic linking)
may be completed even before the xserver is fully operational.

The other patch is for the xserver package. It enables the code from
libxtrans by adding -DHAVE_SYSTEMD to CFLAGS (with some (in)sanity
done before). 

Łukasz Stelmach (2):
  Enable systemd socket activation (libxtrans)
  configure.ac: enable systemd socket activation in libxtrans (xserver)

 Xtrans.c     |   50 ++++++++++++++++++++++++++++++++++++++++++++++
 configure.ac |   32 ++++++++++++++++++++++++++++++
 2 file changed, 81 insertions(+)

[1] git://anongit.freedesktop.org/xorg/lib/libxtrans
[2] git://anongit.freedesktop.org/xorg/xserver
[3] http://www.freedesktop.org/wiki/Software/systemd/
-- 
1.7.9.5



More information about the xorg-devel mailing list