You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by GitBox <gi...@apache.org> on 2022/12/23 05:16:32 UTC

[GitHub] [jmeter] ankurldots opened a new issue, #5751: No X11 DISPLAY variable was set

ankurldots opened a new issue, #5751:
URL: https://github.com/apache/jmeter/issues/5751

   ### Expected behavior
   
   I downloaded the latest binary and tried to run Jmeter. However I got the error as described in actual behaviour.
   
   Expected behaviour was - Jmeter GUI should open. 
   
   
   
   
   ### Actual behavior
   
   ankur@ankur:~/software/apache-jmeter-5 (1).5/bin$ ./jmeter
   ================================================================================
   Don't use GUI mode for load testing !, only for Test creation and Test debugging.
   For load testing, use CLI Mode (was NON GUI):
      jmeter -n -t [jmx file] -l [results file] -e -o [Path to web report folder]
   & increase Java Heap to meet your test requirements:
      Modify current env variable HEAP="-Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m" in the jmeter batch file
   Check : https://jmeter.apache.org/usermanual/best-practices.html
   ================================================================================
   An error occurred: 
   **No X11 DISPLAY variable was set,
   or no headful library support was found,
   but this program performed an operation which requires it,**
   
   
   ### Steps to reproduce the problem
   
   system information
   
   ![image](https://user-images.githubusercontent.com/69628422/209275279-d33894d1-03ec-46cd-ac46-a591551b8060.png)
   
   My display variable is also set - 
   ankur@ankur:~/software/apache-jmeter-5 (1).5/bin$ echo $DISPLAY 
   :1
   
   I am using dual display, is that the issue?
   
   ### JMeter Version
   
   5.5
   
   ### Java Version
   
   openjdk version "19.0.1" 2022-10-18 OpenJDK Runtime Environment (build 19.0.1+10-Ubuntu-1ubuntu122.04) OpenJDK 64-Bit Server VM (build 19.0.1+10-Ubuntu-1ubuntu122.04, mixed mode, sharing)
   
   ### OS Version
   
   Ubuntu 22.04.1 LTS


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [jmeter] ankurldots commented on issue #5751: No X11 DISPLAY variable was set

Posted by GitBox <gi...@apache.org>.
ankurldots commented on issue #5751:
URL: https://github.com/apache/jmeter/issues/5751#issuecomment-1371772450

   Its Jmeter, so i dont know what packages? can i run some command and give you more information?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [jmeter] FSchumacher commented on issue #5751: No X11 DISPLAY variable was set

Posted by GitBox <gi...@apache.org>.
FSchumacher commented on issue #5751:
URL: https://github.com/apache/jmeter/issues/5751#issuecomment-1371359661

   I never tried to use a GUI from within wsl, but the error message says: 
   
   > No X11 DISPLAY variable was set, or no headful library support was found,
   
   So, if you have set the DISPLAY variable, it could be, that you have not installed the needed X11 libraries or a JRE with the needed X11 parts. In Ubuntu there are JRE/JDK packages, that exclude those parts. Which packages do you use (have installed)?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [jmeter] FSchumacher commented on issue #5751: No X11 DISPLAY variable was set

Posted by GitBox <gi...@apache.org>.
FSchumacher commented on issue #5751:
URL: https://github.com/apache/jmeter/issues/5751#issuecomment-1371849534

   No, it is not JMeter. It is your Java installation. Look for openjdk packages.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org