Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: Worm_Jim on 21 May 2025, 10:18:33

Title: Part of the log in the terminal
Post by: Worm_Jim on 21 May 2025, 10:18:33
When I open a terminal or a new tab in the terminal, I have a piece of the log with the following content:

Code: [Select]
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?
Title: Re: Part of the log in the terminal
Post by: lq on 21 May 2025, 11:51:22

Code: [Select]
sudo pacman -Sy world/gnome-session
Title: Re: Part of the log in the terminal
Post by: Worm_Jim on 21 May 2025, 12:05:19
No, it didn't work...
Title: Re: Part of the log in the terminal
Post by: lq on 21 May 2025, 12:28:40

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.
Title: Re: Part of the log in the terminal
Post by: Worm_Jim on 21 May 2025, 14:45:27
No, it didn't work...

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.
Title: Re: Part of the log in the terminal
Post by: lq on 21 May 2025, 21:57:09
Strange, I installed pantheon from the omiverse repo.

Title: Re: Part of the log in the terminal
Post by: Worm_Jim on 29 May 2025, 05:23:37
The problem was in the line with XDG_SESSION_TYPE:

Code: [Select]
#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.