Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Set up noVNC in SolusVM > Configuration > Settings > Other

    Info
    • noVNC Admin - Disable/Enable noVNC in the admin area
    • noVNC Client - Disable/Enable noVNC in the client area
    • noVNC Socket Port - The port number the websockify daemon runs on. Default is 7706
    • noVNC Socket Location - Set up Master as socket Host.


  2. Connect to master server via SSH and isntall necessary packages:

    Code Block
    yum install python numpy python-ssl


  3. Setup SSL certificate for noVNC. It should be placed in the file /usr/local/solusvm/includes/nvnc/sslcert.pem/ Execute the following commands:

    Code Block
    cat /usr/local/svmstack/nginx/ssl/ssl.crt /usr/local/svmstack/nginx/ssl/ssl.key > /usr/local/svmstack/nginx/ssl/ssl.pem 
    cp -rp /usr/local/svmstack/nginx/ssl/ssl.pem /usr/local/solusvm/includes/nvnc/sslcert.pem
    
    systemctl restart svmstack-nginx.service 


  4. Several advanced settings exist in the masters /usr/local/solusvm/data/config.ini for noVNC:

    Info
    [NOVNC]
    ;;Set this to true if you want noVNC to access the websocket with the remote servers hostname. All the hostnames must resolve correctly. Default (false) is to use the ip address of the remote server
    use_remote_hostname = true
    			
    ;;Set this to true if you want the socket on the host to forward packets across the public network
    socket_dest_public = false


...