How to configure noVNC in SolusVM?

Have more questions? Submit a request

Applicable to:

  • SolusVM

Question

 How to configure noVNC?

Answer

  1. Secure master hostname with SSL certificate, for example use the following article for free let's encrypt installation: How to install Let's Encrypt SSL certificate for the SolusVM Master hostname?
  2. Log into the master node via SSH and install required dependencies:

    # yum install python numpy python-ssl

  3. Use parts of SSL certificate for the hostname to create .pem file for noVNC:

    # cd /usr/local/svmstack/nginx/ssl/
    # cat ssl.key ssl.crt > /usr/local/solusvm/includes/nvnc/cert.pem

  4. Now the /usr/local/solusvm/data/config.ini file on SolusVM Master node need to contain the following lines:

    CONFIG_TEXT: [NOVNC]
    use_remote_hostname = true
    socket_dest_public = false

    Create the file from /usr/local/solusvm/data/config.ini.example if it does not exist and make sure that NOVNC section looks exactly like pointed above.

  5. Finally, enable noVNC in SolusVM at SolusVM > Configuration > Settings > Other:
    mceclip0.png
  6. Restart svmstack-nginx:

    # service svmstack-nginx restart

Additional Information

To debug socket connections you can manually start websockify on the host (Make sure you do this on the correct server and you specify the correct port):

# sh /scripts/websocket-stop
# php /usr/local/solusvm/includes/wsocket.php --port=7706 --debug=1

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.