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

Let Jenkins to install/startup in Ubuntu Server - hudson.util.AWTProblem

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
    • Environment:
      Ubuntu Server 18:04 and 20:04
      Jenkins (2.289.2 LTS - 2.303)
    • Similar Issues:

      Description

      Is not possible startup Jenkins in peace in Ubuntu Server. It for any:

      • java                                          -jar jenkins.war --httpPort=9090
      • java -Djava.awt.headless=true -jar jenkins.war --httpPort=9090

      Even with:

      • sudo apt install ttf-dejavu
      • sudo apt install xvfb 

      it according with:

      For more details please see the SO link.

      Thank You.

        Attachments

          Activity

          Hide
          manueljordan Manuel Jordan added a comment -

          Thanks to:

          The solution is install as follows:

          sudo apt install fontconfig

          And is enough execute jenkins as:

          java -jar jenkins.war [--httpPort=9090]
          
          Show
          manueljordan Manuel Jordan added a comment - Thanks to: https://issues.jenkins.io/browse/JENKINS-59396 The solution is install as follows: sudo apt install fontconfig And is enough execute jenkins as: java -jar jenkins.war [--httpPort=9090]
          Hide
          markewaite Mark Waite added a comment -

          The Jenkins Docker image for Debian slim installs libfreetype6 and libfontconfig1. I assume those are dependencies of fontconfig.

          Show
          markewaite Mark Waite added a comment - The Jenkins Docker image for Debian slim installs libfreetype6 and libfontconfig1. I assume those are dependencies of fontconfig.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            manueljordan Manuel Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: