Versions Compared

Key

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

It is possible to access the VNC console form the WEB browser and without having VNC client installed. For that purpose websockify proxy is used (formerly named wsproxy) and it part of the noVNC project. At the most basic level, websockify just translates WebSockets traffic to normal socket traffic. Websockify accepts the WebSockets handshake, parses it, and then begins forwarding traffic between the client and the target in both directions.

...

-D - to run service in a daemon mode. For testing purposes, this option can be replaced with -v option, that run instruct service to run in verbose mode and produce diagnostic output on console. 

Code Block
languagebashtext
title4. Run qemu-kvm machine
root@dilos:~# /smartdc/bin/qemu-system-x86_64 -enable-kvm -smp 4 -m 8192 \
-drive file=/dev/zvol/rdsk/rpool/kvm/con4,if=virtio,index=0,media=disk,boot=on,id=disk0 \
-bios /smartdc/share/qemu/extboot.bin -vnc 0.0.0.0:0,password -monitor stdio -drive file=/root/dilos-2.0.1.22.iso,media=cdrom,if=ide,index=1\
-device virtio-net-pci,netdev=n1,mac=02:08:20:80:8e:d3 \
-netdev user,id=n1,net=192.168.11.0/24,hostfwd=tcp::5555-:22

Where:

 -vnc 0.0.0.0:0,password - configure VNC service listen on any host address (0.0.0.0) and port 5900 (in a format 590X, where :0 is 5900, :1 is 5901 and etc ...). Password authentification (the  "password" option) must be used here as a requirement  for noVNC service . 

...