I have my home directory on a separate disk. I logged out of my user account, and logged into my root account to do a fs check on the home account disk. However, even though I definitely am logged out, the disk could not be unmounted because a range of processes are still running there using my home account credentials.
How do I get Manjaro to stop all processes when I log out? Shouldn’t it be doing that by default?
The processes are these:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1088 alicia 20 0 20872 12228 9600 S 0.0 0.1 0:01.02 systemd
1089 alicia 20 0 172844 3904 48 S 0.0 0.0 0:00.00 (sd-pam)
1098 alicia 20 0 313264 11628 8684 S 0.0 0.1 0:00.16 gnome-keyring-d
1103 alicia 20 0 9800 5600 4368 S 0.0 0.0 0:01.32 dbus-daemon
1120 alicia 20 0 317064 13368 7988 S 0.0 0.1 0:00.12 gvfsd
1220 alicia 20 0 581876 17624 12660 S 0.0 0.1 0:01.23 gvfs-udisks2-vo
1246 alicia 20 0 229524 5468 4808 S 0.0 0.0 0:00.02 dconf-service
1374 alicia 20 0 308624 8440 5680 S 0.0 0.1 0:00.05 gvfs-gphoto2-vo
1379 alicia 20 0 306300 8212 5668 S 0.0 0.1 0:00.03 gvfs-goa-volume
1384 alicia 20 0 785352 42992 31564 S 0.0 0.3 0:00.20 goa-daemon
1392 alicia 20 0 385808 10792 7828 S 0.0 0.1 0:00.08 goa-identity-se
1399 alicia 20 0 386864 12228 7168 S 0.0 0.1 0:00.16 gvfs-afc-volume
1405 alicia 20 0 306580 7608 4960 S 0.0 0.0 0:00.05 gvfs-mtp-volume
1410 alicia 20 0 233248 8420 5640 S 0.0 0.1 0:00.69 gvfsd-metadata
1469 alicia 20 0 383552 9568 5008 S 0.0 0.1 0:00.01 agent
1497 alicia 20 0 827204 19896 12840 S 0.0 0.1 0:00.27 xdg-desktop-por
1539 alicia 20 0 305984 6920 4504 S 0.0 0.0 0:00.01 xdg-permission-
1550 alicia 20 0 380556 8584 5896 S 0.0 0.1 0:00.06 xdg-desktop-por
1587 alicia 9 -11 106004 7644 6244 S 0.0 0.0 0:00.07 pipewire
1612 alicia 20 0 391184 12072 8604 S 0.0 0.1 0:00.11 gvfsd-trash
8323 alicia 20 0 309820 7576 5072 S 0.0 0.0 0:00.00 agent
9041 alicia 20 0 465412 12292 8948 S 0.0 0.1 0:00.05 gvfsd-network
9058 alicia 20 0 393620 12284 8908 S 0.0 0.1 0:00.05 gvfsd-dnssd