IE Console Window

meluvalli

Member
Feb 19, 2012
18
0
21
Hi. Maybe I am missing something, but I am running Windows 7 on my VM machine. Everything runs great. I changed my resolution in the VM to be 1024x768 (this is a low resolution). When I click Console in the Proxmox web interface to look at the session and control it, a new window opens up and I can view and control my VM. The problem is, with the resolution set to 1024x768, the IE window is to small. Proxmox disables changing the window size, so I have no way except for hitting F11 to get to full screen mode in IE to see my whole screen.

Any suggestions? If I make the resolution even better example 1280x1024, then it is even worse!

What am I doing wrong? Is there an option somewhere to change the IE window size?

Thanks!
 
I can confirm this for IE9 and Chromium. The Java App detects the correct resolution, but the console window does not scale.
Code:
Connected to server
RFB server supports protocol version 3.8
Using RFB protocol version 3.8
VeNCrypt chooser
X509Plain
Generating TLS context
Doing TLS handshake
TLS done
Plain authentication
Plain authentication: success
Desktop name is QEMU (APP01)
[B]Desktop size is 1024 x 768[/B]
Using Tight/ZRLE encodings
Throughput 20112 kbit/s - changing to Hextile encoding
 
  1. what desktop OS do you use?
  2. what browser?
  3. what java plugin?
 
  1. what desktop OS do you use?
  2. what browser?
  3. what java plugin?
Windows7 (64bit) with IE9, Sun Java 1.6.0_22
Xbuntu Wheezy with Chromium 18.0.1025.142, Sun Java 1.6.0_30

In Chromium the console window resizes correct initially, but when you click "Reload" in the top right, the console reloads and doesn't resize anymore.
In IE9 the window never resizes.
 
YAY!!! I was pulling my hair out! I thought I was the only one with this issue since I didn't see any posts for it! :D


I am running IE9 - Host machine is Windows 7 x64 as well. Java is v7 build 1.7.0-b147

Thanks!
 
on windows7, firefox and google chrome are the preferred browsers, both are regularly tested.
 
on windows7, firefox and google chrome are the preferred browsers, both are regularly tested.
If we (=Linux guys) like it or not, IE is the de-facto standard in an enterprise enviroment. If you see Proxmox as an enterprise-ready piece of software you probably should adapt to this.
 
ie9 is working, just some minor issues.

based on our website statistics, IE is between 5 and 10 % on all our web pages. so at least here, IE is not leading. but I agree, MS tells everybody that their browser is the only "enterprise" level browser.

(Firefox is around 50 %, Chrome around 30 %)
 
ie9 is working, just some minor issues.

based on our website statistics, IE is between 5 and 10 % on all our web pages. so at least here, IE is not leading. but I agree, MS tells everybody that their browser is the only "enterprise" level browser.

(Firefox is around 50 %, Chrome around 30 %)

I'm sorry, so are we saying that it's fixed? Or are we saying that since IE isn't very common, that it probably won't get fixed?

I did switch to Googl Chrome for now, and all seems to be working wonderfully :)
 
I'm sorry, so are we saying that it's fixed? ..

No, I say that its a minor issue which should be resolved. but as there are a workarounds no one will really suffer from this.
 
Well, something weird is happening:

The java debug console shows:
Desktop name is VNC Command Terminal
Desktop size is 745 x 400

The actual HTML code from the pop-up window:
<div id="pveOpenVZConsole-1018" class="x-panel x-fit-item x-panel-default" role="presentation" style="margin-left: 0px; margin-bottom: 0px; margin-right: 0px; margin-top: 0px; width: 745px; height: 538px; "><div id="toolbar-1020" class="x-toolbar x-toolbar-default x-docked x-docked-top x-toolbar-docked-top x-toolbar-default-docked-top x-docked-noborder-top x-docked-noborder-right x-docked-noborder-left x-box-layout-ct" role="toolbar" tabindex="-1" style="width: 745px; left: 0px; top: 0px; "><div class="x-box-inner" role="presentation" id="ext-gen1021" style="width: 743px; height: 22px; "><div id="button-1021" class="x-btn x-box-item x-toolbar-item x-btn-default-toolbar-small x-noicon x-btn-noicon x-btn-default-toolbar-small-noicon" style="margin-left: 0px; margin-bottom: 0px; margin-right: 0px; margin-top: 0px; left: 0px; top: 0px; "><em id="button-1021-btnWrap" class=""><button id="button-1021-btnEl" type="button" hidefocus="true" role="button" autocomplete="off" class="x-btn-center" style=""><span id="button-1021-btnInnerEl" class="x-btn-inner" style="">Start</span><span id="button-1021-btnIconEl" class="x-btn-icon x-hide-display" style="">&nbsp;</span></button></em></div><div id="button-1022" class="x-btn x-box-item x-toolbar-item x-btn-default-toolbar-small x-noicon x-btn-noicon x-btn-default-toolbar-small-noicon" style="margin-left: 0px; margin-bottom: 0px; margin-right: 0px; margin-top: 0px; left: 39px; top: 0px; "><em id="button-1022-btnWrap" class=""><button id="button-1022-btnEl" type="button" hidefocus="true" role="button" autocomplete="off" class="x-btn-center" style=""><span id="button-1022-btnInnerEl" class="x-btn-inner" style="">Shutdown</span><span id="button-1022-btnIconEl" class="x-btn-icon x-hide-display" style="">&nbsp;</span></button></em></div><div id="button-1023" class="x-btn x-box-item x-toolbar-item x-btn-default-toolbar-small x-noicon x-btn-noicon x-btn-default-toolbar-small-noicon" style="margin-left: 0px; margin-bottom: 0px; margin-right: 0px; margin-top: 0px; left: 105px; top: 0px; "><em id="button-1023-btnWrap" class=""><button id="button-1023-btnEl" type="button" hidefocus="true" role="button" autocomplete="off" class="x-btn-center" style=""><span id="button-1023-btnInnerEl" class="x-btn-inner" style="">Stop</span><span id="button-1023-btnIconEl" class="x-btn-icon x-hide-display" style="">&nbsp;</span></button></em></div><div id="button-1024" class="x-btn x-box-item x-toolbar-item x-btn-default-toolbar-small x-noicon x-btn-noicon x-btn-default-toolbar-small-noicon" style="margin-left: 0px; margin-bottom: 0px; margin-right: 0px; margin-top: 0px; left: 143px; top: 0px; "><em id="button-1024-btnWrap" class=""><button id="button-1024-btnEl" type="button" hidefocus="true" role="button" autocomplete="off" class="x-btn-center" style=""><span id="button-1024-btnInnerEl" class="x-btn-inner" style="">Console</span><span id="button-1024-btnIconEl" class="x-btn-icon x-hide-display" style="">&nbsp;</span></button></em></div><div id="tbfill-1025" class="x-component x-box-item x-toolbar-item x-component-default" role="presentation" style="margin-left: 0px; margin-bottom: 0px; margin-right: 0px; margin-top: 0px; width: 439px; left: 198px; top: 0px; " tabindex="-1"></div><div id="button-1026" class="x-btn x-box-item x-toolbar-item x-btn-default-toolbar-small x-noicon x-btn-noicon x-btn-default-toolbar-small-noicon" style="margin-left: 0px; margin-bottom: 0px; margin-right: 0px; margin-top: 0px; left: 639px; top: 0px; "><em id="button-1026-btnWrap" class=""><button id="button-1026-btnEl" type="button" hidefocus="true" role="button" autocomplete="off" class="x-btn-center" style=""><span id="button-1026-btnInnerEl" class="x-btn-inner" style="">Refresh</span><span id="button-1026-btnIconEl" class="x-btn-icon x-hide-display" style="">&nbsp;</span></button></em></div><div id="button-1027" class="x-btn x-box-item x-toolbar-item x-btn-default-toolbar-small x-noicon x-btn-noicon x-btn-default-toolbar-small-noicon" style="margin-left: 0px; margin-bottom: 0px; margin-right: 0px; margin-top: 0px; left: 694px; top: 0px; "><em id="button-1027-btnWrap" class=""><button id="button-1027-btnEl" type="button" hidefocus="true" role="button" autocomplete="off" class="x-btn-center" style=""><span id="button-1027-btnInnerEl" class="x-btn-inner" style="">Reload</span><span id="button-1027-btnIconEl" class="x-btn-icon x-hide-display" style="">&nbsp;</span></button></em></div></div></div><div id="pveOpenVZConsole-1018-body" class="x-panel-body x-panel-body-default x-panel-body-default x-docked-noborder-right x-docked-noborder-bottom x-docked-noborder-left x-layout-fit" style="width: 745px; height: 512px; left: 0px; top: 26px; "><div id="component-1019" class="x-component x-fit-item x-component-default" role="presentation" style="margin-left: 0px; margin-bottom: 0px; margin-right: 0px; margin-top: 0px; width: 745px; height: 511px; "><applet id="pveOpenVZConsole-1018-vncapp" border="false" code="com.tigervnc.vncviewer.VncViewer" archive="/vncterm/VncViewer.jar" width="100%" height="100%" style="width: 745px; height: 426px; "><param name="id" value="pveOpenVZConsole-1018-vncapp"><param name="PORT" value="5900"><param name="PASSWORD" value="PVEVNC:4F8FB2B1::xFPquSX3udZpu9sxGNSkcVGWT4lBGUUS8zdCZXphIeXt6ioCyx4fW76nrxVfGjEymyNrHZ7iUAIsw6q/yfRbRlt3B+OX+BcKY3kpUAwBA+R/kSK+Qu66S1zhZA70fx3PqkCUzTZ3J9Mb7Lh/qbM+uglH/I1VJS8fPwxwmBmdd8FwgvwuwXQ3srbZfZQ99VaAcT7pctp6XUz1rv3+vctS6anplxFcLXYPIYySzI7WX0wm8VsESp0l70AAAUjpo/XKsnVH4sxSndDdUJu/gLrxVRHJEGncVmwiFDLTTKWHSRgim0cp/kmKnnIlONY3XiUBuzS1OenMmkbK1rPI5RXWuw=="><param name="USERNAME" value="root@pam"><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2NjZWZkMTlmM2JlZjM0ZDRkMGI1ZmQ0NTM1YjEfMB0GA1UEChMW|UFZFIENsdXN0ZXIgTWFuYWdlciBDQYIJAL0mBTT5Yfh1MAwGA1UdEwQFMAMBAf8w|DQYJKoZIhvcNAQEFBQADggEBACA91GFabd3k8mIthgamko07c8li2SpEOpvuTA78|vK/oI4IKykyEE4YqMi92aO86xdh9SYvKYRzVWkxOs1dIwLIWLEHSS0P5Qx/yeMPh|YrPk7P8tFMY4017on4T8lnZyDz+z0x/Mzb8GUuEC6l6nWFJPA429HeReuub9Q+hj|7O5TfOBd8/ysrkkfig1X9Dx3XDB2M1iVU/JX+usZSazzMvNhab4cKXHGz6hH36Ir|2XHyGJhZZXLVJVlkeRAlpzPchyuH3OgnniG2DK4lpCTpNyqi6YbpB93aFMq3rhKA|/1KFZcg4+96exxcy/ODks16WcaM01e2mNL46ZWci/OZyxHY=|-----END CERTIFICATE-----|"></applet></div></div></div>

From about you will notice:
either: 745px; height: 426px; (inner size?)
or: 745px; height: 538px; (outer size?)
but size reported from applet: 745 x 400

This is from the mozilla based web browser Epiphany 3.2.1
 
on windows7, firefox and google chrome are the preferred browsers, both are regularly tested.
I just tested 2.1 with Firefox 11 on Win7. It shows the same buggy behaviour as Chromium. As soon as you press the "Reload" button in the top right corner, the console window sets itself to 640x426 and refuses to rescale.

Code:
java.lang.NoSuchFieldException: getPreferredSize in class: com.tigervnc.vncviewer.VncViewer 
?console=kvm&vmid=101&vmname=TESTAPP01&node=proxtest, Zeile 1 Zeichen 1
 
on windows, make sure you run java 6.31.
 

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!