You are not logged in.

#1 2021-11-21 13:37:29

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

[SOLVED]"A stop job is running for simple desktop display"

I previously autostarted/autologged in Plasma/X11 from console: https://wiki.archlinux.org/title/KDE#From_the_console / https://wiki.archlinux.org/title/Xinit# … X_at_login
But I want to try Plasma/Wayland and if I enter from the console, the screen detection does not work well and the desktop is displayed in a quarter screen. So I activated SDDM to enter Plasma/Wayland and this way it works well, but the problem is that when I restart or shut down the computer SDDM does not exit cleanly.
This is the last output lines of journalctl:

$ journalctl -b -1 --no-pager
....
nov 21 14:16:37 juan-PC systemd[1654]: Removed slice User Application Slice.
nov 21 14:16:37 juan-PC systemd[1654]: Reached target Shutdown.
nov 21 14:16:37 juan-PC systemd[1654]: Finished Exit the Session.
nov 21 14:16:37 juan-PC systemd[1654]: Reached target Exit the Session.
nov 21 14:16:37 juan-PC systemd[1658]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 service=[systemd-user] terminal=[] user=[juan] ruser=[<unknown>] rhost=[<unknown>]
nov 21 14:16:37 juan-PC systemd[1]: user@1000.service: Deactivated successfully.
nov 21 14:16:37 juan-PC systemd[1]: Stopped User Manager for UID 1000.
nov 21 14:16:37 juan-PC systemd[1]: Stopping User Runtime Directory /run/user/1000...
nov 21 14:16:37 juan-PC systemd[1]: run-user-1000.mount: Deactivated successfully.
nov 21 14:16:37 juan-PC systemd[1]: Unmounted /run/user/1000.
nov 21 14:16:37 juan-PC systemd[1]: user-runtime-dir@1000.service: Deactivated successfully.
nov 21 14:16:37 juan-PC systemd[1]: Stopped User Runtime Directory /run/user/1000.
nov 21 14:16:37 juan-PC systemd[1]: Removed slice User Slice of UID 1000.
nov 21 14:16:37 juan-PC systemd[1]: user-1000.slice: Consumed 46.025s CPU time.
nov 21 14:17:05 juan-PC systemd[1]: sddm.service: State 'stop-sigterm' timed out. Killing.
nov 21 14:17:05 juan-PC systemd[1]: sddm.service: Killing process 1329 (sddm) with signal SIGKILL.
nov 21 14:17:05 juan-PC systemd[1]: sddm.service: Killing process 2905 (Xorg) with signal SIGKILL.
nov 21 14:17:05 juan-PC systemd[1]: sddm.service: Main process exited, code=killed, status=9/KILL
nov 21 14:17:05 juan-PC systemd[1]: sddm.service: Failed with result 'timeout'.
nov 21 14:17:05 juan-PC systemd[1]: Stopped Simple Desktop Display Manager.
nov 21 14:17:05 juan-PC systemd[1]: Stopping User Login Management...
nov 21 14:17:05 juan-PC systemd[1]: Stopping Permit User Sessions...
nov 21 14:17:05 juan-PC systemd[1]: systemd-user-sessions.service: Deactivated successfully.
nov 21 14:17:05 juan-PC systemd[1]: Stopped Permit User Sessions.
nov 21 14:17:05 juan-PC systemd[1]: Stopped target Network.
nov 21 14:17:05 juan-PC systemd[1]: Stopped target Remote File Systems.
nov 21 14:17:05 juan-PC systemd[1]: Stopping Network Manager...
nov 21 14:17:05 juan-PC NetworkManager[1306]: <info>  [1637500625.9585] caught SIGTERM, shutting down normally.
nov 21 14:17:05 juan-PC NetworkManager[1306]: <info>  [1637500625.9720] dhcp4 (Internet): canceled DHCP transaction
nov 21 14:17:05 juan-PC NetworkManager[1306]: <info>  [1637500625.9721] dhcp4 (Internet): state changed bound -> terminated
nov 21 14:17:05 juan-PC NetworkManager[1306]: <info>  [1637500625.9722] manager: NetworkManager state is now CONNECTED_SITE
nov 21 14:17:05 juan-PC dbus-daemon[1288]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.4' (uid=0 pid=1306 comm="/usr/bin/NetworkManager --no-daemon ")
nov 21 14:17:05 juan-PC dbus-daemon[1288]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.nm-dispatcher.service': Refusing activation, D-Bus is shutting down.
nov 21 14:17:05 juan-PC systemd[1]: systemd-logind.service: Deactivated successfully.
nov 21 14:17:05 juan-PC systemd[1]: Stopped User Login Management.
nov 21 14:17:05 juan-PC NetworkManager[1306]: <info>  [1637500625.9827] exiting (success)
nov 21 14:17:05 juan-PC systemd[1]: NetworkManager.service: Deactivated successfully.
nov 21 14:17:05 juan-PC systemd[1]: NetworkManager.service: Unit process 2107 (dnsmasq) remains running after unit stopped.
nov 21 14:17:05 juan-PC systemd[1]: Stopped Network Manager.
nov 21 14:17:05 juan-PC systemd[1]: Stopped target Preparation for Network.
nov 21 14:17:05 juan-PC systemd[1]: Stopping D-Bus System Message Bus...
nov 21 14:17:05 juan-PC kernel: dnsmasq[2107]: segfault at 561a73e1f765 ip 00007f3033ef07f5 sp 00007ffde4493698 error 4 in libdbus-1.so.3.19.13[7f3033ece000+2f000]
nov 21 14:17:05 juan-PC kernel: Code: 48 8b 73 20 48 89 ef ff d0 48 83 c4 08 48 89 ef 5b 5d ff 25 75 34 02 00 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 85 ff 74 0b <0f> b6 47 38 83 e0 01 c3 0f1f 00 48 83 ec 08 b9 c1 02 00 00 48 8d
nov 21 14:17:05 juan-PC systemd[1]: Stopping IPv4 Packet Filtering Framework...
nov 21 14:17:06 juan-PC systemd[1]: dbus.service: Deactivated successfully.
nov 21 14:17:06 juan-PC systemd[1]: Stopped D-Bus System Message Bus.
nov 21 14:17:06 juan-PC systemd-coredump[3008]: Failed to connect to coredump service: Connection refused
nov 21 14:17:06 juan-PC systemd[1]: iptables.service: Deactivated successfully.
nov 21 14:17:06 juan-PC systemd[1]: Stopped IPv4 Packet Filtering Framework.
nov 21 14:17:06 juan-PC systemd[1]: Stopped target Basic System.
nov 21 14:17:06 juan-PC systemd[1]: Stopped target Path Units.
nov 21 14:17:06 juan-PC systemd[1]: Stopped target Slice Units.
nov 21 14:17:06 juan-PC systemd[1]: Removed slice User and Session Slice.
nov 21 14:17:06 juan-PC systemd[1]: user.slice: Consumed 47.524s CPU time.
nov 21 14:17:06 juan-PC systemd[1]: Stopped target Socket Units.
nov 21 14:17:06 juan-PC systemd[1]: avahi-daemon.socket: Deactivated successfully.
nov 21 14:17:06 juan-PC systemd[1]: Closed Avahi mDNS/DNS-SD Stack Activation Socket.
nov 21 14:17:06 juan-PC systemd[1]: cups.socket: Deactivated successfully.
nov 21 14:17:06 juan-PC systemd[1]: Closed CUPS Scheduler.
nov 21 14:17:06 juan-PC systemd[1]: dbus.socket: Deactivated successfully.
nov 21 14:17:06 juan-PC systemd[1]: Closed D-Bus System Message Bus Socket.
nov 21 14:17:06 juan-PC systemd[1]: Stopped target System Initialization.
nov 21 14:17:06 juan-PC systemd[1]: proc-sys-fs-binfmt_misc.automount: Deactivated successfully.
nov 21 14:17:06 juan-PC systemd[1]: Unset automount Arbitrary Executable File Formats File System Automount Point.
nov 21 14:17:06 juan-PC systemd[1]: Stopped target Local Encrypted Volumes.
nov 21 14:17:06 juan-PC systemd[1]: systemd-ask-password-console.path: Deactivated successfully.
nov 21 14:17:06 juan-PC systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.
nov 21 14:17:06 juan-PC systemd[1]: systemd-ask-password-wall.path: Deactivated successfully.
nov 21 14:17:06 juan-PC systemd[1]: Stopped Forward Password Requests to Wall Directory Watch.
nov 21 14:17:06 juan-PC systemd[1]: Stopped target Local Verity Protected Volumes.
nov 21 14:17:06 juan-PC systemd[1]: systemd-sysctl.service: Deactivated successfully.
nov 21 14:17:06 juan-PC systemd[1]: Stopped Apply Kernel Variables.
nov 21 14:17:06 juan-PC systemd[1]: systemd-modules-load.service: Deactivated successfully.
nov 21 14:17:06 juan-PC systemd[1]: Stopped Load Kernel Modules.
nov 21 14:17:06 juan-PC systemd[1]: Stopping Network Time Synchronization...
nov 21 14:17:06 juan-PC systemd[1]: Stopping Record System Boot/Shutdown in UTMP...
nov 21 14:17:06 juan-PC systemd[1]: systemd-timesyncd.service: Deactivated successfully.
nov 21 14:17:06 juan-PC systemd[1]: Stopped Network Time Synchronization.
nov 21 14:17:06 juan-PC systemd[1]: systemd-update-utmp.service: Deactivated successfully.
nov 21 14:17:06 juan-PC systemd[1]: Stopped Record System Boot/Shutdown in UTMP.
nov 21 14:17:06 juan-PC systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully.
nov 21 14:17:06 juan-PC systemd[1]: Stopped Create Volatile Files and Directories.
nov 21 14:17:06 juan-PC systemd[1]: Stopped target Local File Systems.
nov 21 14:17:06 juan-PC systemd[1]: Unmounting /boot...
nov 21 14:17:06 juan-PC systemd[1]: Unmounting /home/juan/.cache...
nov 21 14:17:06 juan-PC systemd[1]: Unmounting /multimedia...
nov 21 14:17:06 juan-PC systemd[1]: Unmounting Temporary Directory /tmp...
nov 21 14:17:06 juan-PC systemd[1]: boot.mount: Deactivated successfully.
nov 21 14:17:06 juan-PC systemd[1]: Unmounted /boot.
nov 21 14:17:06 juan-PC systemd[1]: home-juan-.cache.mount: Deactivated successfully.
nov 21 14:17:06 juan-PC systemd[1]: Unmounted /home/juan/.cache.
nov 21 14:17:06 juan-PC systemd[1]: tmp.mount: Deactivated successfully.
nov 21 14:17:06 juan-PC systemd[1]: Unmounted Temporary Directory /tmp.
nov 21 14:17:06 juan-PC systemd[1]: Stopped target Swaps.
nov 21 14:17:06 juan-PC systemd[1]: systemd-fsck@dev-disk-by\x2duuid-A0BA\x2d6372.service: Deactivated successfully.
nov 21 14:17:06 juan-PC systemd[1]: Stopped File System Check on /dev/disk/by-uuid/A0BA-6372.
nov 21 14:17:06 juan-PC systemd[1]: Removed slice Slice /system/systemd-fsck.
nov 21 14:17:07 juan-PC systemd[1]: multimedia.mount: Deactivated successfully.
nov 21 14:17:07 juan-PC systemd[1]: Unmounted /multimedia.
nov 21 14:17:07 juan-PC systemd[1]: Stopped target Preparation for Local File Systems.
nov 21 14:17:07 juan-PC systemd[1]: Reached target Unmount All Filesystems.
nov 21 14:17:07 juan-PC systemd[1]: Stopping Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
nov 21 14:17:07 juan-PC systemd[1]: systemd-remount-fs.service: Deactivated successfully.
nov 21 14:17:07 juan-PC systemd[1]: Stopped Remount Root and Kernel File Systems.
nov 21 14:17:07 juan-PC systemd[1]: systemd-fsck-root.service: Deactivated successfully.
nov 21 14:17:07 juan-PC systemd[1]: Stopped File System Check on Root Device.
nov 21 14:17:07 juan-PC systemd[1]: systemd-tmpfiles-setup-dev.service: Deactivated successfully.
nov 21 14:17:07 juan-PC systemd[1]: Stopped Create Static Device Nodes in /dev.
nov 21 14:17:07 juan-PC systemd[1]: lvm2-monitor.service: Deactivated successfully.
nov 21 14:17:07 juan-PC systemd[1]: Stopped Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
nov 21 14:17:07 juan-PC systemd[1]: Reached target System Shutdown.
nov 21 14:17:07 juan-PC systemd[1]: Reached target Late Shutdown Services.
nov 21 14:17:07 juan-PC systemd[1]: systemd-reboot.service: Deactivated successfully.
nov 21 14:17:07 juan-PC systemd[1]: Finished System Reboot.
nov 21 14:17:07 juan-PC systemd[1]: Reached target System Reboot.
nov 21 14:17:07 juan-PC systemd[1]: Shutting down.
nov 21 14:17:07 juan-PC systemd-shutdown[1]: Syncing filesystems and block devices.
nov 21 14:17:07 juan-PC systemd-shutdown[1]: Sending SIGTERM to remaining processes...
nov 21 14:17:07 juan-PC systemd-journald[874]: Journal stopped

I have done a search but I can't find anything clear.
So I have 2 questions: is there a solution to this SDDM problem? Is there a way to autostart / autologin from console to log into Plasma/Wayland correctly?

Last edited by j1simon (2021-11-21 14:34:41)

Offline

#2 2021-11-21 14:36:21

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [SOLVED]"A stop job is running for simple desktop display"

The failure with SDDM is still occurring but I have already solved the way to enter from console directly. So I dispense with the use of SDDM.

Offline

Board footer

Powered by FluxBB