When I open a terminal or a new tab in the terminal, I have a piece of the log with the following content:
gnome-session-binary[14850]: WARNING: Failed to upload environment to systemd: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
gnome-session-binary[14850]: WARNING: Could not check if unit [email protected] is active: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.systemd1 was not provided by any .service files
gnome-session-binary[14850]: WARNING: Failed to reset failed state of units: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
gnome-session-binary[14850]: WARNING: Falling back to non-systemd startup procedure due to error: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
gnome-session-binary[14850]: WARNING: Desktop file /home/user/.config/autostart/plank.desktop for application plank.desktop could not be parsed or references a missing TryExec binary
~ ❯
And it doesn't matter which terminal I open, the problem is everywhere...
Before this problem appeared, I tried to start a wayland session via lightdm and edited only one line with
Exec= in the file
/usr/share/wayland-sessions/pantheon-wayland.desktop and that's it.
I have already deleted
pantheon-wayland and
/usr/share/wayland-sessions/pantheon-wayland.desktop but the problem is not solved. How can I remove this?
sudo pacman -Sy world/gnome-session
Well, now you have to be brave and patient, because it is your task to find and replace all packages from foreign repos with systemd as dependency.
After this (https://forum.artixlinux.org/index.php/topic,7774.0.html) news, I removed most of the system and installed all the necessary packages from Omniverse (priority in pacman.conf of artix repo), so they can't be on the system.
Strange, I installed pantheon from the omiverse repo.
The problem was in the line with
XDG_SESSION_TYPE:
#if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then
# exec startx
# dbus-launch --exit-with-session /usr/lib/gnome-session-binary --session=pantheon-wayland
XDG_SESSION_TYPE=wayland gnome-session --session=pantheon-wayland
#fi
which I simply forgot to comment out in
~/.zshrc after my experiments.