I am trying to run my Pi headless from my 2 computers both running Ubuntu 16.04.
I downloaded the latest version of RealVNC executable and installed it in the home directory. I also created the .desktop file to be able to start the Viewer from the GUI.
On one system everything works well either from GUI or from the Terminal by doing ./VNC......6.1.1....
On the second system running from GUI starts the Viewer and the proper screen comes up but then waits forever when trying to connect to the Pi.
In terminal mode ./VNC....6.1.1.... does nothing. However if I do sudo ./VNC....6.1.1..... the program works.
All permissions and ownership are set exactly the same on both systems.
Any ideas please?