Quantcast
Channel: WinBuilder
Viewing all articles
Browse latest Browse all 1056

WinBuilder Error (Linux): "No X11 DISPLAY variable was set, but this program performed an operation which requires it."

$
0
0

First let me say that I love WinBuilder and I've used several of the older versions and I appreciate everything the community has done to put this project together. ... And I've had issues, but either on my own or searching the forums, I was able to resolve every issues I've had... until today.  (Assuming it *can* be fixed.)

 

Now that WinBuilder 2013 is java-based and can run on Linux, I decided to switch my development platform over to my Linux server.  Problem is, I cannot get past this error:

 
Exception in thread "main" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
        at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)
        at java.awt.Window.<init>(Window.java:535)
        at java.awt.Frame.<init>(Frame.java:420)
        at java.awt.Frame.<init>(Frame.java:385)
        at javax.swing.JFrame.<init>(JFrame.java:180)
        at build.GUI.<init>(GUI.java:50)
        at build.Core.main(Core.java:91)
 
Now, I know enough about Linux and such that this error is likely due to this being a headless system that isn't running X and has no Desktop/GUI.... thus the error.  But from the screenshots/images of the new WinBuilder 2013, I thought I would be able to run this without X.
 
My system is a KVM Virtual Machine running Tiny Core Linux 4.7.3 and I compiled/installed Java JRE 7 update 45 (latest at the time of creating this post).  The system has 1GB of RAM and WinBuilder has a dedicated 4GB filesystem (and is barely using any space at all right now).  I can give more specifications as required, but I doubt even this is necessary.
 
Am I to assume that WinBuilder 2013 requires X to display or can it be forced to run completely in a terminal?
Because I am aiming to accomplish several things with this new version: First, I want to run it on my Linux server without installing X. Also, I want to be able to automate the creation of an ISO using WinBuilder 2013 via a bash script or such. And I want to run it on my server, because it has RAID'd hard-drives, a very fast CPU, and tons of potential RAM (I only allocated 1GB for now).  But basically, I'm trying to off-load a lot of CPU/RAM/Time intensive programs off my laptop and onto my server, thus freeing up my laptop for personal stuff.
 
Also, I believe this is the first time I've posted here, because I've normally been able to find the information I've needed, but this time I couldn't find any posts referring to X or X11 errors with the new version.  (And please bear with me if I've posted into the wrong wrong area of the Forum, I wasn't sure exactly where to put this.)
 
Thanks in advance,
Steven

Viewing all articles
Browse latest Browse all 1056

Trending Articles