After 0113 update, kde gets stuck in the login screen

After 0113 update, when I try to log in at the login screen (sdde), the kde tries to load the desktop environment (a black screen with an icon indicating loading in the center) and fails, just goes back to the login screen. I tried several times with different sdde but never succeeded in loading the kde environment.

I’m very sure this problem is related to the dbus-broker, because I once installed the dbus-broker manually before and encountered the same problem. Any help on how to solve it?

Install the other option and check if it works for you.

Is there any way to open a tty at the sdde screen, just like press Ctrl-Alt-F3 in the normal desktop? I think some journald logging info may be helpful to locate the problem.

On boot press ESC to enter Grub Menu. Select the target entry and press E to edit. Search for splash and quiet. Remove those and add 3. Press combo CTRL+X to boot your system. You will land in a TTY. Install dbus-daemon-units and reboot your system. Pressing Ctrl-Alt-F3 should normally also work in SDDM.

Yes, it works just the same. The ttys are virtual consoles and are provided by the kernel, not by the desktop environment.

I use timeshift to revert the 0113 update and can log in DE normally. However, at the SDDM, I press Ctrl-Alt-F3 but nothing happens. Is there some settings needed to enable it?

No, switching to a tty should always work. :man_shrugging:

After I change a SDDM, it does work, thank you. A related question, how to start KDE plasma in a tty? I try startx but it does not work.

The command will normally be startplasma-x11 or startplasma-wayland, depending on which display server protocol you normally use.

I try it on a tty (with a plasma de on anther tty).

startplasma-x11 tells me $DISPLAY is not set or cannot connect to the X server.

With $DISPLAY=:0; startplasma-x11, I get the same result.

After installing the dbus-daemon-units via a livecd, the plasma DE is loaded normally.

I look through the journald logging for the failed dbus-broker-units trial. It seems the following part of log is rather suspicious.

Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Started teaching-sync.sh.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Started Snap user application autostart helper.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Failed to put bus name to hashmap: File exists
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: dde-session@x11.service: Two services allocated for the same bus name org.kde.KWin, refusing operation.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Failed to put bus name to hashmap: File exists
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: dde-session@wayland.service: Two services allocated for the same bus name org.kde.KWinWrapper, refusing operation.
Jan 16 20:30:11 xiangsheng-pc teaching-sync.sh[1623]: Setting up watches.  Beware: since -r was given, this may take a while!
Jan 16 20:30:11 xiangsheng-pc kaccess[1605]: Xlib XKB extension major= 1  minor= 0
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: app-print\x2dapplet@autostart.service: Skipped due to 'exec-condition'.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Condition check resulted in Print Queue Applet being skipped.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Finished KSplash "ready" Stage.
Jan 16 20:30:11 xiangsheng-pc systemd[1]: Started Network Manager Script Dispatcher Service.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Finished KDE Session Restoration.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: app-klipper@autostart.service: Skipped due to 'exec-condition'.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Condition check resulted in Klipper being skipped.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Started Calendar Reminders.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Started xapp-sn-watcher.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Started PulseAudio Sound System.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Started Discover.
Jan 16 20:30:11 xiangsheng-pc NetworkManager[929]: <info>  [1705408211.8095] device (wlp3s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Jan 16 20:30:11 xiangsheng-pc NetworkManager[929]: <info>  [1705408211.8098] device (wlp3s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Jan 16 20:30:11 xiangsheng-pc NetworkManager[929]: <info>  [1705408211.8103] manager: NetworkManager state is now CONNECTED_SITE
Jan 16 20:30:11 xiangsheng-pc NetworkManager[929]: <info>  [1705408211.8119] device (wlp3s0): Activation: successful, device activated.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Failed to put bus name to hashmap: File exists
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: dde-session@x11.service: Two services allocated for the same bus name org.kde.KWin, refusing operation.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Failed to put bus name to hashmap: File exists
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: dde-session@wayland.service: Two services allocated for the same bus name org.kde.KWinWrapper, refusing operation.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: dde-session-pre target, tasks to be run before the deepin desktop environment is initialized. is inactive.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Dependency failed for dde-osd service.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Dependency failed for dde-osd target.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: dde-osd.target: Job dde-osd.target/start failed with result 'dependency'.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: dde-osd.service: Job dde-osd.service/start failed with result 'dependency'.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: dde-session-initialized.target: Job dde-session-initialized.target/verify-active failed with result 'dependency'.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: dde-session-initialized.target: Triggering OnFailure= dependencies.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Stopped target plasma-workspace-x11.target.
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Stopping Clash for Windows...
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Stopping Fcitx...
Jan 16 20:30:11 xiangsheng-pc systemd[1104]: Stopping Geoclue Demo agent...

As I understand, this log says that the kwin service failed to start due to the existence of another DE, i.e. dde or deepin de. In fact, I don’t know why another DE exists in my system. I only use KDE. Anyway, this extra DE never causes any problem before and I just ignored it.

So, can you confirm that dbus-broker-units has prevented your system to properly boot? If so, can I kindly ask you to report this bug on upstream? Here: Issues · bus1/dbus-broker · GitHub

Submitted.

2 Likes