Web Based VNC Console renders a partial screen

Razmirz

New Member
May 9, 2010
1
0
1
Just a bug I've hit when using Ubuntu 10.04 x64 while trying to view machine consoles. While the window resizes correctly only the intital 640x400 area is rendered on the java applet.

Work around is to oversize the applet at start and it will be shrunk acordingly

I altered line 72 of /usr/share/pve-manager/root/qemu/vnc-direct.htm to read

$out .= "<APPLET id=vncapp CODE='VncViewer.class' ARCHIVE='/vncterm/VncViewer.jar' width=10000 height=10000 vspace=0 hspace=0>\n";

and problems solved.

Might be something you want to integrate.

Razmirz
 
Thanks for the fix, this was causing me a terrible headache! It would be really nice if it could be integrated in the next update.
 
For me this had to do with openjdk packages in Ubuntu 10.04 (lucid)

i solved this like this:

remove java:
sudo aptitude remove java-common

add this partner repo to sources.list:
deb http://archive.canonical.com/ lucid partner

update (just to be sure):
sudo aptitude update

install the sun java plugin (installs all needed java stuff):
sudo aptitude install sun-java6-plugin

after that it should work like before.
 
Last edited:
yes, the openjdk packages are not the best for our console yet (but getting better and better), sun-java6-plugin is the one you need.
 

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!