On a 14.04 system I was installing VNC server with:
apt-get install vnc4server -y --force-yes
My problem is that each time I run
vncserver it is locking my .Xauthority file in Home directory making the next local logon attempt to default unity desktop impossible, it is looping.
The solution is ctrlaltF1, login to the terminal and deleting the .Xauthority file, after that the login is working.
What should I do to solve this issue preventing
vncserver somehow to stop locking the .Xauthority file every time?
Many thanks in advance!