This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

noVNC ready: native WebSockets, canvas rendering

VirtualBox, VM config and HDD images.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
vkyk
Starter
Starter
Posts: 52
Joined: 24 Jun 2012 16:11
Location: Hong Kong UTC+08:00
Status: Offline

noVNC ready: native WebSockets, canvas rendering

Post by vkyk »

I am newbie in using vm. Try ubuntu 14.04.3 server i386 in vm. Have set up vmubuntu.vdi and mounted iso at phpvirtualbox page but unable to use novnc. I use https in N4F and firefox.

Setup of vmubuntu:
14.04.03 32bits
32G vdi
4G ram
adapter: bridged adapter (also try NAT)
remote display: enable at port 5910


In phpvirtualbox page, I run vmubuntu and am able to see the ubuntu installation page in Preview box. Then go to novnc page, if Host: 192.168.1.100 (example), Port: 5910 and input password, quickly replied "noVNC ready: native WebSockets, canvas rendering" and then immediately become "Server disconnected (code: 1006). If I put Host: https://192.168.1.100, it show "noVNC ready: native WebSockets, canvas rendering". I also try it in IE11 and same results.

What mistake I have made? :?:

_________________________________
NAS4Free 10.2.0.2 (revision 2003) x64-embedded; ALASKA A M I Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz 16384MiB RAM
Production1: 11.2.0.4 (R6154) x64-embedded on AMD Athlon(tm) II X4 640 Processor 8G Non-ECC Ram ASUS M4A88T-M 2x2T + 1x4T
Production2: 11.2.0.4 x64-embedded on Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz 12G Non-ECC Ram ASUS B85M-G 3x2T
Test/Backup: 10.3.0.3.4372 x86-embedded on Intel(R) Xeon(R) CPU 3040 @ 1.86GHz 4G Non-ECC Ram HP ML110 G4 2x160G

User avatar
daoyama
Developer
Developer
Posts: 394
Joined: 25 Aug 2012 09:28
Location: Japan
Status: Offline

Re: noVNC ready: native WebSockets, canvas rendering

Post by daoyama »

vkyk wrote:In phpvirtualbox page, I run vmubuntu and am able to see the ubuntu installation page in Preview box. Then go to novnc page, if Host: 192.168.1.100 (example), Port: 5910 and input password, quickly replied "noVNC ready: native WebSockets, canvas rendering" and then immediately become "Server disconnected (code: 1006).
Did you use NAS4Free IP address? Host is not GuestVM's address.
If noVNC does not work, you can use normal VNC client such as UltlaVNC.
http://www.uvnc.com/
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1

vkyk
Starter
Starter
Posts: 52
Joined: 24 Jun 2012 16:11
Location: Hong Kong UTC+08:00
Status: Offline

Re: noVNC ready: native WebSockets, canvas rendering

Post by vkyk »

Dear daoyama-san

I go to noVNC webpage from phpvirtual page ie use the N4F IP, not guest IP. I install ultra vnc (VBoxVNC) which works. :)

Thanks.
Production1: 11.2.0.4 (R6154) x64-embedded on AMD Athlon(tm) II X4 640 Processor 8G Non-ECC Ram ASUS M4A88T-M 2x2T + 1x4T
Production2: 11.2.0.4 x64-embedded on Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz 12G Non-ECC Ram ASUS B85M-G 3x2T
Test/Backup: 10.3.0.3.4372 x86-embedded on Intel(R) Xeon(R) CPU 3040 @ 1.86GHz 4G Non-ECC Ram HP ML110 G4 2x160G

User avatar
daoyama
Developer
Developer
Posts: 394
Joined: 25 Aug 2012 09:28
Location: Japan
Status: Offline

Re: noVNC ready: native WebSockets, canvas rendering

Post by daoyama »

vkyk wrote:I go to noVNC webpage from phpvirtual page ie use the N4F IP, not guest IP. I install ultra vnc (VBoxVNC) which works. :)
If you have installed VirtualBox extension, you need uninstall it before using builtin version.
The builtin version is not compatible with extension version.
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1

vkyk
Starter
Starter
Posts: 52
Joined: 24 Jun 2012 16:11
Location: Hong Kong UTC+08:00
Status: Offline

Re: noVNC ready: native WebSockets, canvas rendering

Post by vkyk »

Dear daoyama-san,

I do not install any VirtualBox extension before.

I am still unable to complete the installation of Ubuntu server 14-4 LTS. It always hangs in different stages. I'll try again.

_________________________________
NAS4Free 10.2.0.2 (revision 2003) x64-embedded; ALASKA A M I Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz 16384MiB RAM
Production1: 11.2.0.4 (R6154) x64-embedded on AMD Athlon(tm) II X4 640 Processor 8G Non-ECC Ram ASUS M4A88T-M 2x2T + 1x4T
Production2: 11.2.0.4 x64-embedded on Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz 12G Non-ECC Ram ASUS B85M-G 3x2T
Test/Backup: 10.3.0.3.4372 x86-embedded on Intel(R) Xeon(R) CPU 3040 @ 1.86GHz 4G Non-ECC Ram HP ML110 G4 2x160G

User avatar
daoyama
Developer
Developer
Posts: 394
Joined: 25 Aug 2012 09:28
Location: Japan
Status: Offline

Re: noVNC ready: native WebSockets, canvas rendering

Post by daoyama »

vkyk wrote:I am still unable to complete the installation of Ubuntu server 14-4 LTS. It always hangs in different stages. I'll try again.
Why do you use 32bit version Ubuntu?
64bit Ubuntu on 64bit NAS4Free is enough.

Install Ubuntu 64 (VGA 640x400 only?) -> Intall GuestAdditions (800x600 and more)

Note: some confirmation is hard to select on 640x400.
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1

vkyk
Starter
Starter
Posts: 52
Joined: 24 Jun 2012 16:11
Location: Hong Kong UTC+08:00
Status: Offline

Re: noVNC ready: native WebSockets, canvas rendering

Post by vkyk »

Dear daoyama-san,

Now I have installed 64bit ubuntu server but fail to install webmin.
daoyama wrote:

Install Ubuntu 64 (VGA 640x400 only?) -> Intall GuestAdditions (800x600 and more)
Would you mind to advise how to install GuestAdditions.

Thanks for your help.
Production1: 11.2.0.4 (R6154) x64-embedded on AMD Athlon(tm) II X4 640 Processor 8G Non-ECC Ram ASUS M4A88T-M 2x2T + 1x4T
Production2: 11.2.0.4 x64-embedded on Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz 12G Non-ECC Ram ASUS B85M-G 3x2T
Test/Backup: 10.3.0.3.4372 x86-embedded on Intel(R) Xeon(R) CPU 3040 @ 1.86GHz 4G Non-ECC Ram HP ML110 G4 2x160G

User avatar
MikeMac
Forum Moderator
Forum Moderator
Posts: 429
Joined: 07 Oct 2012 23:12
Location: Moscow, Russia
Contact:
Status: Offline

Re: noVNC ready: native WebSockets, canvas rendering

Post by MikeMac »

vkyk wrote:how to install GuestAdditions.
https://www.google.ru/search?q=guest+ad ... ygOGwrTQBg

vkyk
Starter
Starter
Posts: 52
Joined: 24 Jun 2012 16:11
Location: Hong Kong UTC+08:00
Status: Offline

Re: noVNC ready: native WebSockets, canvas rendering

Post by vkyk »

daoyama-san,

[noVNC ready: native WebSockets, canvas rendering] is caused when Protocol at HTTPS in System | General Setup is selected. I have tried in 2 N4F:

NAS4Free 10.2.0.2 (revision 2067) x64-embedded; 122310 XSDT1951 AMD Athlon(tm) II X4 640 Processor 8192MiB RAM

another is 2067 for 86-embedded in old HP server

If I use HTTP, these x64 and 86 embedded N4F can use noVNC which show "Connected (unencrypted) to: VBoxVNC.

Is it possible to fix in further version?
Production1: 11.2.0.4 (R6154) x64-embedded on AMD Athlon(tm) II X4 640 Processor 8G Non-ECC Ram ASUS M4A88T-M 2x2T + 1x4T
Production2: 11.2.0.4 x64-embedded on Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz 12G Non-ECC Ram ASUS B85M-G 3x2T
Test/Backup: 10.3.0.3.4372 x86-embedded on Intel(R) Xeon(R) CPU 3040 @ 1.86GHz 4G Non-ECC Ram HP ML110 G4 2x160G

User avatar
daoyama
Developer
Developer
Posts: 394
Joined: 25 Aug 2012 09:28
Location: Japan
Status: Offline

Re: noVNC ready: native WebSockets, canvas rendering

Post by daoyama »

vkyk wrote:[noVNC ready: native WebSockets, canvas rendering] is caused when Protocol at HTTPS in System | General Setup is selected. I have tried in 2 N4F:
That was:

1. certificate is not used by VirtualBox.
2. NAS4Free does not provide certificate/private key for vboxusers.

For workaound:
So I've added to insert certificate to libvncserver used by VirtualBox.
And WebGUI's key is copied to vbox-cert.pem as same as cert.pem for lighttpd.
(it should be fixed in VirtualBox side)

r2111 and later should work on both HTTP and HTTPS.
Thank you.
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1

vkyk
Starter
Starter
Posts: 52
Joined: 24 Jun 2012 16:11
Location: Hong Kong UTC+08:00
Status: Offline

Re: noVNC ready: native WebSockets, canvas rendering

Post by vkyk »

daoyama-san

Many thanks. :D

Edited:

I just updated to R2115 but unable to use noVNC in HTTPS mode. I have tried to 1) select HTTP first and then re-enable HTTPS, 2) disable and re-enable VB, 3) manually delete conf of VB after disable VB and then re-enable VB and 4) reboot N4F. All these methods fail. :?: What procedures should I do in order to use noVNC under HTTPS?

Thx.
Production1: 11.2.0.4 (R6154) x64-embedded on AMD Athlon(tm) II X4 640 Processor 8G Non-ECC Ram ASUS M4A88T-M 2x2T + 1x4T
Production2: 11.2.0.4 x64-embedded on Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz 12G Non-ECC Ram ASUS B85M-G 3x2T
Test/Backup: 10.3.0.3.4372 x86-embedded on Intel(R) Xeon(R) CPU 3040 @ 1.86GHz 4G Non-ECC Ram HP ML110 G4 2x160G

vkyk
Starter
Starter
Posts: 52
Joined: 24 Jun 2012 16:11
Location: Hong Kong UTC+08:00
Status: Offline

Re: noVNC ready: native WebSockets, canvas rendering

Post by vkyk »

I fresh install NAS4Free 10.2.0.2 (revision 2118) x86-embedded in HP Intel(R) Xeon(R) CPU 3040 @ 1.86GHz 0MiB RAM and note that when using HTTPS, Chrome can view at "Connected (encrypted) to: VBoxVNC" but both IE and Firefox still cannot. I use win 7 pro and have cleared cache in Firefox (IE is first time to use).

Updated:

It is further proved that in my updated N4F R2118 64-embedded, Chrome can use NoVNC but firefox can't.
Production1: 11.2.0.4 (R6154) x64-embedded on AMD Athlon(tm) II X4 640 Processor 8G Non-ECC Ram ASUS M4A88T-M 2x2T + 1x4T
Production2: 11.2.0.4 x64-embedded on Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz 12G Non-ECC Ram ASUS B85M-G 3x2T
Test/Backup: 10.3.0.3.4372 x86-embedded on Intel(R) Xeon(R) CPU 3040 @ 1.86GHz 4G Non-ECC Ram HP ML110 G4 2x160G

yupsmith
NewUser
NewUser
Posts: 2
Joined: 19 May 2016 20:21
Status: Offline

Re: noVNC ready: native WebSockets, canvas rendering

Post by yupsmith »

Hello,
sorry for bringing this old thread up, but I have exactly the same problem as described from the starter of this thread in his first post. Unfortunately the discussion above drifted a litle bit around and I cannot see if the initial problem was solved. Could also be that I'm just too unexperienced:-)

