From ArchWiki
< Talk:Systemd
Revision as of 23:57, 5 February 2013 by Feynman (talk | contribs) (Feynman: setting DBUS_SESSION_BUS_ADDRESS without user-session@.service)
Jump to: navigation, search

If you're not using auto-login, specifically the user-session@service, the environment variable DBUS_SESSION_BUS_ADDRESS needs to exported to something like /run/user/$(id -u)/dbus/user_bus_socket before systemd --user is run. Otherwise, an error shows up in journalctl : "systemd[3975]: Failed to open private bus connection: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11." Are there any other environment variables that need to be added to that section? Feynman (talk) 23:57, 5 February 2013 (UTC)

user: command or username

Maybe a dumm question, but is the --user command supposed to be used as is in the whole article or is it that we should replace it with our username in some places? --Maevius (talk) 11:31, 17 November 2012 (UTC)

Yes, you should use --user. Think about it; if you had to specify your username, it would be instead something like --user=your-username. Having a flag like --your-username (including the --), would be too weird. Also, if you do man systemctl, you'll see the the option is --user. Chrisl (talk) 17:31, 8 January 2013 (UTC)