Code Modification Instructions
- Novnc Web links are similar to: http://192.168.1.177:6080/vnc_auto.html?token=105356fa-bbe3-43e4-a0ce-7703dc42eacc&title= Test3 (f2e74368-952c-48b7-b5cc-13f000d6807a)
- Using the phone to bring the keyboard This function is implemented on the Vnc.html page, so you need to port this feature of this page to vnc_auto.html
Modify Steps
- The code in the test code directly overwrites the vnc_auto.html code with the vnc.html.
- Modify Ui.js:
1) automatically connect VM (line:100) When initializing page is set
2) Set host port password token to get external parameters automatically (line:765:795)
Integration into OpenStack
Manually stop OpenStack in NOVNC service
Service Openstack-nova-novncproxy Stop
Manually start the NOVNC connection VM
SH novnc-master/utils/launch.sh--listen 6080--vnc localhost:5900
Connecting VMs in a Web page
http://192.168.1.177:6080/vnc.html?host=192.168.1.177&port=6080
Make sure you can replace the/usr/share/novnc folder directly after
Testing process
Restart NOVNC Service
Service Openstack-nova-novncproxy Restart
- Sign in to OpenStack's dashboard in your phone (windowsphone)
- Access to the VNC interface of the VM
- Enter your user name and password by using your phone's keyboard and entering the system
- Use your own keyboard for text editing
PS: Keyboard for users to manually call out, you need to click on the interface to the keyboard icon to come out
Achieve effect HTTP://CHRISGORDON.COM.AU/?Q=NODE/18
Code https://github.com/snorkeyg/noVNC/
Resources
http://blog.csdn.net/happyteafriends/article/details/41344751
Https://github.com/kanaka/noVNC/issues/48
NOVNC support phone with keyboard input