You are not logged in.

#1 2022-04-21 10:48:33

parsody
Member
Registered: 2022-04-21
Posts: 32

[SOLVED]"failed to connect to bus : no medium found" (psd)

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

#2 2022-04-21 18:43:13

seth
Member
Registered: 2012-09-03
Posts: 51,508

Re: [SOLVED]"failed to connect to bus : no medium found" (psd)

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

#3 2022-04-21 19:07:51

parsody
Member
Registered: 2022-04-21
Posts: 32

Re: [SOLVED]"failed to connect to bus : no medium found" (psd)

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

#4 2022-04-21 19:23:46

seth
Member
Registered: 2012-09-03
Posts: 51,508

Re: [SOLVED]"failed to connect to bus : no medium found" (psd)

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

#5 2022-04-21 19:25:14

parsody
Member
Registered: 2022-04-21
Posts: 32

Re: [SOLVED]"failed to connect to bus : no medium found" (psd)

damn im so stupid thanks a lot

Offline

Board footer

Powered by FluxBB