All desktop managers fail to login, hangs at Dell & Fedora logo, Fedora 34, GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer

,

I can login via ssh to all workstations but cannot use the GUI. The only related error I see is:

Gdm: GdmLocalDisplayFactory: Failed to issue method call: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer.

gdm-40.0-1.fc34.x86_64 kernel is 5.13.19-200.fc34.x86_64

GDM, KDM, XDM, LightDM, SDDM all fail. With XDM and KDM I at least get a login prompt but it fails with the white screen of doom and kicks back to the login screen. ctl-alt-f2 results in blinking cursor.

Some other errors from the journal:

Sep 30 16:36:53 ourdomain.edu systemd[1]: Started GNOME Display Manager.
Sep 30 16:36:53 ourdomain.edu systemd[1]: Received SIGRTMIN+21 from PID 421 (plymouthd).
Sep 30 16:36:53 ourdomain.edu dbus-broker-launch[2274]: Activation request for 'org.freedesktop.login1' failed.
Sep 30 16:36:53 ourdomain.edu systemd[1]: tmp-autoMl9z9k.mount: Deactivated successfully.
Sep 30 16:36:53 ourdomain.edu systemd[1]: Started Automounts filesystems on demand.
Sep 30 16:36:53 ourdomain.edu systemd[1]: Started Command Scheduler.
Sep 30 16:36:54 ourdomain.edu systemd[1]: tmp-autoDp56eM.mount: Deactivated successfully.

Sep 30 16:39:31 ourdomain.edu dbus-broker-launch[2274]: Activation request for 'org.freedesktop.login1' failed.
Sep 30 16:39:31 ourdomain.edu sshd[2879]: pam_systemd(sshd:session): Failed to create session: Could not activate remote peer.

Graphics card is: VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)

edit: from gnome-software --verbose

18:17:43:0599 dconf failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch=f1ab98d6b41846d4bf74abdf674203d0 --binary-syntax --close-stderr”: Child process exited with code 1
18:17:43:0600 Gs  Could not get session bus: Error spawning command line “d

not handling error no-security for action refresh: Failed to obtain authentication.

I found a work around to use LightDM and exclude the video driver from loading via the kernel:

  1. set nouveau.modeset=0 in /etc/default/grub and run grub2-mkconfig to regenerate
  2. Install LightDM along with lightdm-gtk-greeter as noted here.
  3. Create a new drop in file, e.g., /etc/systemd/system/lightdm.service.d/fixes.conf containing:
Type=dbus
RestartSec=10s
ExecStartPre=/bin/sleep 5

as suggested here.

  1. Disable GDM
  2. run systemctl daemon-reload
  3. Enable/start LightDM

I opened a bug here. Should I also submit one upstream?

2 Likes

edit: I also had to run/install lightdm-gtk-greeter-settings:
dnf install lightdm-gtk-greeter-settings