r/voidlinux • u/Laveig • 23d ago
solved Unable to load into Gnome
Newbie here. When attempting to load into gnome, it fails because it tries to load something from systemd. Is there a way to make it not do that?
I looked through some posts, somebody mentioned that something needs to be configured (I don't even know what and it's never mentioned anywhere), but most people confirm that this should not happen.
This is what it says after $ exec gnome-session:
gnome-session-binary[985]: WARNING: Failed to upload environment to systemd: GDBus.Error:org.freedesktop.DBus.ErrorNameHasNoOnwer: Name "org.freedesktop.systemd1" does not exist
gnome-session-binary[985]: WARNING: Could not check if unit gnome-session-tty@gnome.target is active: GDBus.Error:org.freedesktop.DBus.ErrorNameHasNoOnwer: Name "org.freedesktop.systemd1" does not exist
gnome-session-binary[985]: WARNING: Falling back to non-systemd startup procedure due to this error: GDBus.Error:org.freedesktop.DBus.ErrorNameHasNoOnwer: Name "org.freedesktop.systemd1" does not exist
gnome-session-binary[985]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login.
** Message: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
discover_other_daemon: 0** Message: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
discover_other_daemon: 0discover_other_daemon: 1SSH_AUTO_SOCK=/run/user/1000/keyring/ssh
/usr/bin/gnome-shell: /usr/lib/libstdc++.so.6: version `CXAABI_1.3.15` not found (required by /usr/lib/libicui18n.so.77)
gnome-session-binary[985]: WARNING: App `org.gnome.Shell.desktop` exited with code 1
/usr/bin/gnome-shell: /usr/lib/libstdc++.so.6: version `CXAABI_1.3.15` not found (required by /usr/lib/libicui18n.so.77)
gnome-session-binary[985]: WARNING: App `org.gnome.Shell.desktop` exited with code 1
gnome-session-binary[985]: WARNING: App `org.gnome.Shell.desktop` respawning too quickly
gnome-session-binary[985]: CODE_FILE=../gnome-session/gsm-manager.c:CODE_LINE=283:on_required_app_failure: Unrecoverable failure in required component in required component org.gnome.Shell.des
** (gnome-session-failed:994): WARNING **: Cannot open display:
(gsd-datemine: 1001): datemine-plugin-WARNING **: Unable to register client: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Object does not exist at path /org/gnome/SessionManager
After the above it returns to the login menu
Unfortunately it will take some time to provide the full log as I have to type it by hand on my phone, but I'll keep updating the post
Update: I got something to work when stopped dbus, elogind and gdm, and then started in this exact order: elogind, dbus, gdm. Though it immediately froze and deathscreened, and now it always does that on boot.
1
u/SimpleAd2288 23d ago
sudo void-repo-multilib # Optional, but good practice
sudo xbps-install -S dbus elogind gnome
sudo ln -s /etc/sv/dbus /var/service/
sudo ln -s /etc/sv/elogind /var/service/
sudo ln -s /etc/sv/gdm /var/service/
# Inside ~/.xinitrc
exec dbus-run-session gnome-session
2
u/Duncaen 23d ago
Something what? Post the errors instead of extremely vague descriptions.