Can linux enable multiple users to connect to the desktop environment?

what I want is a desktop environment, not a command line terminal. If my computer monitor is on, I hope someone connects in and can"t see the change, because someone connected to the previous vnc can know that the mouse is moving, and I don"t want it.

May.31,2022

of course, you can let multiple users share a desktop environment, or you can let them use a separate desktop environment.

in general, X11 automatically generates a desktop environment after logging in to Linux, which is identified by the environment variable DISPLAY , such as DISPLAY=:0 .
to allow multiple users to share the desktop environment, you only need to open the VNC server in one desktop environment. To use it separately, you need to open a new X11.

Menu