Proxmox console and New version of Java for OSX

Guy

Renowned Member
Jan 15, 2009
121
1
83
m0guy.com
I've just upgraded my OSX desktop to the latest version of Java that Apple released last night. It now seems that I'm no longer able to run the Java console on my proxmox systems! :(

I just get the read "!" in the middle of the screen.

--Guy
 
I see the same here, pls. find a solution asap, as I need access to the virtual machines

mvh
Niels
 
I just connected to my PVE install with a Macbook pro running 10.6.4 and the java update using Safari and I can open the VM remote VNC windows.
 
really?

can you confirm the version of JAVA that your Mac is running? I wonder if you've also installed a different version of Java and some other point?

I've updated several Macs today to the New version of Java and none of them are able to get to the consoles of proxmox VMs now.

---Guy
 
Screen%20shot%202010-10-21%20at%203.16.01%20PM.png


Screen%20shot%202010-10-21%20at%203.17.35%20PM.png
 
Ok well I'm stumpted... Why does it work for you but not for me on my 6 macs..all running snow leopard and had the java update from apple!!
 
There was another java issue that came up with Macs that I applied a patch on PVE for. I'm trying to search on it but can't find it in the forum for some reason. Maybe that's the difference?
 
hello,
the automatic update did not work for me, but by getting the update from Apple homepage and apply it maunally it works
mvh
Niels
 
Java Version: 1.6.0_22 x86_64

VNC Console :
- SAFARI : OK
- CHROME / CHROMIUM : OK with modifications

Edit : /usr/share/pve-manager/root/qemu/vnc-direct.htm
and just after :
Code:
Line 36 :  function wresize() {
Add this :
Code:
try {
        var domain1:String = LoaderInfo(this.root.loaderInfo).parameters["allow"];
        if ( domain1.length > 0 ) {
                Security.allowDomain(domain1);
        }
} catch (error:Error) { }
try {
        var domain2:String = LoaderInfo(this.root.loaderInfo).parameters["allowhttps"];
        if ( domain2.length > 0 ) {
                Security.allowInsecureDomain(domain2);
        }
} catch (error:Error) { }

And to correct the Safari size bug, in the same file, change :
Code:
$out .= "<APPLET id=vncapp CODE='VncViewer.class' ARCHIVE='/vncterm/VncViewer.jar' width=640 height=480 vspace=0 hspace=0>\n";
to :
Code:
$out .= "<APPLET id=vncapp CODE='VncViewer.class' ARCHIVE='/vncterm/VncViewer.jar' width=800 height=600 vspace=0 hspace=0>\n";

Enjoy ;)
 
Last edited:
we will take a look on it but we cannot test as we got no apple hardware here.

I am always asking if someone sponsors a macbook pro to our testlab - but till now no one contacted me.
 
plenty of us in the field will help with the testing :)

yes, I appreciate that. but you asked how to improve the mac support and I give the quite simple answer :)
 
I see you coming tom :rolleyes:

You gave a simple self-interested answer :p

I would also like my boss to buy me a Macbook pro but ... the only one i have is mine :(

Btw tom, feel free to ask me if you need a tester. ;)
 
Hi,

any news about the Java and VNC console problem?
I´m no longer able to use the VNC console from Explorer or Chrome since the last Java update.
I tried with Windows XP and Vista as well.
 
you talk about which problem? we have no issues with IE or firefox here.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!