When trying to start vncserver with sudo, you may get an error like

$ sudo vncserver :1 -extension XFIXES"
vncserver: Wrong type or access mode of /home/arcoleo/.vnc.

To fix this, type

su - username bash -c "commands"

Linux