Open avyou opened 6 years ago
hi , I connect vm console has error: Failed to connect to server (code: 1006) and:
Failed to connect to server (code: 1006)
Plain non-SSL (ws://) WebSocket connection Version hybi-13, base64: 'False' localhost:5900
ubuntu 16.04 system don't has this service:
$ sudo service novnc stop $ sudo insserv -r novnc $ sudo vi /etc/insserv/overrides/novnc
my supervisor configure:
[program:webvirtmgr] command=/home/.virtualenv/kvm/bin/python /data/webvirtmgr/manage.py run_gunicorn -c /data/webvirtmgr/conf/gunicorn.conf.py [program:webvirtmgr] command=/home/.virtualenv/kvm/bin/python /data/webvirtmgr/manage.py run_gunicorn -c /data/webvirtmgr/conf/gunicorn.conf.py directory=/data/webvirtmgr autostart=true autorestart=true stdout_logfile=/var/log/supervisor/webvirtmgr.log redirect_stderr=true user=www-data [program:webvirtmgr-console] command=/home/.virtualenv/kvm/bin/python /data/webvirtmgr/console/webvirtmgr-console directory=/data/webvirtmgr :q tail -f /var/log/supervisor/webvirtmgr-console.log autostart=true autorestart=true stdout_logfile=/var/log/supervisor/webvirtmgr-console.log redirect_stderr=true user=www-data
netstat -nltup
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 16002/nginx.conf tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN 2658/dnsmasq tcp 0 0 0.0.0.0:6080 0.0.0.0:* LISTEN 8989/python tcp 0 0 127.0.0.1:8321 0.0.0.0:* LISTEN 8990/python tcp 0 0 0.0.0.0:10020 0.0.0.0:* LISTEN 2111/sshd tcp 0 0 127.0.0.1:5900 0.0.0.0:* LISTEN 7338/qemu-system-x8 tcp6 0 0 :::10020 :::* LISTEN 2111/sshd udp 0 0 192.168.122.1:53 0.0.0.0:* 2658/dnsmasq udp 0 0 0.0.0.0:67 0.0.0.0:* 2658/dnsmasq
How to install novnc on ubuntu16 system?
hi , I connect vm console has error:
Failed to connect to server (code: 1006)
and:ubuntu 16.04 system don't has this service:
my supervisor configure:
netstat -nltup
How to install novnc on ubuntu16 system?