I already have tried different browser on different computer with different Windows versions. I also have tried with both, HTTP and HTTPS. All above without succes. I always get: server disconnected (code: 1006).

My aim is to play around with nas4free and have Ubuntu installed in a vm, just to learn. Is there another (easy) posiblity than noVNC?
Because I do not have any experience, neither with nas4free nor with virtualbox and noVnc, I don't know how to solve this issue.

If anyone could kick me to the right direction: welcome!

Thank you!
HP ProLiant MicroServer Gen8 / CPU E3-1265L V2 @ 2.50GHz / 16 GB Ram ECC / 2 x WDRed 3T / 1 x WDRed 1T / 10.2.0.2 - Prester (Revision 2332)

User avatar
lux
Advanced User
Advanced User
Posts: 193
Joined: 23 Jun 2012 11:37
Location: Bielefeld, Germany
Contact:
Status: Offline

Re: noVNC ready: native WebSockets, canvas rendering

Post by lux »

pls try an "VNC Client" such as TightVNC, UltraVNC, RealVNC etc. - this works for me

greetings
Home:11.3.x.7538/emb@32GB USB|1270v2@X9SCA-F|ECC32GB|i340-T4[lagg@GS108Tv2&smb-mch]|M1015@IT|9HDD~40TB@3xRaidZ1+1HDD+2SSD i335&i520+1xi800P@ZIL|~44W idle@SS-400FL2|Nanoxia Deep Silence 6B|24/7
Services: CIFS, FTP, TFTP, SSH, NFS, Rsync, Syncthing, Webserver, BitTorrent, VirtualBox | Extensions: OBI, TheBrig[certbot, Asterisk] | Extensions via vBox: Pi-hole, Jellyfin & zigbee2mqtt @DebianVM's
Test:12.x/emb@16GB USB|X3 420e@M4A88TD-V|16GB|i350-T2|M1015@IT|8xHDD+3xSSD[different Size&Brand]RaidZ1+2|for TESTing only

yupsmith
NewUser
NewUser
Posts: 2
Joined: 19 May 2016 20:21
Status: Offline

Re: noVNC ready: native WebSockets, canvas rendering

Post by yupsmith »

Thank you lux for the reply!
As I am a newbi, I even do not know where to start.
I'm on the point bevor installing Ubuntu (clicking on the start button). Could you please give me a step by step guideline how to go on? I suppose I have to install one of the a.m. VNC clients before start to install Ubuntu but how can I install a VNC client in nas4free?

Thank you!
HP ProLiant MicroServer Gen8 / CPU E3-1265L V2 @ 2.50GHz / 16 GB Ram ECC / 2 x WDRed 3T / 1 x WDRed 1T / 10.2.0.2 - Prester (Revision 2332)

vkyk
Starter
Starter
Posts: 52
Joined: 24 Jun 2012 16:11
Location: Hong Kong UTC+08:00
Status: Offline

Re: noVNC ready: native WebSockets, canvas rendering

Post by vkyk »

yspsmith,

Instead to install UltraVNC client in nas4free, I install it in my w7.

Firstly, you create a new VM in N4F and mount your IOS disk image (I use ubtunu). Actual the procedures are same as to normal run VM in w7 or other systems. Then run or start this new VM. On the other hand, I run UltraVNC client in my W7 and then input the same ip address, port and password in UltraVNC which will connect your new VM. UltraVNC become console and I can log in ubuntu VM.

I still find Chrome is the only browser can use NoVNC (but sometimes doesn't).
Production1: 11.2.0.4 (R6154) x64-embedded on AMD Athlon(tm) II X4 640 Processor 8G Non-ECC Ram ASUS M4A88T-M 2x2T + 1x4T
Production2: 11.2.0.4 x64-embedded on Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz 12G Non-ECC Ram ASUS B85M-G 3x2T
Test/Backup: 10.3.0.3.4372 x86-embedded on Intel(R) Xeon(R) CPU 3040 @ 1.86GHz 4G Non-ECC Ram HP ML110 G4 2x160G

Post Reply

Return to “VM|VirtualBox”