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

XVnc plugin fails to set the DISPLAY variable properly if jenkins already

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • xvnc-plugin
    • None

    Description

      If jenkins already hase the environment variable DISPLAY set then a job using the Xvnc plugin will see this global value instead of the one that Xvnc chooses.

      Example:
      I upgraded jenkins by doing an ssh to the master and running "sudo apt-get install jenkins". Because ssh forwards X the DISPLAY variable was set to "localhost:10" in jenkins.

      When Xvnc now runs the job it chooses a different value for DISPLAY, say "localhost:45". However, the job still sees the value "localhost:10" and fails because this is not a usable display.

      Attachments

        Issue Links

          Activity

            People

              levsa Levon Saldamli
              mhans Martin Hans
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: