I'm not sure if this belongs on StackOverflow or here, but since the programs work on one version of Ubuntu, I try here.
We have a small python application that starts a virtual X display on the server once a day and then runs several programs that need the X display. This program ran fine on Ubuntu 10.04, and continued to work fine on a server with 12.04.
Now we are looking at bringing up a server using 14.04 and this application doesn't work, although all of the prerequisites have been met (latest version of PyVirtualDisplay and tightvncserver).
On 14.04 this program fails, and what is most problematic in debugging is, that we cannot peek at the X screen as we do on the 12.04 server, because on 14.04 it asks for a password. I expected this was some security change in the tightvncserver
software but on both 12.04 and 14.04 this is version 1.3.9 altough the Ubuntu specific version differs (6.2 vs 6.4).
I use the same VNC client from the client machine to connect to both servers.
What can I try to get rid of the password prompt and continue to see what (else) might be wrong? I'm sure no password has been set since the server was brought up and I cannot begin to guess what it could be.
vncserver
prompts the user to set a password the first time it is invoked for that account, which is stored (encrypted) in ~/.vnc/passwd - does such a file exist on the respective servers/accounts? Regardless, you should simply be able to runvncpasswd
on the target server to set a password of your choice. – steeldriver Jun 14 '15 at 13:05vncserver
as installed from tightvnc doesn't prompt for a password. – Anthon Jun 14 '15 at 13:40