Java Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable
This command helped me to solve the problem:
export DISPLAY=:0
Error : Can' t connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable
You have a couple of options to try:
Specify the
-Djava.awt.headless=true
parameter at startup time (either for your app or the server itself in the JVM_ARGS of theServer Start
tab or startWebLogic.sh).Try
export DISPLAY=:0
before starting your weblogic server.Check to see if the X Server is running in another port
Try to completely unset the display before starting the server
unset DISPLAY
Java Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable
This command helped me to solve the problem:
export DISPLAY=:0
Related Topics
Inconsistent Performance Applying Foregroundactions in a Jeditorpane When Reading Html
How to Download Image from Any Web Page in Java
Convert Word Doc to HTML Programmatically in Java
Example Images For Code and Mark-Up Q&As
How to Use Java 8 For Android Development
Android, Getting Resource Id from String
How to Paginate Firestore With Android
Firestore Whereequalto, Orderby and Limit(1) Not Working
Firebase Ui Authentication With Google Fails With Message (Code:10 Message:10)
How to Get the Download Url from Firebase Storage
Why Is It Considered a Bad Practice to Omit Curly Braces
Convert Word Doc to HTML Programmatically in Java
How to Call a Soap Web Service on Android
Android Update 17 Seems Incompatible With External Jars