Cannot view console of new created guest

  • Thread starter Thread starter prf
  • Start date Start date
P

prf

Guest
I have just installed proxmox ve 1.5 on a test server. It looks very promising but I have come across a problem.

I have created a new guest (KVM) which will install Ubuntu 8.04 TLS. The guest is created successfully but when I start it up and go to connect to it using the web based console, the console pops up but it is completely empty (white background).

When I check in the apache logs (/var/log/apache2/error.log) I notice the following:

[Fri Feb 19 17:26:40 2010] [error] [client 192.168.101.102] File does not exist: /usr/share/pve-manager/root/qemu/VncViewer.class, referer: https://192.168.101.101/qemu/vnc-direct.htm?cid=0&veid=101

I am not sure whether this error has anything to do with the problem.

I have used Firefox 3.5.7 and IE 8 under Windows 7 and Firefox 3.5.6 on Ubuntu 9.10 (desktop) with the same results.

I have run an update (aptitude update, aptitude upgrade). The output of pveversion -v follows:

proxmox:/var/log/apache2# pveversion -v
pve-manager: 1.5-7 (pve-manager/1.5/4660)
running kernel: 2.6.18-2-pve
proxmox-ve-2.6.18: 1.5-5
pve-kernel-2.6.18-2-pve: 2.6.18-5
qemu-server: 1.1-11
pve-firmware: 1.0-3
libpve-storage-perl: 1.0-10
vncterm: 0.9-2
vzctl: 3.0.23-1pve8
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm-2.6.18: 0.9.1-5

I have also tried starting the nc command manually (copying the command syntax shown in syslog but substituting a different password) then connecting via an external vnc program (ultravnc 1.0.8). This works ok but none of the tabs are present. I would like to be able to use the browser vnc viewer if possible.

Any suggestions would be greatly received.

Thanks

Paul
 
Check if you have the latest Sun Java browser plug in installed on your desktop.

on windows:
go to http://java.com

on Ubuntu:
Code:
sudo aptitude install sun-java6-plugin
 
I have the same problem when trying to open up a VNC console through the web interface.
When i open up a OpenVZ machine it's all good, but when i open up a KVM machine, Firefox hangs.

I'm using the latest Ubuntu, installed java (apt-get install sun-java6-plugin)

Code:
vm01:/home/mark# pveversion -v
pve-manager: 1.5-5 (pve-manager/1.5/4627)
running kernel: 2.6.18-2-pve
proxmox-ve-2.6.18: 1.5-5
pve-kernel-2.6.18-2-pve: 2.6.18-5
qemu-server: 1.1-11
pve-firmware: 1.0-3
libpve-storage-perl: 1.0-8
vncterm: 0.9-2
vzctl: 3.0.23-1pve8
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm-2.6.18: 0.9.1-5
In the syslog i only see:
Code:
Feb 19 13:05:13 vm01 pvedaemon[10837]: starting vnc proxy UPID:10837-309331:1266581113:vncproxy:1:101:root:5900: pC6aoyasOgf70Dv3V6sYrgnb3DQ
Feb 19 13:05:13 vm01 pvedaemon[10837]: CMD: /bin/nc -l -p 5900 -w 30 -c /usr/sbin/qm vncproxy 101 pC6aoyasOgf70Dv3V6sYrgnb3DQ 2>/dev/null
On my VirtualBox WindowsXP/ie6 machine the KVM VPN console works just fine.

any pointers where i could/should look for?

edit:
- When i open up the vnc console on the windows/ie6 vm first and THEN in ubuntu/firefox, i get to see my KVM machine. :confused:
- When i see it, firefox still turns greyed out, but i can make full use of the java applet, though when i close the window, i get the option to "Cancel" or "Force Quit".
- It seems that the window.parent of the console pop-up is crashing, since that one is not responding anymore ofter clicking "Open VNC Console"
 
Tom
Thank you. I downloaded the latest JRE plugin for Windows Firefox and Linux Firefox and installed them.

The console now launches successfully.

Kind regards
Paul
 
I have the same problem when trying to open up a VNC console through the web interface.
When i open up a OpenVZ machine it's all good, but when i open up a KVM machine, Firefox hangs.

I have the same problem on a Debian Lenny. Latest Java is installed and functional. Accessing the console from a OpenVZ containers works fine. The same on a KVM VM hangs Iceweasel.
 
issue was always (as far as I remember in all cases up to now) on the client side (browser and java) - firefox/iceweasel with sun-java6-plugin is known to work stable.
 
issue was always (as far as I remember in all cases up to now) on the client side (browser and java) - firefox/iceweasel with sun-java6-plugin is known to work stable.

Maybe but all I tried had no success. Do you have perhaps a hint where/what to look? I'm sure that my iceweasel works fine and even the site from sun tells me that my java installation seems to work without problems.
 
give all details about your setup and I will try to reproduce it here.

btw, do you enabled any desktop effects? if yes, disable it.
 
You were right, sorry! I tried with an other machine under lenny and it works without problems. So the problems ARE on the other machine and have nothing to do with proxmox.