Indeed. The OP contacted me offlist and I suggested running a virtual 
framebuffer for X11 and sent them a link.

Sean

On May 9, 2014, at 10:52 AM, Stuart Sierra <the.stuart.sie...@gmail.com> wrote:
> This sounds more like a problem with remote access to X-Windows (the Unix 
> graphical back-end) than a Clojure-specific problem. You might find some 
> helpful answers in Ubuntu docs, forums, or chat rooms.
> -S
> 
> 
> On Friday, May 9, 2014 6:57:26 AM UTC-4, stiffyrabbit jr wrote:
> Hi,
> 
> What should my approach be, if I want my headless server to run a client 
> program that uses the client GUI?
> 
> How can my server provide the same resources as a local client, to use GUI 
> objects?
> 
> I have a Clojure program that opens a file dialog on the client.  It works 
> fine, until I try to run it from the server.
> 
> My setup:
> 
> A Macbook Pro with VirtualBox and LightTable on it;
> VirtualBox running Ubuntu 14.4, Leiningen, Clojure.  Ubuntu has extension 
> pack, in response to this problem;
> 
> I start VB - VBoxManage startvm 'Core' --type headless;
> 
> I login to Core - ssh Core normally, ssh -v -X Core in desparation;
> 
> I launch a repl in a Clojure proj.  I use the host:port details as a LT nrepl 
> connection.  I get the following error:
> 
> java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program 
> performed an operation which requires it.
> 
> I have tried so many things to resolve this, that I get lost in it all.
> 
> What approach will ensure that my server can run a program that requires 
> DISPLAY, and use client GUI objects?


Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to