You are not logged in.
I need to launch a systemd service as a non-root user. I've looked at this but I'm fairly confused. I don't have xorg or any desktop environment installed (this is a remote server I SSH into) but when I run
systemctl --user statusI get
Failed to get D-Bus connection: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11What am I doing wrong?
Last edited by gsingh93 (2013-12-01 07:29:29)
Offline
I was going in the wrong direction. All I had to do was add 'User=username' and 'Group=groupname' in the [Service] section.
Offline