I am hook to a GCS1944 IOGear switch for monitors and Wacom.
When I am switching from computers and my wacom is not enabled after switch for some reason, if I unplug my usb-C cable from the Wacom and re-plug to get it re discovered, it does a point blank logout of my session.
Instant logout. Wacom Intuos PRO M (PTH-660)
Rocky 8.7 is now out, so you can update to get newer kernel and all other updated packages between 8.6 and 8.7 to see if that resolves it.
You can enable elrepo dnf install elrepo-release and then try installing kernel-lt or kernel-ml from the elrepo-kernel repository. Kernel-LT is 5.14, Kernel-ML 6.0 - they could also help since newer than the default 4.x kernel that Rocky 8 has. Eg:
Hey, I did it and when restarting I got this line and seems staled.
"0.138843 SELinux: CONFIG_SECURITY_SELINUX_CHECKPOINT_VALUE is non-zero.
This is deprecated and will be rejected in a future kernel release.