LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 05:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration