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

Option to clean up VNC locks during Hudson startup

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • xvnc-plugin
    • None
    • Platform: All, OS: All

    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

          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?

          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?

          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.

          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

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

            Dates

              Created:
              Updated:
              Resolved: