Page 1 of 1

VNC connects then times out

Posted: 21. Jul 2017, 06:20
by jdh239
This used to work, but VNC started failing for me today when connecting to headless guests. What started it was my interface renaming itself on a reboot. I was able to get everything up and running again fine, except for the VNC connections. A network trace shows the client connecting to the server (syn, synack, ack), but then the server does nothing. After 20-30 seconds the client times out and I can't connect to the VM guest. I know something on the server must be broken, but don't know where to look. Ideas?

HOST: Ubuntu 16.04
FIREWALL (Disabled)

Code: Select all

#/home/vbox/VirtualBox VMs/ocfs1# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Code: Select all

#/home/vbox/VirtualBox VMs/ocfs1# netstat -ant | grep 4010
tcp        0      0 0.0.0.0:4010            0.0.0.0:*               LISTEN
tcp6       0      0 :::4010                 :::*                    LISTEN

Re: VNC connects then times out

Posted: 21. Jul 2017, 13:12
by Perryg
Post the guests log file ( as an attachment ). Right click on the guest in the Main Manager then click show log. Save and post as an attachment. Compress if it is too large to post.

Re: VNC connects then times out

Posted: 21. Jul 2017, 17:28
by jdh239
Thx for the help. I checked ip_forward this morning and it is setup up correctly too. See attached log.

Re: VNC connects then times out

Posted: 21. Jul 2017, 18:06
by Perryg
You mention VNC but the extension pack installed is vRDP. How exactly are you trying to connect and to what? VNC and vRDP are not compatible so be explicit.

Re: VNC connects then times out

Posted: 21. Jul 2017, 19:13
by jdh239
VNC Viewer.
I forgot about trying RDP. Is there a VNC-specifc ext pack? I thought there was only one ext pack.

Re: VNC connects then times out

Posted: 21. Jul 2017, 19:20
by Perryg
Yes there is a VNC extension pack, but it is available through your distro and only supported by them.

Re: VNC connects then times out

Posted: 21. Jul 2017, 20:09
by jdh239
OK, thx for the info. I will see if I can find the ext pack and give it a shot.