[PATCH 0/3] libxtrans + xserver: Add support for systemd socket activation (v5)

Hans de Goede hdegoede at redhat.com
Mon Dec 2 11:44:33 PST 2013


Hi All,

Here is v5 (I'm starting the numbering where Łukasz stopped) of the systemd
socket activation patch-set. This version addresses all review comments
made in response to my previous posting of this set.

Testing can still be done like this:

1) Create a file named /etc/systemd/system/xorg.socket with the following
contents:

[Unit]
Description=Xorg DISPLAY=:1.0 socket

[Socket]
ListenStream=/tmp/.X11-unix/X1

[Install]
WantedBy=sockets.target

2) Create a file named /etc/systemd/system/xorg.service with the following
contents:

[Unit]
Description=Xorg DISPLAY=:1.0 Service

[Service]
ExecStart=/usr/bin/Xorg :1

[Install]
Also=xorg.socke

3) In a terminal / on the console do:
export DISPLAY=:1
metacity&
xterm

Regards,

Hans


More information about the xorg-devel mailing list