I recently received a new ubuntu 16.04 machine.
I installed tightVNC server and acccessing it using RealVNC from my windows 10 machine. For window manger, I'm using Xfce4. But when I press alt-tab (set to switch windows), very often the VNC is disconnected and I have restart the VNC connection (remove /tmp/.X1-lock and /tmp/.X11-unix .. and vncserver -geometry.. :1).
And this happens so often this morning and drives me crazy. I used to use centos and I expected everything will be breeze in installing but I seem to have more problems in ubuntu 16.4. How can I fix this problem?

  • I tried vino before but it was ok. (but vino provides no separate screen, it's actual screen on the console, and it was rather slow, so I switched to tightvnc). I'll try other vnc server tomorrow like vnc4server which I'm using on my CentOs machine with no problem. – Chan Kim Aug 28 '18 at 12:00
  • 1
    @dsstorefile1 I just installed vnc4server and tested some, it looks it works just fine. With the same test this morning, tightvnc crashes all the same..so I'll use vnc4server from now on. Thanks for the suggestion. – Chan Kim Aug 29 '18 at 0:40

I just installed vnc4server and it looks it works just fine. When I resize the web browser violently, it doesn't crash. Definately tightvnc seems to have a bug.

I did
sudo apt-get install vnc4server
to install vnc4server, and

sudo update-alternatives vncserver --config
and selected vnc4server in the list.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.