diff --git a/graphics/vnc/server/vnc_negotiate.c b/graphics/vnc/server/vnc_negotiate.c index 8cf7515d79..dc87247210 100644 --- a/graphics/vnc/server/vnc_negotiate.c +++ b/graphics/vnc/server/vnc_negotiate.c @@ -69,7 +69,7 @@ static const char g_vncproto[] = RFB_PROTOCOL_VERSION_3p8; * Name: vnc_negotiate * * Description: - * Perform the VNC initialize sequency after a client has sucessfully + * Perform the VNC initialization sequence after the client has sucessfully * connected to the server. Negotiate security, framebuffer and color * properties. * diff --git a/graphics/vnc/server/vnc_server.c b/graphics/vnc/server/vnc_server.c index 9e02130173..ac1c4e6d5d 100644 --- a/graphics/vnc/server/vnc_server.c +++ b/graphics/vnc/server/vnc_server.c @@ -120,6 +120,11 @@ int vnc_server(int argc, FAR char *argv[]) { gvdbg("New VNC connection\n"); + /* Perform the VNC initialization sequence after the client has + * sucessfully connected to the server. Negotiate security, + * framebuffer and color properties. + */ + ret = vnc_negotiate(session); if (ret < 0) { diff --git a/graphics/vnc/server/vnc_server.h b/graphics/vnc/server/vnc_server.h index 21b15711f6..17dee09406 100644 --- a/graphics/vnc/server/vnc_server.h +++ b/graphics/vnc/server/vnc_server.h @@ -254,7 +254,7 @@ void vnc_release_session(FAR struct vnc_session_s *session); * Name: vnc_negotiate * * Description: - * Perform the VNC initialize sequency after a client has sucessfully + * Perform the VNC initialization sequence after the client has sucessfully * connected to the server. Negotiate security, framebuffer and color * properties. *