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

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

    • Icon: Improvement Improvement
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • core
    • Ubuntu Server 18:04 and 20:04
      Jenkins (2.289.2 LTS - 2.303)

      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.

          [JENKINS-66213] Let Jenkins to install/startup in Ubuntu Server - hudson.util.AWTProblem

          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]
          

          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]

          Mark Waite added a comment -

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

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

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

              Created:
              Updated:
              Resolved: