I'm trying to run systemd user mode on CentOS 7.0 server (no X11 installed). e.g.
systemctl --user start hw.service
Failed to get D-Bus connection: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
If I add
and run again, it reports:
Failed to get D-Bus connection: /bin/dbus-launch terminated abnormally without any error message
Can anyone shed light on this? btw, systemctl --version reports:
systemd 208 +PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