You are not logged in.

#1 2023-09-18 12:17:43

KGS9
Member
Registered: 2023-09-18
Posts: 4

"Failed to connect to bus: No medium found" in systemctl --user

I install pipewire  pipewire-pulse, and  follow wiki to enable the service with

systemctl --now enable pipewire --user
systemctl --now enable pipewire-pulse --user

I get this message

Failed to connect to bus: No medium found

the $DBUS_SESSION_BUS_ADDRESS is "unix:path=/run/user/1000/bus", i think that's important

Offline

#2 2023-09-18 12:21:54

KGS9
Member
Registered: 2023-09-18
Posts: 4

Re: "Failed to connect to bus: No medium found" in systemctl --user

And i try other use ""systemctl --user" command
e.g.

systemctl --user list-units
systemctl --user status
systemctl --user show

there all give me

Failed to connect to bus: No medium found

Offline

#3 2023-09-18 15:36:04

seth
Member
Registered: 2012-09-03
Posts: 42,594

Re: "Failed to connect to bus: No medium found" in systemctl --user

(dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames; loginctl session-status; ps fax) | curl -F 'file=@-' 0x0.st

Offline

#4 2023-09-19 02:44:55

KGS9
Member
Registered: 2023-09-18
Posts: 4

Re: "Failed to connect to bus: No medium found" in systemctl --user

seth wrote:
(dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames; loginctl session-status; ps fax) | curl -F 'file=@-' 0x0.st

http://0x0.st/HOp_.txt

Offline

#5 2023-09-19 06:46:47

seth
Member
Registered: 2012-09-03
Posts: 42,594

Re: "Failed to connect to bus: No medium found" in systemctl --user

You can talk to the session daemon and there's no dbus-launch eating your lunch.
Please post your ~/.xinitrc for the usual suspect (and you can also try to cut out greetd and log into agetty and startx from there, assuming your xinitrc is fine)

Offline

#6 2023-09-19 10:13:47

KGS9
Member
Registered: 2023-09-18
Posts: 4

Re: "Failed to connect to bus: No medium found" in systemctl --user

seth wrote:

You can talk to the session daemon and there's no dbus-launch eating your lunch.
Please post your ~/.xinitrc for the usual suspect (and you can also try to cut out greetd and log into agetty and startx from there, assuming your xinitrc is fine)

I think that's greetd problem, because my xinitrc has only two row

export LANG=zh_CN.UTF-8
exec awesome

but... why is that?

Offline

#7 2023-09-19 11:57:56

seth
Member
Registered: 2012-09-03
Posts: 42,594

Re: "Failed to connect to bus: No medium found" in systemctl --user

Last link below, pay attention to what parts from the default xinitrc to incorporate at least.
You might also want to re-use the TTY (as described in the xserverrc section on the same page)

Offline

Board footer

Powered by FluxBB