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?
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to