It would seem the graphical console is broken. I set up a new Windows VM on the CM Master and when trying to use the flash based VNC I get nothing, not even the usual password and port information to manually connect. I attached a screenshot to this report. With Windows you have to use VNC to setup the IP etc so that you can then login via RDC.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Thu, 03/02/2017 - 22:05 Comment #1
Make sure your browser supports at least one of Flash or Java - currently there is no pure-HTML/JS console.
It supports Flash - Chrome. I also tried Safari and Firefox.
Submitted by JamieCameron on Fri, 03/03/2017 - 10:59 Comment #3
Are you sure flash is enabled? Because from that screenshot, it looks like the flash object isn't even being loaded.
Hi Steffan and guys,
just note, google chrome be it on windows, linux or xos have always latest flash build in, so it should work right a way, but it seems to me that security policies in google chrome at Steffans machine needs to be adhered or perhaps he is using old coded vnc viewer in flash, which should be updated for security reasons, perhaps better advice would be to use html5 vnc viewer like guacamole > http://guacamole.incubator.apache.org/ I hope so it helps.
It doesn't work regardless of browser. I switched to the original framed theme so I could see what was going on with the source code. The VNC viewer is not even loading in the browser. Notice the missing references.
Usage of the java applet isn't working either. It throws a java error. ClassNotFoundException: VncViewer.class
When trying to use the java applet, it will at least print the text at the bottom.
If the VNC client does not run or cannot connect, you can use a separate VNC client to connect to xxx.com port 5905 instead, and login with password xxxxxx .
So, flash is disabled by default, or completely gone, from several browsers. Likewise, Java is ornery.
We really need a JavaScript/HTML5 VNC client in Cloudmin, sometime soon. I'll try to tackle that soon, if Jamie doesn't have time for it.
But, anyway, I have confirmed this issue...I don't quite know why it's not working, but it definitely doesn't work in Microsoft Edge (the only browser I have that has Flash player). I've confirmed Flash is working on the Adobe test site, but I also get a blank page in Cloudmin. I'll keep poking to try to figure out what's going on.
I see the VNC client being downloaded in the network display. It just doesn't seem to be starting.
noVNC looks like the most promising VNC JS/HTML5 client, and modern VNC servers support WebSocket connections, so we possibly wouldn't need a proxy (Guacamole, another option, requires a proxy that is written in Java, to run on the server).
(I'm considering whether troubleshooting a 7 year old Flash VNC client is more work than adding support for a JavaScript/HTML5 client. And, even if JS is more work, it is probably worth it to get off of flash/java entirely.)
Confirmed that QEMU has WebSocket support for its VNC server (including TLS encryption)...so...it's probably just a matter of dropping in noVNC and styling it, and configuring QEMU to setup a WSS: port for it to connect to.
Note to self (or Jamie): https://github.com/novnc/noVNC/wiki/Integration
flash is not purged from google chrome itself, its build in.. I advised him to check his browser security policies (possibly windows user) which I believe its the problem coz on my end it works (im on debian linux running google chrome browser), but I had to edit my policies in browser settings still.. instead user gave out to us I believe in frustration some html source.. ehrm. One should note that edge developed by Microsoft and flash player or whatever user have installed is not same thing as flash developed and supported by google and cannot even compete with proper code from modern browsers. Microsoft have its own issues as usual and cannot even sort its own browser to work properly. As I said earlier he should use proper tools for this so he does not need edit any policies (how to do that you can google it) ... just use some html5 code. Java applet is just very bad joke out there.. dont even bother to try it.
Unborn, I posted the HTML to show that the html object is missing from the HMTL as well as the the text string which says what port and password to use if the VNC client fails. It is not a permissions issue since I have tried every browser I have and everything flash works fine but this.
Joe, since you see it, I wonder if my CM is hosed. Jamie has the credentials to look for himself if he wants.
Submitted by JamieCameron on Sun, 03/05/2017 - 11:36 Comment #15
Steffan - was this a KVM or Xen VM?
Xen.
Weird thing is I restarted Webin and no change. I rebooted the actual host server and now it works again.
Submitted by JamieCameron on Sun, 03/05/2017 - 13:20 Comment #17
Ok, I think the issue is that Cloudmin was supposed to tell you a reboot is needed, but due to a bug that message doesn't appear on the VNC page. This will be fixed in the next release.
Submitted by JamieCameron on Sun, 03/05/2017 - 13:21 Comment #18
What necessitates a reboot of the host? I had 330 days up time. The reboot picked up about 6 versions newer of a kernel too. LOL.
Submitted by JamieCameron on Sun, 03/05/2017 - 14:56 Comment #20
I'm not sure, but sometimes the VNC port on the VM isn't accessing even when it is configured - and a reboot fixes it.
Submitted by IssueBot on Sun, 03/19/2017 - 16:07 Comment #21
Automatically closed - issue fixed for 2 weeks with no activity.