You are not logged in.
Pages: 1
Hi guys,
I had this problem after I updated the system. I start the service again, and then it gives an error again.
I have some information to share, I have identified.
$ systemctl --all
● user@1000.service loaded failed failed User Manager for UID
The password is weird, it was not before.
$ systemctl reboot
Failed to set wall message, ignoring: Access denied
Failed to reboot system via logind: Access denied
Failed to start reboot.target: Access denied
See system logs and 'systemctl status reboot.target' for details.
$ echo $XDG_RUNTIME_DIR
$ echo $XDG_DATA_DIRS
/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
$ id
uid=1000(h454n) gid=100(users) groups=100(users)
What information do you need?
Last edited by h454n34 (2017-06-20 16:07:22)
Offline
Please post the system's pacman.log from the update that caused the issue onwards.
Offline
Do you have anything gnupg related in ~/.config/systemd/user/*
Offline
I did not find anything in the log, but I have a few more mistakes.
$ systemctl --user restart mpd
Failed to connect to bus: No such file or directory
● ARCH-DK
State: degraded
Jobs: 0 queued
Failed: 1 units
Since: Tue 2017-06-20 18:08:35 +03; 29min ago
CGroup: /
├─user.slice
│ └─user-1000.slice
│ └─session-c1.scope
│ ├─ 550 login -- h454n
│ ├─ 1144 /bin/sh /usr/bin/startx
│ ├─ 1166 xinit /home/h454n/.xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -auth /tmp/serverauth.74dMzZpuxY
│ ├─ 1167 /usr/lib/xorg-server/Xorg -nolisten tcp :0 vt1 -auth /tmp/serverauth.74dMzZpuxY
$ echo $DBUS_SESSION_BUS_ADDRESS
$ echo $XAUTHORITY
/home/h454n/.Xauthority
$ dbus-update-activation-environment --systemd --all
dbus-update-activation-environment: error: unable to connect to D-Bus: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
$ sudo systemctl --user import-environment
[sudo] password for h545n:
Failed to connect to bus: No such file or directory
$ echo $DISPLAY
:0
Last edited by h454n34 (2017-06-20 15:44:33)
Offline
Do you have anything gnupg related in ~/.config/systemd/user/*
Yes, I have some implementations.
$ ls ~/.config/systemd/user
default.target.wants/ mpd.service
default.target gpg-agent.service
Offline
get rid of gpg-agent.service, and if there's a symlink to it in default.target.wants, get rid of that, too.
Offline
get rid of gpg-agent.service, and if there's a symlink to it in default.target.wants, get rid of that, too.
Thanks @Scimmia. Problem solved.
It was not a problem in the past, but why he did it now?
I want to learn.
Last edited by h454n34 (2017-06-20 16:08:47)
Offline
It really shouldn't cause problems, but for some reason, it does.
Offline
It really shouldn't cause problems, but for some reason, it does.
Thanks for everything.
Now I understand better.
Offline
Pages: 1