3.3) Connection setup and shutdown.
To establish a client server connection the server first requests authentication from client, using a challenge response VNC server –viewer protocol scheme; client then requires user to enter password.
Client and server then communicate about desktop size, pixel format and encoding system. The client requests an update for the entire screen and the session begins. Closing the connection happen on the client or the network when necessitated or when on goes out of the network.