LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-24-2009, 02:51 AM   #1
zimma
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gtk warning cannot open display bosewicht Linux - Newbie 2 03-10-2010 07:53 PM
Gtk-WARNING **: cannot open display elfoozo DamnSmallLinux 3 07-12-2007 09:41 PM
GTK-WARNING **: Can't open display steven_yu Linux - Software 1 06-07-2007 02:10 PM
Gtk-WARNING **: cannot open display: a_l_a_n Linux - General 5 03-31-2007 03:44 PM
Gtk-WARNING **: cannot open display ocset Linux - Software 2 10-18-2004 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration