Difference between revisions of "Talk:Systemd/User"
(Remove closed discussion.) |
(→Setting Environment variables without autologin/user-session@.service) |
||
Line 3: | Line 3: | ||
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 {{ic|export DBUS_SESSION_BUS_ADDRESS=/run/user/$(id -u)/dbus/user_bus_socket}} before {{ic|systemd --user}}. 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? | 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 {{ic|export DBUS_SESSION_BUS_ADDRESS=/run/user/$(id -u)/dbus/user_bus_socket}} before {{ic|systemd --user}}. 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? | ||
[[User:Feynman|Feynman]] ([[User talk:Feynman|talk]]) 23:57, 5 February 2013 (UTC) | [[User:Feynman|Feynman]] ([[User talk:Feynman|talk]]) 23:57, 5 February 2013 (UTC) | ||
+ | |||
+ | ::Not really. I'm not using auto-login and I'm not using any DE or login manager. It was a bug I ''believe'' on older versions on systemd. Since 198 it's not longer necessary. I still get that error on the start but it actually works without hassle. --[[User:Pabloxcl|Pabloxcl]] ([[User talk:Pabloxcl|talk]]) 16:21, 7 April 2013 (UTC) |
Revision as of 16:21, 7 April 2013
Setting Environment variables without autologin/user-session@.service
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 export DBUS_SESSION_BUS_ADDRESS=/run/user/$(id -u)/dbus/user_bus_socket
before systemd --user
. 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)