VNC dual use and config

I’d like people’s comment on their use of vnc, to better understand the
config side of the 2 different uses of vnc:

  • taking over someone’s desktop
  • logging into a new session

My experience of the first use has been in a Windows environment, taking
over people’s desktop to help them. On the other hand, in Linux I’ve allways
used it to get a new remote session.

So… how do you take over a person’s desktop in Linux, rather then create a
new session?

Has anyone ever set up a dual vnc server config? I mean something like
opening port 5901 to get a new session (vncviewer host:1) and 5902 to take
over an existing desktop (vnwviewer host:2) ?

When in doubt, use brute force.
– Ken Thompson