Hudson 的Xvnc 无法启动问题

问题表现:
Updating ............ revision: May 23, 2013 1:25:27 PM depth:infinity ignoreExternals: false U integration_tests/src/test/java/com/gsegment/svom/PacketWorkflowTest.java At revision 2815 Starting xvnc [workspace] $ vncserver :78 -localhost -nolisten tcp You will require a password to access your desktops. Password: Password too short Starting xvnc [workspace] $ vncserver :82 -localhost -nolisten tcp You will require a password to access your desktops. Password: Password too short Starting xvnc [workspace] $ vncserver :59 -localhost -nolisten tcp You will require a password to access your desktops. Password: Password too short Starting xvnc [workspace] $ vncserver :86 -localhost -nolisten tcp You will require a password to access your desktops. Password: Password too short Starting xvnc [workspace] $ vncserver :60 -localhost -nolisten tcp You will require a password to access your desktops. Password: Password too short Starting xvnc [workspace] $ vncserver :23 -localhost -nolisten tcp You will require a password to access your desktops. Password: Password too short Starting xvnc [workspace] $ vncserver :92 -localhost -nolisten tcp You will require a password to access your desktops. Password: Password too short Starting xvnc [workspace] $ vncserver :79 -localhost -nolisten tcp You will require a password to access your desktops. Password: Password too short Starting xvnc [workspace] $ vncserver :37 -localhost -nolisten tcp You will require a password to access your desktops. Password: Password too short Starting xvnc [workspace] $ vncserver :73 -localhost -nolisten tcp You will require a password to access your desktops. Password: Password too short Starting xvnc [workspace] $ vncserver :87 -localhost -nolisten tcp You will require a password to access your desktops. Password: Password too short FATAL: Failed to run 'vncserver :87 -localhost -nolisten tcp' (exit code 1), blacklisting display #87; consider checking the "Clean up before start" option java.io.IOException: Failed to run 'vncserver :87 -localhost -nolisten tcp' (exit code 1), blacklisting display #87; consider checking the "Clean up before start" option at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:110) at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:108) at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:108) at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:108) at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:108) at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:108) at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:108) at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:108) at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:108) at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:108) at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:108) at hudson.plugins.xvnc.Xvnc.setUp(Xvnc.java:80) at hudson.model.Build$RunnerImpl.doRun(Build.java:129) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:434) at hudson.model.Run.run(Run.java:1390) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:40) at hudson.model.ResourceController.execute(ResourceController.java:82) at hudson.model.Executor.run(Executor.java:137)

解决方案:解决这个问题其实很简单。首先你需要用hudson账号登陆你服务器(如果不知道账号密码,可以通过root或其他管理员用户修改hudson用户密码)。然后在hudson账户下运行指令:vncserver
这时要求你输入密码。完成后再重新再hudson中build。

你可能感兴趣的:(hudson)