From e2927e730fe7053b819ff09672de3d6043870862 Mon Sep 17 00:00:00 2001 From: Martin Sivak Date: Fri, 8 Mar 2013 14:19:46 +0100 Subject: Fix graphical and text systemd target - the xserver unit approach worked (after some patch fixes), but still had one serious issue. The graphical unit (initial-setup) started before Xserver was fully initialized... - this update starts the initial-setup process inside the xinit session and thus ensures that the Xserver is initialized by the time initial-setup tests the DISPLAY variable - text target was configured to conflict with graphical and to have it's stdout and stdin routed to terminal --- systemd/initial-setup-xserver.service | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 systemd/initial-setup-xserver.service (limited to 'systemd/initial-setup-xserver.service') diff --git a/systemd/initial-setup-xserver.service b/systemd/initial-setup-xserver.service deleted file mode 100644 index 3c485ce..0000000 --- a/systemd/initial-setup-xserver.service +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=Initial Setup Xserver service -After=livesys.service plymouth-quit.service -After=systemd-vconsole-setup.service -Before=display-manager.service getty@tty1.service -Conflicts=plymouth-quit.service - -[Service] -Type=oneshot -ExecStartPre=-/bin/plymouth quit -ExecStart=xinit /bin/firstboot-windowmanager -- Xorg :9 -ac -nolisten tcp vt1 -ExecStartPost= -TimeoutSec=0 -RemainAfterExit=yes -SysVStartPriority=99 - -[Install] -- cgit