A /dev/null equivilent for DISPLAY when the display is just noise

前端 未结 5 1625
春和景丽
春和景丽 2021-02-05 06:39

I\'m running a java app which creates a visual display of some of the things it is doing, while it is doing it. However, I\'m want to run this in a script that won\'t have a dis

5条回答
  •  悲&欢浪女
    2021-02-05 07:07

    Short answer, use:

    xvfb-run JAVA_COMMAND_LINE
    

    Depending on your version and flavor of Linux, there may be one line you have to change in xvfb-run to get everything to run.

提交回复
热议问题