From 9502b6b05a8d04710c89c145fa0451506ad1afd7 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 18 Sep 2013 16:30:31 +0200 Subject: xinitrc: Remove obsolete usage of systemd user Should not be started manually, since it is started implicitly by pam_systemd. Also disable graphical target to be the default target, since this ends up trying to start unwanted units. --- .config/systemd/user/default.target | 1 - .config/systemd/user/default.target.bak | 1 + .xinitrc | 5 ----- 3 files changed, 1 insertion(+), 6 deletions(-) delete mode 120000 .config/systemd/user/default.target create mode 120000 .config/systemd/user/default.target.bak diff --git a/.config/systemd/user/default.target b/.config/systemd/user/default.target deleted file mode 120000 index ad8a2bc..0000000 --- a/.config/systemd/user/default.target +++ /dev/null @@ -1 +0,0 @@ -/home/ben/.config/systemd/user/graphical.target \ No newline at end of file diff --git a/.config/systemd/user/default.target.bak b/.config/systemd/user/default.target.bak new file mode 120000 index 0000000..ad8a2bc --- /dev/null +++ b/.config/systemd/user/default.target.bak @@ -0,0 +1 @@ +/home/ben/.config/systemd/user/graphical.target \ No newline at end of file diff --git a/.xinitrc b/.xinitrc index 057e3ef..3516cd8 100644 --- a/.xinitrc +++ b/.xinitrc @@ -1,10 +1,5 @@ #!/bin/sh -if [ "x$1" = "xsystemd" ]; then - export DBUS_SESSION_BUS_ADDRESS=unix:path=$XDG_RUNTIME_DIR/dbus/user_bus_socket - exec /usr/lib/systemd/systemd --user -fi - # Pass -ardelay 250 -arinterval 20 to X server instead. #xset r on #xset r rate 250 50 -- cgit