Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3285

Option to clean up VNC locks during Hudson startup

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: xvnc-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      The plugin currently recommends that your Hudson startup script run something like

      killall Xvnc
      rm -fv /tmp/.X*-lock /tmp/.X11-unix/X*

      It should rather offer to do this itself when initialized. Could be a checkbox
      in plugin global config (off by default), with an editable command.

        Attachments

          Activity

          Hide
          jglick Jesse Glick added a comment -

          May be difficult in the presence of slaves - would need to run this command on a
          slave when it is brought online. Is there a hook for that?

          Show
          jglick Jesse Glick added a comment - May be difficult in the presence of slaves - would need to run this command on a slave when it is brought online. Is there a hook for that?
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : jglick
          Path:
          trunk/hudson/plugins/xvnc/src/main/java/hudson/plugins/xvnc/Xvnc.java
          trunk/hudson/plugins/xvnc/src/main/resources/hudson/plugins/xvnc/Xvnc/global.jelly
          trunk/hudson/plugins/xvnc/src/main/resources/hudson/plugins/xvnc/Xvnc/help-cleanUp.html
          http://jenkins-ci.org/commit/33054
          Log:
          [FIXED JENKINS-3285] Option to automatically clean up stale processes & locks.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : jglick Path: trunk/hudson/plugins/xvnc/src/main/java/hudson/plugins/xvnc/Xvnc.java trunk/hudson/plugins/xvnc/src/main/resources/hudson/plugins/xvnc/Xvnc/global.jelly trunk/hudson/plugins/xvnc/src/main/resources/hudson/plugins/xvnc/Xvnc/help-cleanUp.html http://jenkins-ci.org/commit/33054 Log: [FIXED JENKINS-3285] Option to automatically clean up stale processes & locks.

            People

            • Assignee:
              Unassigned
              Reporter:
              jglick Jesse Glick
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: