The design of both Windows 9x and Windows NT (before NT4) was based on the assumption that the OS/kernel is driving a single local graphical console session (this is visible today: Windows Server 2022’s “Core” installation mode still fires-up a desktop environment with a mouse pointer and floating windows rather than Linux’ text-mode-only environment); for example, huge parts of NT3.1/3.5 (especially USER32, GDI, etc) assumed exclusive ownership of graphics hardware.
While NT3.1 was a true “multiuser, multitasking” OS, I understand that largely concerns security and (Correct me if I'm wrong) that it wasn’t until NT4 that processes were grouped into "sessions" - along with NT4's own Terminal Server SKU which came about from MS licensing Citrix’ IP back from them.
So how did Citrix-for-Windows NT 3.1/3.5 work? How was it able to support multiple concurrent desktop sessions?