VNC Fails

baboo

Member
Nov 14, 2010
58
0
6
I shutdown my VM's and then restarted them, but VNC is failing.

syslog:

Jan 31 16:03:45 glenda kernel: tap104i0d0: no IPv6 routers present
Jan 31 16:04:13 glenda pvedaemon[2749]: VM 104 vnc proxy failed - 256
Jan 31 16:04:27 glenda proxwww[2794]: Starting new child 2794
Jan 31 16:04:28 glenda proxwww[2795]: Starting new child 2795
Jan 31 16:04:28 glenda proxwww[2796]: Starting new child 2796
Jan 31 16:05:32 glenda proxwww[2865]: Starting new child 2865
Jan 31 16:06:04 glenda proxwww[2906]: Starting new child 2906
Jan 31 16:06:36 glenda proxwww[2938]: Starting new child 2938
Jan 31 16:07:06 glenda proxwww[2982]: Starting new child 2982

It looks like the VNC proxy failed. I am running 2.6.35-1-pve. Can someone tell how to fix this?

thanks
 
What output do you get when you start a proxy manually:

# qm vncproxy 104

(you can simply abort with ctrl-c)
 
dietmar: thanks - here is output:

qm vncproxy 104
unable to connect to socket '/var/run/qemu-server/104.vnc' - Connection refused at /usr/sbin/qm line 149.

any ideas - thanks
 
dietmar: thanks for hanging in here with me. here is qm list ouput:

qm list
VMID NAME STATUS MEM(MB) BOOTDISK(GB) PID
101 CliqN stopped 2000 50.00 0
102 Community stopped 1000 50.00 0
103 CliqN__Core stopped 2000 50.00 0
104 Marsh stopped 2000 50.00 0
105 Snow stopped 1000 15.00 0

thanks
 
if a VM is stopped no VNC viewer can connect - behavior by design.
 
tom: thanks - but already knew that.

here is qm with vm running:

qm list
VMID NAME STATUS MEM(MB) BOOTDISK(GB) PID
101 CliqN stopped 2000 50.00 0
102 Community stopped 1000 50.00 0
103 CliqN__Core stopped 2000 50.00 0
104 Marsh running 2000 50.00 9304
105 Snow stopped 1000 15.00 0


I still have the problem. It does not matter which vm I start none of them will let me connect via vnc.

here is qm vncproxy 104 while running ouput:
qm vncproxy 104
RFB 003.008


here is syslog:
pvedaemon[11060]: CMD: /bin/nc -l -p 5900 -w 30 -c /usr/sbin/qm vncproxy 104 xUCjejCZezPPLCkYxpXZvgApsJE 2>/dev/null
Feb 1 07:37:25 glenda pvedaemon[11060]: VM 104 vnc proxy failed - 256

thanks - really appreciate the support
 
Last edited:
I have not done anything to the proxmox server. My VMs have been running fine. So, I decided to move VMs to production server and shut them down. I remembered that I needed to add one thing to a VM and started it backup. That's when I found the vnc would not start.

I really need to move my VMs to a production box. However, I do not want to do that until this vnc issue is resolved. Has anyone else had this happen?

thanks
 
Baboo,

I got the same problem and I guess the cause is a combination of "browser+java+plataform" or something near this.

What browser are you using?
What JVM plugin is installed on your browser?
What is your S.O. used to access the webconsole??
When you access the "Open VNC Console", the popup only show you a grey empty screen?

I think the problem occurs when you try to access the "VNC Console" via web interface and the Java VNC Applet is not installed or run correctly. After that all your VMs fail to "open an VNC port". Maybe when it fails the first time, something happens with kvm vnc proxy...

Try to reboot the proxmox ve server and access your VMs with another browser, or use another browser on another plataform.

Here in my study lab I was opening the console with Chrome+SunJava+Linux and the problem occurs, but when I tried with "Chrome+SunJava+Windows" the problem did NOT occur :D.

Look, I'm NOT telling here that the VNC Console will not work with "Chrome+SunJava+Linux" and will only work on "Chrome+SunJava+Windows", this was just my case.

BTW I'm running ProxMox VE v1.7

Hope it help!
See ya!
 
g0rt3k: Thanks for the info!

I am using firefox
Sun JRE and JDK
Ubuntu OS
Yes, I only get a grey screen.

thanks again - ProxMox VE v1.7 is what I am using.
 
As far as I remember Ubuntu installs the free java version/browser plugin by default. so if you install the sun-java6-plugin it will still not work because Firefox still loads the old one - so you need to remove the free one. If you cannot figure it out pls send me what Ubuntu version do you use and I will send you more details.
 
g0rt3k: You were right. I tried my wife's windows laptop ( First time I used windows since 1996) and it worked. Re-installed java. I use Sun jdk & jre. Re-installed sun plugin and now it works! BTW, I use firefox+SUN java+linux. Never could get the VNC to work with Chrome. I always get the grey screen :-(

thank you thank you - What a relief, as I wanted to move VMs to production.

tom: thank you for this post. I don't use the openjdk and its removed from my desktop but the link you provided would have helped (because the sun plugin was the problem). Thank you.
 

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!