Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Post Setting X11 DISPLAY variable


    I have tried to execute a jar file from the command line, and I got the follwing error:

    No X11 DISPLAY variable was set, but this program performed an operation which requires it.

    Where should I set the variable (or what could be done)? Thank you.

  2. #2
    export DISPLAY=:0.0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts