You are not logged in.
I've been running Arch with KDE Wayland for quite a while.
echo $XDG_SESSION_TYPE
wayland
env | grep -i wayland
DESKTOP_SESSION=plasmawayland
XDG_SESSION_TYPE=wayland
WAYLAND_DISPLAY=wayland-0
QT_WAYLAND_FORCE_DPI=96
MOZ_ENABLE_WAYLAND=1
I created /etc/sddm.conf.d/10-wayland.conf as suggested by the wiki:
[General]
DisplayServer=wayland
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell
[Wayland]
CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1
But sddm is still running as root:
ps aux | grep sddm
root 20610 0.0 0.1 153844 24580 ? S<sl 17:47 0:00 /usr/bin/sddm
root 20687 0.0 0.1 77548 23156 ? S< 17:47 0:00 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth-c206e0a9-a6cb-4d50-91e1-2cc29d570670 --id 1 --start /usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland --user charly
What am I missing? Any suggestions?
Last edited by adventurer (2023-11-22 16:08:05)
Offline
Does sddm end up running
1. kwin_wayland
2. as root?
https://man.archlinux.org/man/sddm.conf … layServer= suggests it's gonna run "Wayland compositor as unprivileged user.", not the daemon itself?
Offline
kwin_wayland is running as user:
ps aux | grep kwin
charly 7338 0.0 0.1 162072 23996 ? S<sl 11:20 0:00 /usr/bin/kwin_wayland_wrapper --xwayland
charly 7376 2.7 1.2 1897168 200920 ? R<l 11:20 0:02 /bin/kwin_wayland --wayland-fd 7 --socket wayland-0 --xwayland-fd 8 --xwayland-fd 9 --xwayland-display :0 --xwayland-xauthority /run/user/1000/xauth_zlmrIE --xwayland
Offline
I'd expected sddm to run it as "sddm", not charly…
ps fax
Offline
Here we are:
PID TTY STAT TIME COMMAND
2 ? S 0:00 [kthreadd]
3 ? S 0:00 \_ [pool_workqueue_release]
4 ? I< 0:00 \_ [kworker/R-rcu_g]
5 ? I< 0:00 \_ [kworker/R-rcu_p]
6 ? I< 0:00 \_ [kworker/R-slub_]
7 ? I< 0:00 \_ [kworker/R-netns]
8 ? I 0:00 \_ [kworker/0:0-events]
9 ? I< 0:00 \_ [kworker/0:0H-events_highpri]
10 ? I 0:00 \_ [kworker/0:1-events]
11 ? I 0:00 \_ [kworker/u16:0-btrfs-endio-write]
12 ? I< 0:00 \_ [kworker/R-mm_pe]
13 ? I 0:00 \_ [kworker/u16:1-events_unbound]
14 ? I 0:00 \_ [rcu_tasks_kthread]
15 ? I 0:00 \_ [rcu_tasks_rude_kthread]
16 ? I 0:00 \_ [rcu_tasks_trace_kthread]
17 ? S 0:00 \_ [ksoftirqd/0]
18 ? I 0:00 \_ [rcu_preempt]
19 ? S 0:00 \_ [rcub/0]
20 ? S 0:00 \_ [migration/0]
21 ? S 0:00 \_ [idle_inject/0]
22 ? S 0:00 \_ [cpuhp/0]
23 ? S 0:00 \_ [cpuhp/1]
24 ? S 0:00 \_ [idle_inject/1]
25 ? S 0:00 \_ [migration/1]
26 ? S 0:00 \_ [ksoftirqd/1]
27 ? I 0:00 \_ [kworker/1:0-events]
28 ? I< 0:00 \_ [kworker/1:0H-events_highpri]
29 ? S 0:00 \_ [cpuhp/2]
30 ? S 0:00 \_ [idle_inject/2]
31 ? S 0:00 \_ [migration/2]
32 ? S 0:00 \_ [ksoftirqd/2]
33 ? I 0:00 \_ [kworker/2:0-events]
34 ? I< 0:00 \_ [kworker/2:0H-kblockd]
35 ? S 0:00 \_ [cpuhp/3]
36 ? S 0:00 \_ [idle_inject/3]
37 ? S 0:00 \_ [migration/3]
38 ? S 0:00 \_ [ksoftirqd/3]
39 ? I 0:00 \_ [kworker/3:0-events]
40 ? I< 0:00 \_ [kworker/3:0H-events_highpri]
41 ? S 0:00 \_ [cpuhp/4]
42 ? S 0:00 \_ [idle_inject/4]
43 ? S 0:00 \_ [migration/4]
44 ? S 0:00 \_ [ksoftirqd/4]
45 ? I 0:00 \_ [kworker/4:0-slub_flushwq]
46 ? I< 0:00 \_ [kworker/4:0H-events_highpri]
47 ? S 0:00 \_ [cpuhp/5]
48 ? S 0:00 \_ [idle_inject/5]
49 ? S 0:00 \_ [migration/5]
50 ? S 0:00 \_ [ksoftirqd/5]
51 ? I 0:00 \_ [kworker/5:0-events]
52 ? I< 0:00 \_ [kworker/5:0H-kblockd]
53 ? S 0:00 \_ [cpuhp/6]
54 ? S 0:00 \_ [idle_inject/6]
55 ? S 0:00 \_ [migration/6]
56 ? S 0:00 \_ [ksoftirqd/6]
57 ? I 0:00 \_ [kworker/6:0-events]
58 ? I< 0:00 \_ [kworker/6:0H-events_highpri]
59 ? S 0:00 \_ [cpuhp/7]
60 ? S 0:00 \_ [idle_inject/7]
61 ? S 0:00 \_ [migration/7]
62 ? S 0:00 \_ [ksoftirqd/7]
63 ? I 0:00 \_ [kworker/7:0-events]
64 ? I< 0:00 \_ [kworker/7:0H-events_highpri]
65 ? S 0:00 \_ [kdevtmpfs]
66 ? I< 0:00 \_ [kworker/R-inet_]
67 ? S 0:00 \_ [kauditd]
68 ? S 0:00 \_ [khungtaskd]
69 ? S 0:00 \_ [oom_reaper]
70 ? I 0:00 \_ [kworker/u16:2-btrfs-endio-meta]
71 ? I< 0:00 \_ [kworker/R-write]
72 ? S 0:00 \_ [kcompactd0]
73 ? SN 0:00 \_ [ksmd]
74 ? I 0:00 \_ [kworker/1:1]
75 ? SN 0:00 \_ [khugepaged]
76 ? I< 0:00 \_ [kworker/R-kinte]
77 ? I< 0:00 \_ [kworker/R-kbloc]
78 ? I< 0:00 \_ [kworker/R-blkcg]
79 ? I 0:00 \_ [kworker/4:1-cgroup_destroy]
80 ? I< 0:00 \_ [kworker/R-tpm_d]
81 ? I< 0:00 \_ [kworker/R-ata_s]
82 ? I< 0:00 \_ [kworker/R-edac-]
83 ? I< 0:00 \_ [kworker/R-devfr]
84 ? S 0:00 \_ [watchdogd]
85 ? I 0:00 \_ [kworker/2:1-cgroup_destroy]
86 ? I< 0:00 \_ [kworker/5:1H-kblockd]
87 ? I 0:00 \_ [kworker/5:1-events]
88 ? S 0:00 \_ [kswapd0]
89 ? I< 0:00 \_ [kworker/R-kthro]
90 ? I 0:00 \_ [kworker/3:1-events]
91 ? I< 0:00 \_ [kworker/R-acpi_]
92 ? S 0:00 \_ [scsi_eh_0]
93 ? I< 0:00 \_ [kworker/R-scsi_]
94 ? S 0:00 \_ [scsi_eh_1]
95 ? I< 0:00 \_ [kworker/R-scsi_]
96 ? S 0:00 \_ [scsi_eh_2]
97 ? I< 0:00 \_ [kworker/R-scsi_]
98 ? S 0:00 \_ [scsi_eh_3]
99 ? I< 0:00 \_ [kworker/R-scsi_]
100 ? S 0:00 \_ [scsi_eh_4]
101 ? I< 0:00 \_ [kworker/R-scsi_]
102 ? S 0:00 \_ [scsi_eh_5]
103 ? I< 0:00 \_ [kworker/R-scsi_]
104 ? I 0:00 \_ [kworker/u16:3-flush-btrfs-1]
105 ? I 0:00 \_ [kworker/u16:4-events_freezable_power_]
106 ? I 0:00 \_ [kworker/u16:5-btrfs-endio-meta]
107 ? I 0:00 \_ [kworker/u16:6-events_power_efficient]
108 ? I 0:00 \_ [kworker/u16:7-btrfs-endio-write]
109 ? I 0:00 \_ [kworker/u16:8-btrfs-endio-write]
110 ? I< 0:00 \_ [kworker/R-mld]
111 ? I< 0:00 \_ [kworker/3:1H-kblockd]
112 ? I< 0:00 \_ [kworker/R-ipv6_]
119 ? I< 0:00 \_ [kworker/R-kstrp]
120 ? I 0:00 \_ [kworker/6:1-mm_percpu_wq]
121 ? I 0:00 \_ [kworker/7:1-cgroup_destroy]
122 ? I< 0:00 \_ [kworker/u17:0-i915_flip]
124 ? I< 0:00 \_ [kworker/R-charg]
125 ? I 0:00 \_ [kworker/3:2-events]
126 ? I< 0:00 \_ [kworker/2:1H-kblockd]
142 ? I< 0:00 \_ [kworker/1:1H-kblockd]
144 ? I< 0:00 \_ [kworker/6:1H-events_highpri]
147 ? I 0:00 \_ [kworker/6:2-cgroup_destroy]
153 ? I< 0:00 \_ [kworker/0:1H-events_highpri]
154 ? I< 0:00 \_ [kworker/7:1H-events_highpri]
155 ? I< 0:00 \_ [kworker/R-ttm]
156 ? S 0:00 \_ [card1-crtc0]
157 ? S 0:00 \_ [card1-crtc1]
158 ? S 0:00 \_ [card1-crtc2]
159 ? I< 0:00 \_ [kworker/4:1H-events_highpri]
160 ? I 0:00 \_ [kworker/4:2-events]
161 ? I 0:00 \_ [kworker/2:2-cgroup_destroy]
163 ? I 0:00 \_ [kworker/1:2-cgroup_destroy]
183 ? I 0:00 \_ [kworker/5:2-cgroup_destroy]
184 ? I< 0:00 \_ [kworker/R-nvme-]
185 ? I< 0:00 \_ [kworker/R-nvme-]
186 ? I< 0:00 \_ [kworker/R-nvme-]
187 ? I< 0:00 \_ [kworker/R-nvme-]
191 ? I 0:00 \_ [kworker/0:2]
192 ? I 0:00 \_ [kworker/0:3-mm_percpu_wq]
194 ? S 0:00 \_ [scsi_eh_6]
195 ? I< 0:00 \_ [kworker/R-scsi_]
196 ? S 0:00 \_ [usb-storage]
197 ? I< 0:00 \_ [kworker/R-uas]
210 ? I< 0:00 \_ [kworker/R-btrfs]
211 ? I< 0:00 \_ [kworker/R-btrfs]
212 ? I< 0:00 \_ [kworker/R-btrfs]
213 ? I< 0:00 \_ [kworker/R-btrfs]
214 ? I< 0:00 \_ [kworker/R-btrfs]
215 ? I< 0:00 \_ [kworker/R-btrfs]
216 ? I< 0:00 \_ [kworker/R-btrfs]
217 ? I< 0:00 \_ [kworker/R-btrfs]
218 ? I< 0:00 \_ [kworker/R-btrfs]
219 ? I< 0:00 \_ [kworker/R-btrfs]
220 ? I< 0:00 \_ [kworker/R-btrfs]
221 ? I< 0:00 \_ [kworker/R-btrfs]
222 ? I< 0:00 \_ [kworker/R-btrfs]
223 ? S 0:00 \_ [btrfs-cleaner]
224 ? S 0:00 \_ [btrfs-transaction]
231 ? I 0:00 \_ [kworker/3:3-events]
232 ? I 0:00 \_ [kworker/3:4-events]
233 ? I 0:00 \_ [kworker/3:5-events]
234 ? I 0:00 \_ [kworker/3:6-events]
235 ? I 0:00 \_ [kworker/3:7-events]
236 ? I 0:00 \_ [kworker/3:8-events]
237 ? I 0:00 \_ [kworker/3:9-mm_percpu_wq]
238 ? I 0:00 \_ [kworker/3:10]
242 ? I 0:00 \_ [kworker/u16:9-btrfs-endio]
283 ? I< 0:00 \_ [kworker/R-kmpat]
284 ? I< 0:00 \_ [kworker/R-kmpat]
285 ? I< 0:00 \_ [kworker/R-iprt-]
286 ? S 0:00 \_ [iprt-VBoxTscThread]
287 ? I 0:00 \_ [kworker/u16:10-btrfs-endio]
288 ? I 0:00 \_ [kworker/u16:11-flush-btrfs-1]
289 ? I 0:00 \_ [kworker/u16:12-btrfs-endio]
290 ? I 0:00 \_ [kworker/u16:13-btrfs-endio-meta]
336 ? S 0:00 \_ [psimon]
412 ? I< 0:00 \_ [kworker/5:2H-kblockd]
488 ? I 0:00 \_ [kworker/4:3-cgroup_destroy]
540 ? I< 0:00 \_ [kworker/R-crypt]
549 ? I< 0:00 \_ [kworker/R-led_w]
642 ? I 0:00 \_ [kworker/5:3-events]
809 ? I 0:00 \_ [kworker/7:2]
915 ? S 0:00 \_ [jbd2/sda1-8]
918 ? I< 0:00 \_ [kworker/R-ext4-]
960 ? I 0:00 \_ [kworker/2:3-events]
999 ? I 0:00 \_ [kworker/2:4-events]
1277 ? S 0:00 \_ [jbd2/sdc1-8]
1280 ? I< 0:00 \_ [kworker/R-ext4-]
1307 ? S 0:00 \_ [jbd2/sdb1-8]
1308 ? I< 0:00 \_ [kworker/R-ext4-]
1424 ? I 0:00 \_ [kworker/7:3-events]
1845 ? S 0:00 \_ [jbd2/sdb2-8]
1846 ? I< 0:00 \_ [kworker/R-ext4-]
1903 ? I 0:00 \_ [kworker/5:4-events]
1938 ? I 0:00 \_ [kworker/6:3-cgroup_destroy]
2431 ? S 0:00 \_ [psimon]
6654 ? I< 0:00 \_ [kworker/u17:1]
6904 ? I 0:00 \_ [kworker/1:3]
7502 ? I< 0:00 \_ [kworker/6:2H]
7820 ? I< 0:00 \_ [kworker/u17:2-i915_flip]
7903 ? I< 0:00 \_ [kworker/R-tls-s]
1 ? Ss 0:01 /sbin/init
335 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
1844 ? Ss 0:00 /usr/lib/systemd/systemd-journald
1913 ? SNsl 0:00 /usr/lib/systemd/systemd-timesyncd
1914 ? S<sl 0:00 /sbin/auditd
1939 ? S<sl 0:00 /usr/bin/ananicy-cpp start
1941 ? Ss 0:00 avahi-daemon: running [HANNIBAL.local]
1972 ? S 0:00 \_ avahi-daemon: chroot helper
1943 ? SNs 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
1944 ? Ssl 0:01 /usr/bin/dnscrypt-proxy --config /etc/dnscrypt-proxy/dnscrypt-proxy.toml
1946 ? Ssl 0:00 /usr/bin/irqbalance --foreground
1947 ? Ss 0:00 /usr/bin/gpm -m /dev/input/mice -t imps2
1949 ? SLs 0:00 python3 /usr/bin/memavaild -c /etc/memavaild.conf
1950 ? SLs 0:00 python3 /usr/bin/nohang --monitor --config /etc/nohang/nohang-desktop.conf
1952 ? SNs 0:04 /usr/bin/preload --foreground --verbose 1
1953 ? SLs 0:00 python3 /usr/bin/prelockd -c /etc/prelockd.conf
1954 ? SNs 0:00 /usr/bin/smartd -n
1956 ? Ss 0:00 /usr/lib/systemd/systemd-logind
1969 ? Ssl 0:00 /usr/bin/NetworkManager --no-daemon
2072 ? SNs 0:00 /usr/bin/cupsd -l
2073 ? Ssl 0:00 /usr/bin/mullvad-daemon -v --disable-stdout-timestamps
2099 ? Ss 0:00 /usr/sbin/crond -n
2101 ? S<sl 0:00 /usr/bin/sddm
6887 ? S< 0:00 \_ /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth-f80bbab7-b611-4527-b706-0a83379576ee --id 1 --start /usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland --user charly
6980 tty2 S<sl+ 0:00 \_ /usr/bin/startplasma-wayland
2114 ? Ssl 0:00 /usr/lib/colord
2319 ? Ssl 0:00 /usr/lib/uresourced
4693 ? Ssl 0:00 /usr/lib/polkit-1/polkitd --no-debug
6902 ? Ss 0:00 /usr/lib/systemd/systemd --user
6903 ? S 0:00 \_ (sd-pam)
6913 ? S<sl 0:00 \_ /usr/bin/pipewire
6916 ? S<sl 0:00 \_ /usr/bin/wireplumber
6918 ? S<sl 0:00 \_ /usr/bin/pipewire-pulse
6928 ? SNs 0:00 \_ /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
7183 ? S<sl 0:00 \_ /usr/bin/kwin_wayland_wrapper --xwayland
7192 ? S<l 0:04 | \_ /bin/kwin_wayland --wayland-fd 7 --socket wayland-0 --xwayland-fd 8 --xwayland-fd 9 --xwayland-display :0 --xwayland-xauthority /run/user/1000/xauth_yrVlay --xwayland
7320 ? S<l 0:00 | \_ /bin/Xwayland :0 -auth /run/user/1000/xauth_yrVlay -listen 52 -listen 53 -displayfd 44 -rootless -wm 47
7184 ? Ssl 0:00 \_ /usr/lib/uresourced --user
7191 ? Ssl 0:00 \_ /usr/lib/gvfsd
7201 ? Sl 0:00 \_ /usr/lib/gvfsd-fuse /run/user/1000/gvfs -f
7215 ? Ssl 0:00 \_ /usr/lib/xdg-desktop-portal
7221 ? Ssl 0:00 \_ /usr/lib/xdg-document-portal
7235 ? Ss 0:00 | \_ fusermount3 -o rw,nosuid,nodev,fsname=portal,auto_unmount,subtype=portal -- /run/user/1000/doc
7228 ? Ssl 0:00 \_ /usr/lib/xdg-permission-store
7374 ? Ssl 0:00 \_ /usr/bin/ksmserver
7379 ? Ssl 0:00 \_ /usr/bin/kded5
7428 ? Ssl 0:00 \_ /usr/lib/dconf-service
7434 ? S<sl 0:03 \_ /usr/bin/plasmashell --no-respawn
7668 ? S< 0:00 | \_ /bin/ksysguardd
7467 ? Ssl 0:00 \_ /usr/lib/kactivitymanagerd
7468 ? Ssl 0:00 \_ /usr/bin/gmenudbusmenuproxy
7469 ? Ssl 0:00 \_ /usr/lib/polkit-kde-authentication-agent-1
7470 ? Ssl 0:00 \_ /usr/lib/org_kde_powerdevil
7471 ? Ssl 0:00 \_ /usr/lib/xdg-desktop-portal-kde
7473 ? Ssl 0:00 \_ /usr/bin/xembedsniproxy
7633 ? S<l 0:00 \_ /usr/lib/kf5/kioslave5 /usr/lib/qt/plugins/kf5/kio/desktop.so desktop local:/run/user/1000/plasmashelllPLkZc.3.kioworker.socket
7670 ? S<l 0:00 \_ /usr/lib/kf5/kioslave5 /usr/lib/qt/plugins/kf5/kio/kio_trash.so trash local:/run/user/1000/plasmashellrBasAN.6.kioworker.socket
7709 ? Rsl 0:01 \_ /usr/bin/yakuake
26417 pts/0 Ss 0:00 | \_ /bin/bash
33577 pts/0 R+ 0:00 | \_ ps fax
7725 ? Ssl 0:00 \_ /usr/lib/geoclue-2.0/demos/agent
7726 ? Ssl 0:00 \_ /usr/bin/kaccess
7730 ? Ssl 0:00 \_ /usr/lib/DiscoverNotifier
7732 ? Ssl 0:00 \_ /usr/bin/kalendarac
7748 ? S< 0:00 \_ /usr/lib/kf5/kioslave5 /usr/lib/qt/plugins/kf5/kio/tags.so tags local:/run/user/1000/plasmashellEHEhjN.7.kioworker.socket
7825 ? S 0:00 \_ /usr/bin/python3 /usr/bin/aa-notify -p -s 1 -w 60 -f /var/log/audit/audit.log
7853 ? Sl 0:00 \_ /bin/akonadi_control
7869 ? Sl 0:00 | \_ /usr/bin/akonadiserver
7875 ? Sl 0:00 | | \_ /bin/mysqld --defaults-file=/home/charly/.local/share/akonadi/mysql.conf --datadir=/home/charly/.local/share/akonadi/db_data/ --socket=/run/user/1000/akonadi/mysql.socket --pid-file=/run/user/1000/akonadi/mysql.pid
7913 ? Sl 0:00 | \_ /usr/bin/akonadi_akonotes_resource --identifier akonadi_akonotes_resource_0
7914 ? Sl 0:00 | \_ /usr/bin/akonadi_archivemail_agent --identifier akonadi_archivemail_agent
7915 ? Sl 0:00 | \_ /usr/bin/akonadi_birthdays_resource --identifier akonadi_birthdays_resource
7916 ? Sl 0:00 | \_ /usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_0
7917 ? Sl 0:00 | \_ /usr/bin/akonadi_davgroupware_resource --identifier akonadi_davgroupware_resource_0
7918 ? Sl 0:00 | \_ /usr/bin/akonadi_davgroupware_resource --identifier akonadi_davgroupware_resource_2
7919 ? Sl 0:00 | \_ /usr/bin/akonadi_followupreminder_agent --identifier akonadi_followupreminder_agent
7920 ? Sl 0:00 | \_ /usr/bin/akonadi_ical_resource --identifier akonadi_ical_resource_0
7924 ? Sl 0:00 | \_ /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_1
7925 ? Sl 0:00 | \_ /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_2
7926 ? SNl 0:00 | \_ /usr/bin/akonadi_indexing_agent --identifier akonadi_indexing_agent
7929 ? Sl 0:00 | \_ /usr/bin/akonadi_maildir_resource --identifier akonadi_maildir_resource_0
7932 ? Sl 0:00 | \_ /usr/bin/akonadi_maildispatcher_agent --identifier akonadi_maildispatcher_agent
7935 ? Sl 0:00 | \_ /usr/bin/akonadi_mailfilter_agent --identifier akonadi_mailfilter_agent
7938 ? Sl 0:00 | \_ /usr/bin/akonadi_mailmerge_agent --identifier akonadi_mailmerge_agent
7942 ? Sl 0:00 | \_ /usr/bin/akonadi_migration_agent --identifier akonadi_migration_agent
7945 ? Sl 0:00 | \_ /usr/bin/akonadi_newmailnotifier_agent --identifier akonadi_newmailnotifier_agent
7976 ? Sl 0:00 | \_ /usr/bin/akonadi_pop3_resource --identifier akonadi_pop3_resource_3
7977 ? Sl 0:00 | \_ /usr/bin/akonadi_sendlater_agent --identifier akonadi_sendlater_agent
7994 ? Sl 0:00 | \_ /usr/bin/akonadi_unifiedmailbox_agent --identifier akonadi_unifiedmailbox_agent
8148 ? S<sl 0:02 \_ /usr/bin/konsole --profile btop -e /usr/bin/btop
8332 pts/1 SNsl+ 0:00 | \_ /usr/bin/btop
8348 ? Sl 0:00 \_ /usr/lib/kf5/kioslave5 /usr/lib/qt/plugins/kf5/kio/kio_http.so https local:/run/user/1000/akonadi_davgroupware_resource_0aimGEb.1.kioworker.socket
8350 ? Sl 0:00 \_ /usr/lib/kf5/kioslave5 /usr/lib/qt/plugins/kf5/kio/kio_http.so https local:/run/user/1000/akonadi_davgroupware_resource_2soYQAD.1.kioworker.socket
9294 ? SNl 0:00 \_ /usr/lib/kf5/kiod5
23764 ? Ssl 0:00 \_ /usr/lib/gvfs-udisks2-volume-monitor
6974 ? S<l 0:00 /usr/bin/kwalletd5 --pam-login 12 14
7251 ? SNsl 0:00 /usr/lib/rtkit-daemon
7466 ? Ssl 0:00 /usr/lib/udisks2/udisksd
7519 ? Ssl 0:00 /usr/lib/upowerd
Offline
There's only one kwin instance and that's from your running session - check the status w/o logging in via SDDM, eg. from a console login on TTY2
Offline
ps fax on TTY3:
PID TTY STAT TIME COMMAND
2 ? S 0:00 [kthreadd]
3 ? S 0:00 \_ [pool_workqueue_release]
4 ? I< 0:00 \_ [kworker/R-rcu_g]
5 ? I< 0:00 \_ [kworker/R-rcu_p]
6 ? I< 0:00 \_ [kworker/R-slub_]
7 ? I< 0:00 \_ [kworker/R-netns]
8 ? I 0:00 \_ [kworker/0:0-events]
9 ? I< 0:00 \_ [kworker/0:0H-kblockd]
10 ? I 0:00 \_ [kworker/0:1-cgroup_destroy]
11 ? I 0:00 \_ [kworker/u16:0-blkcg_punt_bio]
12 ? I< 0:00 \_ [kworker/R-mm_pe]
13 ? I 0:00 \_ [kworker/u16:1-btrfs-endio]
14 ? I 0:00 \_ [rcu_tasks_kthread]
15 ? I 0:00 \_ [rcu_tasks_rude_kthread]
16 ? I 0:00 \_ [rcu_tasks_trace_kthread]
17 ? S 0:00 \_ [ksoftirqd/0]
18 ? I 0:00 \_ [rcu_preempt]
19 ? S 0:00 \_ [rcub/0]
20 ? S 0:00 \_ [migration/0]
21 ? S 0:00 \_ [idle_inject/0]
22 ? S 0:00 \_ [cpuhp/0]
23 ? S 0:00 \_ [cpuhp/1]
24 ? S 0:00 \_ [idle_inject/1]
25 ? S 0:00 \_ [migration/1]
26 ? S 0:00 \_ [ksoftirqd/1]
27 ? I 0:00 \_ [kworker/1:0-cgroup_destroy]
28 ? I< 0:00 \_ [kworker/1:0H-events_highpri]
29 ? S 0:00 \_ [cpuhp/2]
30 ? S 0:00 \_ [idle_inject/2]
31 ? S 0:00 \_ [migration/2]
32 ? S 0:00 \_ [ksoftirqd/2]
33 ? I 0:00 \_ [kworker/2:0-events]
34 ? I< 0:00 \_ [kworker/2:0H-kblockd]
35 ? S 0:00 \_ [cpuhp/3]
36 ? S 0:00 \_ [idle_inject/3]
37 ? S 0:00 \_ [migration/3]
38 ? S 0:00 \_ [ksoftirqd/3]
39 ? I 0:00 \_ [kworker/3:0-cgroup_destroy]
40 ? I< 0:00 \_ [kworker/3:0H-events_highpri]
41 ? S 0:00 \_ [cpuhp/4]
42 ? S 0:00 \_ [idle_inject/4]
43 ? S 0:00 \_ [migration/4]
44 ? S 0:00 \_ [ksoftirqd/4]
45 ? I 0:00 \_ [kworker/4:0-events]
46 ? I< 0:00 \_ [kworker/4:0H-events_highpri]
47 ? S 0:00 \_ [cpuhp/5]
48 ? S 0:00 \_ [idle_inject/5]
49 ? S 0:00 \_ [migration/5]
50 ? S 0:00 \_ [ksoftirqd/5]
51 ? I 0:00 \_ [kworker/5:0-cgroup_destroy]
52 ? I< 0:00 \_ [kworker/5:0H-kblockd]
53 ? S 0:00 \_ [cpuhp/6]
54 ? S 0:00 \_ [idle_inject/6]
55 ? S 0:00 \_ [migration/6]
56 ? S 0:00 \_ [ksoftirqd/6]
57 ? I 0:00 \_ [kworker/6:0-events]
58 ? I< 0:00 \_ [kworker/6:0H-events_highpri]
59 ? S 0:00 \_ [cpuhp/7]
60 ? S 0:00 \_ [idle_inject/7]
61 ? S 0:00 \_ [migration/7]
62 ? S 0:00 \_ [ksoftirqd/7]
63 ? I 0:00 \_ [kworker/7:0-rcu_gp]
64 ? I< 0:00 \_ [kworker/7:0H-kblockd]
65 ? S 0:00 \_ [kdevtmpfs]
66 ? I< 0:00 \_ [kworker/R-inet_]
67 ? S 0:00 \_ [kauditd]
68 ? S 0:00 \_ [khungtaskd]
69 ? S 0:00 \_ [oom_reaper]
70 ? I 0:00 \_ [kworker/u16:2-btrfs-endio-write]
71 ? I< 0:00 \_ [kworker/R-write]
72 ? S 0:00 \_ [kcompactd0]
73 ? SN 0:00 \_ [ksmd]
74 ? I 0:00 \_ [kworker/4:1-cgroup_destroy]
75 ? SN 0:00 \_ [khugepaged]
76 ? I< 0:00 \_ [kworker/R-kinte]
77 ? I< 0:00 \_ [kworker/R-kbloc]
78 ? I< 0:00 \_ [kworker/R-blkcg]
79 ? I< 0:00 \_ [kworker/R-tpm_d]
80 ? I< 0:00 \_ [kworker/R-ata_s]
81 ? I< 0:00 \_ [kworker/R-edac-]
82 ? I< 0:00 \_ [kworker/R-devfr]
83 ? S 0:00 \_ [watchdogd]
84 ? I 0:00 \_ [kworker/2:1-cgroup_destroy]
85 ? I< 0:00 \_ [kworker/6:1H-kblockd]
86 ? I 0:00 \_ [kworker/6:1-events_freezable]
87 ? S 0:00 \_ [kswapd0]
88 ? I 0:00 \_ [kworker/1:1-events]
89 ? I< 0:00 \_ [kworker/R-kthro]
90 ? I 0:00 \_ [kworker/5:1-events]
91 ? I< 0:00 \_ [kworker/R-acpi_]
92 ? S 0:00 \_ [scsi_eh_0]
93 ? I< 0:00 \_ [kworker/R-scsi_]
94 ? S 0:00 \_ [scsi_eh_1]
95 ? I< 0:00 \_ [kworker/R-scsi_]
96 ? S 0:00 \_ [scsi_eh_2]
97 ? I< 0:00 \_ [kworker/R-scsi_]
98 ? S 0:00 \_ [scsi_eh_3]
99 ? I< 0:00 \_ [kworker/R-scsi_]
100 ? S 0:00 \_ [scsi_eh_4]
101 ? I< 0:00 \_ [kworker/R-scsi_]
102 ? S 0:00 \_ [scsi_eh_5]
103 ? I< 0:00 \_ [kworker/R-scsi_]
104 ? I 0:00 \_ [kworker/u16:3-btrfs-endio]
105 ? I 0:00 \_ [kworker/u16:4-btrfs-endio]
106 ? I 0:00 \_ [kworker/u16:5-flush-btrfs-1]
107 ? I 0:00 \_ [kworker/u16:6-btrfs-endio]
108 ? I 0:00 \_ [kworker/u16:7-btrfs-endio-meta]
109 ? I< 0:00 \_ [kworker/R-mld]
110 ? I 0:00 \_ [kworker/u16:8-btrfs-endio]
111 ? I< 0:00 \_ [kworker/R-ipv6_]
118 ? I< 0:00 \_ [kworker/R-kstrp]
119 ? I 0:00 \_ [kworker/7:1-events]
120 ? I 0:00 \_ [kworker/3:1-mm_percpu_wq]
121 ? I< 0:00 \_ [kworker/u17:0-i915_flip]
123 ? I< 0:00 \_ [kworker/R-charg]
124 ? I< 0:00 \_ [kworker/7:1H-kblockd]
125 ? I< 0:00 \_ [kworker/2:1H-kblockd]
126 ? I< 0:00 \_ [kworker/0:1H-kblockd]
127 ? I< 0:00 \_ [kworker/5:1H-kblockd]
146 ? I 0:00 \_ [kworker/6:2-events_freezable]
148 ? I< 0:00 \_ [kworker/1:1H-kblockd]
151 ? I< 0:00 \_ [kworker/3:1H-kblockd]
152 ? I< 0:00 \_ [kworker/R-ttm]
153 ? S 0:00 \_ [card1-crtc0]
154 ? S 0:00 \_ [card1-crtc1]
155 ? S 0:00 \_ [card1-crtc2]
156 ? I< 0:00 \_ [kworker/4:1H-kblockd]
157 ? I 0:00 \_ [kworker/1:2-cgwb_release]
158 ? I 0:00 \_ [kworker/2:2-events]
185 ? I< 0:00 \_ [kworker/R-nvme-]
186 ? I< 0:00 \_ [kworker/R-nvme-]
187 ? I< 0:00 \_ [kworker/R-nvme-]
188 ? I< 0:00 \_ [kworker/R-nvme-]
190 ? I 0:00 \_ [kworker/0:2-events]
192 ? I 0:00 \_ [kworker/2:3-events]
193 ? I 0:00 \_ [kworker/5:2-cgroup_destroy]
194 ? S 0:00 \_ [scsi_eh_6]
195 ? I< 0:00 \_ [kworker/R-scsi_]
196 ? S 0:00 \_ [usb-storage]
197 ? I< 0:00 \_ [kworker/R-uas]
201 ? I 0:00 \_ [kworker/7:2-events]
212 ? I< 0:00 \_ [kworker/R-btrfs]
213 ? I< 0:00 \_ [kworker/R-btrfs]
214 ? I< 0:00 \_ [kworker/R-btrfs]
215 ? I< 0:00 \_ [kworker/R-btrfs]
216 ? I< 0:00 \_ [kworker/R-btrfs]
217 ? I< 0:00 \_ [kworker/R-btrfs]
218 ? I< 0:00 \_ [kworker/R-btrfs]
219 ? I< 0:00 \_ [kworker/R-btrfs]
220 ? I< 0:00 \_ [kworker/R-btrfs]
221 ? I< 0:00 \_ [kworker/R-btrfs]
222 ? I< 0:00 \_ [kworker/R-btrfs]
223 ? I< 0:00 \_ [kworker/R-btrfs]
224 ? I< 0:00 \_ [kworker/R-btrfs]
225 ? S 0:00 \_ [btrfs-cleaner]
226 ? S 0:00 \_ [btrfs-transaction]
232 ? I 0:00 \_ [kworker/0:3-events]
234 ? I 0:00 \_ [kworker/0:4-events]
235 ? I 0:00 \_ [kworker/0:5-events]
236 ? I 0:00 \_ [kworker/0:6-events]
237 ? I 0:00 \_ [kworker/0:7-events]
238 ? I 0:00 \_ [kworker/0:8-events]
239 ? I 0:00 \_ [kworker/0:9-events]
240 ? I 0:00 \_ [kworker/0:10-events]
241 ? I 0:00 \_ [kworker/0:11-events]
280 ? I 0:00 \_ [kworker/3:2-events]
294 ? I< 0:00 \_ [kworker/R-kmpat]
295 ? I< 0:00 \_ [kworker/R-kmpat]
296 ? I< 0:00 \_ [kworker/R-iprt-]
298 ? S 0:00 \_ [iprt-VBoxTscThread]
330 ? I 0:00 \_ [kworker/u16:9-btrfs-endio-meta]
331 ? I 0:00 \_ [kworker/u16:10-btrfs-endio]
332 ? I 0:00 \_ [kworker/u16:11-btrfs-endio]
333 ? I 0:00 \_ [kworker/u16:12-btrfs-endio-meta]
334 ? I 0:00 \_ [kworker/u16:13-btrfs-endio-meta]
335 ? I 0:00 \_ [kworker/u16:14-btrfs-endio]
340 ? S 0:00 \_ [psimon]
513 ? I< 0:00 \_ [kworker/5:2H]
515 ? I< 0:00 \_ [kworker/R-led_w]
517 ? I< 0:00 \_ [kworker/R-crypt]
625 ? I 0:00 \_ [kworker/7:3]
1154 ? I 0:00 \_ [kworker/5:3]
1471 ? S 0:00 \_ [jbd2/sda1-8]
1472 ? I< 0:00 \_ [kworker/R-ext4-]
1488 ? S 0:00 \_ [jbd2/sdc1-8]
1493 ? S 0:00 \_ [jbd2/sdb2-8]
1494 ? I< 0:00 \_ [kworker/R-ext4-]
1498 ? I< 0:00 \_ [kworker/R-ext4-]
1528 ? S 0:00 \_ [jbd2/sdb1-8]
1531 ? I< 0:00 \_ [kworker/R-ext4-]
1845 ? I 0:00 \_ [kworker/4:2-events]
2138 ? S 0:00 \_ [psimon]
6749 ? I< 0:00 \_ [kworker/u17:1]
6760 ? I 0:00 \_ [kworker/1:3-events]
1 ? Ss 0:01 /sbin/init
339 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
1844 ? Ss 0:00 /usr/lib/systemd/systemd-journald
1905 ? SNsl 0:00 /usr/lib/systemd/systemd-timesyncd
1906 ? S<sl 0:00 /sbin/auditd
1926 ? S<sl 0:00 /usr/bin/ananicy-cpp start
1928 ? Ss 0:00 avahi-daemon: running [HANNIBAL.local]
1954 ? S 0:00 \_ avahi-daemon: chroot helper
1930 ? SNs 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
1931 ? Ssl 0:00 /usr/bin/dnscrypt-proxy --config /etc/dnscrypt-proxy/dnscrypt-proxy.toml
1933 ? Ssl 0:00 /usr/bin/irqbalance --foreground
1934 ? Ss 0:00 /usr/bin/gpm -m /dev/input/mice -t imps2
1936 ? SLs 0:00 python3 /usr/bin/memavaild -c /etc/memavaild.conf
1938 ? SLs 0:00 python3 /usr/bin/nohang --monitor --config /etc/nohang/nohang-desktop.conf
1939 ? SNs 0:02 /usr/bin/preload --foreground --verbose 1
1940 ? SLs 0:00 python3 /usr/bin/prelockd -c /etc/prelockd.conf
1941 ? SNs 0:00 /usr/bin/smartd -n
1943 ? Ss 0:00 /usr/lib/systemd/systemd-logind
1947 ? Ssl 0:00 /usr/bin/NetworkManager --no-daemon
1999 ? Ss 0:00 /usr/sbin/snapperd
2068 ? SNs 0:00 /usr/bin/cupsd -l
2069 ? Ssl 0:00 /usr/bin/mullvad-daemon -v --disable-stdout-timestamps
2093 ? Ss 0:00 /usr/sbin/crond -n
2094 ? S<sl 0:00 /usr/bin/sddm
2114 ? S< 0:00 \_ /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth-ce5d02e6-d1d3-41ee-8e93-163d3e502539 --id 2 --start /usr/bin/sddm-greeter --socket /tmp/sddm--wCzKDb --theme /usr/share/sddm/themes/maldives --user sddm --display-server kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 --greeter
4149 tty1 S<s+ 0:00 \_ /usr/lib/sddm/sddm-helper-start-wayland kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 /usr/bin/sddm-greeter --socket /tmp/sddm--wCzKDb --theme /usr/share/sddm/themes/maldives
4173 tty1 S<l+ 0:00 \_ /usr/bin/kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1
4528 tty1 S<l+ 0:00 \_ /usr/bin/sddm-greeter --socket /tmp/sddm--wCzKDb --theme /usr/share/sddm/themes/maldives
2104 ? Ssl 0:00 /usr/lib/colord
2127 ? Ssl 0:00 /usr/lib/uresourced
2147 ? Ss 0:00 /usr/lib/systemd/systemd --user
2396 ? S 0:00 \_ (sd-pam)
5266 ? SNs 0:00 \_ /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
4566 ? Ssl 0:00 /usr/lib/polkit-1/polkitd --no-debug
6803 ? Ss 0:00 login -- charly
9949 tty3 Ss 0:00 \_ -bash
13007 tty3 R+ 0:00 \_ ps fax
9933 ? Ss 0:00 /usr/lib/systemd/systemd --user
9934 ? S 0:00 \_ (sd-pam)
9943 ? S<sl 0:00 \_ /usr/bin/pipewire
9946 ? S<sl 0:00 \_ /usr/bin/wireplumber
9947 ? S<sl 0:00 \_ /usr/bin/pipewire-pulse
9962 ? SNs 0:00 \_ /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
10213 ? Ssl 0:00 \_ /usr/lib/xdg-permission-store
10287 ? Ssl 0:00 \_ /usr/lib/xdg-desktop-portal
10293 ? Ssl 0:00 \_ /usr/lib/xdg-document-portal
10299 ? Ss 0:00 | \_ fusermount3 -o rw,nosuid,nodev,fsname=portal,auto_unmount,subtype=portal -- /run/user/1000/doc
13006 ? Rs 0:00 \_ /usr/bin/konsole --profile btop -e /usr/bin/btop
10304 ? SNsl 0:00 /usr/lib/rtkit-daemon
In the TTY, kwin_wayland is running as user sddm, indeed:
ps aux | grep sddm
root 2094 0.0 0.1 153624 24396 ? S<sl 11:24 0:00 /usr/bin/sddm
root 2114 0.0 0.1 76300 20352 ? S< 11:24 0:00 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth-ce5d02e6-d1d3-41ee-8e93-163d3e502539 --id 2 --start /usr/bin/sddm-greeter --socket /tmp/sddm--wCzKDb --theme /usr/share/sddm/themes/maldives --user sddm --display-server kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 --greeter
sddm 2147 0.1 0.0 20672 12000 ? Ss 11:24 0:00 /usr/lib/systemd/systemd --user
sddm 2396 0.0 0.0 26024 5896 ? S 11:24 0:00 (sd-pam)
sddm 4149 0.0 0.0 58832 13440 tty1 S<s+ 11:24 0:00 /usr/lib/sddm/sddm-helper-start-wayland kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 /usr/bin/sddm-greeter --socket /tmp/sddm--wCzKDb --theme /usr/share/sddm/themes/maldives
sddm 4173 0.2 0.8 1608188 132836 tty1 S<l+ 11:24 0:00 /usr/bin/kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1
sddm 4528 0.2 0.8 2194464 134960 tty1 S<l+ 11:24 0:00 /usr/bin/sddm-greeter --socket /tmp/sddm--wCzKDb --theme /usr/share/sddm/themes/maldives
sddm 5266 0.0 0.0 8644 4532 ? SNs 11:24 0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
charly 20540 0.0 0.0 7568 2620 tty3 S+ 11:26 0:00 grep sddm
Once logged in via sddm, kwin_wayland is running as user charly:
ps aux | grep sddm
root 2094 0.0 0.1 153820 24780 ? S<sl 11:24 0:00 /usr/bin/sddm
root 58320 0.2 0.1 77552 22936 ? S< 11:32 0:00 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth-ce5d02e6-d1d3-41ee-8e93-163d3e502539 --id 1 --start /usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland --user charly
charly 59483 0.0 0.0 7568 2516 pts/0 S+ 11:32 0:00 grep sddm
ps aux | grep kwin
charly 58368 0.0 0.1 162072 23864 ? S<sl 11:32 0:00 /usr/bin/kwin_wayland_wrapper --xwayland
charly 58377 2.1 1.8 1978060 294488 ? S<l 11:32 0:04 /bin/kwin_wayland --wayland-fd 7 --socket wayland-0 --xwayland-fd 8 --xwayland-fd 9 --xwayland-display :0 --xwayland-xauthority /run/user/1000/xauth_aBkzYd --xwayland
charly 60614 0.0 0.0 7568 2556 pts/0 S+ 11:36 0:00 grep kwin
Offline
The man page describes DisplayServer option as "the display server to use for the greeter" – and the greeter (with its compositor) does indeed run as 'sddm' user:
sddm 4173 0.2 0.8 1608188 132836 tty1 S<l+ 11:24 0:00 /usr/bin/kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1
sddm 4528 0.2 0.8 2194464 134960 tty1 S<l+ 11:24 0:00 /usr/bin/sddm-greeter --socket /tmp/sddm--wCzKDb --theme /usr/share/sddm/themes/maldives
Also the account's description is "SDDM Greeter Account", further suggesting it's just for the greeter and not necessarily for the daemon:
https://github.com/sddm/sddm/blob/v0.20 … er.conf.in
I think all of what you're seeing is expected behavior.
Online
Yikes - it seems that you are right! And the wiki is obviously incorrect or, at least, imprecise by not differentiating between sddm and sddm-greeter.
Thanks a lot!
Offline