You are not logged in.
Pages: 1
Topic closed
so i get this on trying to start any dbus service currently im trying to use profile-sync-daemon
i hv avahi-deamon installed and running
as per wiki i ran psd which generated config file then tried to enable the service with
sudo systemctl --user enable psd
i got:
Failed to connect to bus: No medium found
relevant log from journalctl:
Apr 21 16:13:03 arch dbus-daemon[561]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.
home1.service' requested by ':1.115' (uid=0 pid=11348 comm="sudo systemctl --user enable psd")
Apr 21 16:13:03 arch dbus-daemon[561]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-o
rg.freedesktop.home1.service not found.
Last edited by parsody (2022-04-21 19:29:04)
Offline
That journal segment is completely irrelevant.
loginctl session-status
echo $DBUS_SESSION_BUS_ADDRESS
Also how do you start the session and if it's xinit/startx, see the last link below.
Offline
loginctl session-status
output: http://0x0.st/oTb5.txt
echo $DBUS_SESSION_BUS_ADDRESS
output: http://0x0.st/oTb7.txt
i use startx
.xinitrc : http://0x0.st/oTcZ.txt
sorry im a noob i couldn't find relevant section myself here's the whole output of journalctl just after trying to start psd: http://0x0.st/oTcs.txt
i don't dual boot just arch linux pretty much vanilla fresh install
Last edited by parsody (2022-04-21 19:22:40)
Offline
Your session looks ok, but this escaped me:
sudo systemctl --user enable psd
Don't sudo this, the whole point of a user service is to be tied to your user, not the root.
Offline
damn im so stupid thanks a lot
Offline
In some circumstances, you may need to set it up in behalf of a given user, like this:
sudo runuser -l the_user_name -c "systemctl --user enable psd"
Offline
sudo can directly run as a different user
sudo -u user systemctl --user enable psd
In any case, closing this old thread.
Online
Pages: 1
Topic closed