Full details are that I configured the
system by logging in as Hudson on my device and installing vnc-server (via
yum install vnc-server)
then ran vncserver to create & set up a password. I then killed
that vncserver with "vncserver -kill :1" as suggested by
http://jenkins.361315.n4.nabble.com/problems-running-the-Xvnc-plugin-td2254960.html.
Unfortunately, I am receiving the following error when I try to run my build
about
requiring a password to access your desktops. Any ideas on this? (I
have tried checking the "Clean up before start" option)
Here is the full console output:
Starting xvnc
[workspace] $ /usr/bin/vncserver :10 -geometry 800x600
You will require a password to access your desktops.
getpassword error: Invalid argument
Password:Starting xvnc
[workspace] $ /usr/bin/vncserver :11 -geometry 800x600
You will require a password to access your desktops.
getpassword error: Invalid argument
Password:Starting xvnc
[workspace] $ /usr/bin/vncserver :12 -geometry 800x600
You will require a password to access your desktops.
getpassword error: Invalid argument
Password:Starting xvnc
[workspace] $ /usr/bin/vncserver :13 -geometry 800x600
You will require a password to access your desktops.
getpassword error: Invalid argument
Password:ERROR: Failed to parse POMs
java.io.IOException: Failed to run '/usr/bin/vncserver :13 -geometry
800x600' (exit code 1), blacklisting display #13; consider checking the
"Clean up before start" option
at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:100)
at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:98)
at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:98)
at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:98)
at hudson.plugins.xvnc.Xvnc.setUp(Xvnc.java:73)
at
hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:521)
at
hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:420)
at hudson.model.Run.run(Run.java:1362)
at
hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:405)
at
hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)
Finished: FAILURE
--
View this message in context: http://jenkins.361315.n4.nabble.com/Xvnc-Plugin-Password-Issue-already-ran-as-hudson-usr-tp3470679p3470679.html
Sent from the Jenkins users mailing list archive at Nabble.com.