[PATCH] Support installing systemd unit file.
Julien Cristau
jcristau at debian.org
Sun Aug 28 07:32:49 PDT 2011
On Sun, Aug 28, 2011 at 17:53:07 +0600, Alexander E. Patrakov wrote:
> 28.08.2011 13:49, Michał Górny wrote:
>
> >+[Unit]
> >+Description=X-Window Display Manager on %I
> >+Requires=dev-%i.device
> >+After=dev-%i.device systemd-user-sessions.service
> >+
> >+[Service]
> >+ExecStart=BINDIR/xdm -nodaemon
>
> This deserves at least a comment why the X server is started on tty7
> (btw, does it?) and not on the "first free" tty that may be
> different due to a race with getties.
>
Entirely depends what you put in $XDMCONFIGDIR/Xservers, which by
default comes from the --with-default-vt configure argument. So it
doesn't sound like the systemd service file should hardcode the vt
number.
Cheers,
Julien
More information about the xorg-devel
mailing list