I just installed Ubuntu Gnome 16.04 LTS and unfortunately the default VNC server does not work anymore.
The reason for this could be that the display variable is not properly set on startup, because when I type the following on the notebooks keyboard:
export DISPLAY=:0.0/usr/lib/vino/vino-server
I am able to connect to the machine. (I tried adding these lines to /etc/rc.local but that didn't seem to do the trick). Furthermore, connectiong to the machine takes way longer than before.
Does somebody have any idea whats wrong?