export display and Gtk-WARNING **: cannot open display:
Hello,
I'm running a java program on my virtual server that requires swing.
As I only have access to the command line I have installed Xvfb.
I've exported the display but when I run the java program it gives me the error Gtk-WARNING **: cannot open display:
Here are the commands I've written:
> export DISPLAY=:0.0
> echo $DISPLAY
:0.0
> java report3
Program running //output from program
(.:16211): Gtk-WARNING **: cannot open display:
I'm new to all this so would appreciate any help enormously.
Many thanks!
|