You are not logged in.
It's not a ssh connection a normal terminal session with alacritty
[morta@lapt0p ~]$ su mpd
Passwort:
[mpd@lapt0p morta]$ loginctl show-session $XDG_SESSION_ID
Id=1
User=1000
Name=morta
Timestamp=Mon 2024-06-24 08:43:06 CEST
TimestampMonotonic=47755199
VTNr=2
Seat=seat0
TTY=tty2
Remote=no
Service=gdm-autologin
Scope=session-1.scope
Leader=993
Audit=1
Type=wayland
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
LockedHint=no
[mpd@lapt0p morta]$ systemctl enable --user mpd.service
Failed to connect to bus: Keine Berechtigung
Why?
Offline
It's have also no folder systemd under .config
Offline
Because a su is not a session switch in the general sense. Do not switch to the MPD user, use your normal session user (morta) and then follow the configuration information in: https://wiki.archlinux.org/title/Music_ … figuration
Offline