21 September 2014

Update to VNC: tightvncserver instability

Update to http://zmodemz.blogspot.com/2010/03/ubuntu-vnc.html

tightvncserver was crashing on me when doing simple things like opening file manager. I was getting the following error:

Sep 14 00:21:45 servername kernel: [440445.907880] Xtightvnc[12447]: segfault at 7fffaf355000 ip 0000000000448a2e sp 00007fffaf352c80 error 6 in Xtightvnc[400000+178000]

Turns out that the instability is just in this version of tightvncserver, should be fixed in 1.3.10. So for the time being, I swapped out tightvncserver for vnc4server. The commands are identical as far as I can tell, so the switch was easy.

Software Versions:
Xubuntu 14.04.1 LTS (Trusty Tahr)
tightvncserver 1.3.9
vnc4server 4.1.1


  1. THANK YOU! And thanks for posting the full error text and fix. I too was getting segfaults at 0000000000448a2e - seemingly on window open events when accessing a Mint VM via Remmina, especially in association with launching JavaFX applications.

    Your fix seems to have cleaned everything up for me. :)

  2. Thank you very much for this hint! Replacing vnc4server with tightvncserver. I have to explicitly uninstall tightvncserver so it will use vnc4server.

    The link here also has some hints: https://askubuntu.com/questions/621313/vnc-server-for-headless-ubuntu-14-04