NOVNC support phone with keyboard input

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.