"A stop job is running for session 2 of user"

Stop job running on restart: Same in LTS and kernel 5.17.3-arch1-1

“journalctl -b -1 -p 2”
– No entries –

“journalctl -b -1 -p 5”

Apr 20 15:10:28 hassomspewta kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a26f5581-e26f-41d0-ac20-1ba04da40798 rw loglevel=3 nowatchdog nvme_load=YES nvidia-drm.modeset=1
Apr 20 15:10:28 hassomspewta kernel: Unknown kernel command line parameters "BOOT_IMAGE=/boot/vmlinuz-linux nvme_load=YES", will be passed to user space.
Apr 20 15:10:28 hassomspewta kernel: random: get_random_u64 called from __kmem_cache_create+0x2a/0x550 with crng_init=0
Apr 20 15:10:28 hassomspewta kernel: random: crng init done (trusting CPU's manufacturer)
Apr 20 15:10:28 hassomspewta kernel: audit: type=2000 audit(1650431424.146:1): state=initialized audit_enabled=0 res=1
Apr 20 15:10:28 hassomspewta kernel: ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
Apr 20 15:10:28 hassomspewta kernel: SCSI subsystem initialized
Apr 20 15:10:28 hassomspewta kernel: VFS: Disk quotas dquot_6.6.0
Apr 20 15:10:28 hassomspewta kernel: Initialise system trusted keyrings
Apr 20 15:10:28 hassomspewta kernel: Key type blacklist registered
Apr 20 15:10:28 hassomspewta kernel: Key type asymmetric registered
Apr 20 15:10:28 hassomspewta kernel: Asymmetric key parser 'x509' registered
Apr 20 15:10:28 hassomspewta kernel: Loading compiled-in X.509 certificates
Apr 20 15:10:28 hassomspewta kernel: Loaded X.509 cert 'Build time autogenerated kernel key: e41b103d992e7165164c88f6deb03f61f089d7db'
Apr 20 15:10:28 hassomspewta kernel: Key type ._fscrypt registered
Apr 20 15:10:28 hassomspewta kernel: Key type .fscrypt registered
Apr 20 15:10:28 hassomspewta kernel: Key type fscrypt-provisioning registered
Apr 20 15:10:28 hassomspewta kernel: ata2.00: supports DRM functions and may not be fully accessible
Apr 20 15:10:28 hassomspewta kernel: ata2.00: NCQ Send/Recv Log not supported
Apr 20 15:10:28 hassomspewta kernel: ata2.00: supports DRM functions and may not be fully accessible
Apr 20 15:10:28 hassomspewta kernel: ata2.00: NCQ Send/Recv Log not supported
Apr 20 15:10:28 hassomspewta kernel: scsi 1:0:0:0: Direct-Access     ATA      Samsung SSD 840  BB6Q PQ: 0 ANSI: 5
Apr 20 15:10:28 hassomspewta kernel: sd 1:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/112 GiB)
Apr 20 15:10:28 hassomspewta kernel: sd 1:0:0:0: [sda] Write Protect is off
Apr 20 15:10:28 hassomspewta kernel: sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
...skipping...
Apr 20 15:11:13 hassomspewta kdeconnectd[1372]: Qt: Session management error: Could not open network socket
Apr 20 15:11:13 hassomspewta kdeconnectd[1372]: The X11 connection broke: I/O error (code 1)
Apr 20 15:11:13 hassomspewta org.kde.kdeconnect[1372]: XIO:  fatal IO error 2 (No such file or directory) on X server ":0"
Apr 20 15:11:13 hassomspewta org.kde.kdeconnect[1372]:       after 196 requests (6 known processed) with 0 events remaining.
Apr 20 15:11:14 hassomspewta sddm[500]: Signal received: SIGTERM
Apr 20 15:11:14 hassomspewta sddm[500]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
Apr 20 15:11:27 hassomspewta systemd[1]: session-2.scope: Stopping timed out. Killing.
Apr 20 15:11:27 hassomspewta systemd[1]: session-2.scope: Killing process 733 (kded5) with signal SIGKILL.
Apr 20 15:11:27 hassomspewta systemd[1]: session-2.scope: Killing process 736 (kwin_x11) with signal SIGKILL.
Apr 20 15:11:27 hassomspewta systemd[1]: session-2.scope: Killing process 778 (kded5) with signal SIGKILL.
Apr 20 15:11:27 hassomspewta systemd[1]: session-2.scope: Killing process 796 (QQmlThread) with signal SIGKILL.
Apr 20 15:11:27 hassomspewta systemd[1]: session-2.scope: Failed with result 'timeout'.
Apr 20 15:11:27 hassomspewta systemd[682]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 service=[systemd-user] terminal=[] user=[hassom] ruser=[<unknown>] rhost=[<unknown>]
Apr 20 15:11:27 hassomspewta kernel: kauditd_printk_skb: 9 callbacks suppressed
Apr 20 15:11:27 hassomspewta kernel: audit: type=1131 audit(1650431487.791:130): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=?>
Apr 20 15:11:27 hassomspewta kernel: audit: type=1131 audit(1650431487.821:131): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-logind comm="systemd" exe="/usr/lib/systemd/systemd" hostn>
Apr 20 15:11:27 hassomspewta kernel: audit: type=1131 audit(1650431487.831:132): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@1000 comm="systemd" exe="/usr/lib/systemd/systemd>
Apr 20 15:11:27 hassomspewta kernel: audit: type=1131 audit(1650431487.834:133): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-user-sessions comm="systemd" exe="/usr/lib/systemd/systemd>
Apr 20 15:11:27 hassomspewta kernel: audit: type=1334 audit(1650431487.838:134): prog-id=0 op=UNLOAD
Apr 20 15:11:27 hassomspewta kernel: audit: type=1131 audit(1650431487.888:135): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-resolved comm="systemd" exe="/usr/lib/systemd/systemd" hos>
Apr 20 15:11:27 hassomspewta kernel: audit: type=1334 audit(1650431487.901:136): prog-id=0 op=UNLOAD
Apr 20 15:11:27 hassomspewta kernel: audit: type=1131 audit(1650431487.924:137): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager comm="systemd" exe="/usr/lib/systemd/systemd" hostn>
Apr 20 15:11:27 hassomspewta kernel: audit: type=1325 audit(1650431487.924:138): table=security family=2 entries=4 op=xt_replace pid=1501 comm="iptables-restor"
Apr 20 15:11:27 hassomspewta kernel: audit: type=1300 audit(1650431487.924:138): arch=c000003e syscall=54 success=yes exit=0 a0=4 a1=0 a2=40 a3=56520ae049c0 items=0 ppid=471 pid=1501 auid=4294967295 u>
Apr 20 15:11:27 hassomspewta polkitd[474]: Lost the name org.freedesktop.PolicyKit1 - exiting
Apr 20 15:11:28 hassomspewta systemd[1]: Shutting down.
lines 337-362/362 (END)```


"Bus 001 Device 002: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth" is the only usb device.

Logs [here](https://clbin.com/6LeBC)

Happens on every reboot!

Hi @Dasher56 ,

it’s a new installation?
i think you have a problem with the nvidia driver. try to change the driver, if the problem is solved, you know that the driver was the problem.

What is that supposed to do?

Especially since the kernel won’t acknowledge the parameter.

I would start be removing kdeconnect

I am fairly certain the is a configuration error.

Thanks for the reply,
Removed kdeconnect, stlill happening.
Removed sddm and installed sddm-git. About to reboot!

Well I believe Timeshift was the culprit!
I have snapshots saved to another partition an another drive. So I disabled scheduled snapshots, and installed from AUR, timeshift-autosnap. Have rebooted 5 times without a glitch. So maybe. Time will tell!!
Spoke too soon!
Seems the longer I’m on the desktop, reboot is fast without no text. Where as if I
reboot within 5-10 mins I get “start job running for user”
So very strange!

1 Like

In the end I gave up. Found a script in archlinux forums from a fair way back.


pacman -Q | awk '{ print $1 }' > installed.tmp
for i in $(pacman -Qm | awk '{ print $1 }'); do
    cat installed.tmp | sed "s/^$i\$//;" > installed.tmp.1
    mv installed.tmp.1 installed.tmp
done
pacman -S --noconfirm `cat installed.tmp`
rm installed.tmp```

Worked great !
Have rebooted 10 times 
Everything back to normal, just like a new install.
Thanks to all for your time.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.