How create 2D graphic (informer) in Linux without graphical environment X11.
I use awt.* and jimi.* but linux write:
----
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window
server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:5
----
Are you saying that DISPLAY is not set correctly or are you really not
running X?
If the former, fix either your DISPLAY setting or your X permissions
("man xauth").
Otherwise, one of the following can be used to get character
"graphics" on a text console:
http://www.pitman.co.za/projects/charva/index.html
http://home.att.net/~psantoro/jnicurses/jnicurses.html
http://www.bmsi.com/tuipeer/
If you in fact don't need to display anything but just want to use
some of the awt stuff, use Xvfb (from ftp.x.org) instead.
/gordon
--
[ do not send me private copies of your followups ]
g o r d o n . b e a t o n @ e r i c s s o n . c o m
Are you saying that DISPLAY is not set correctly or are you really not
running X?
If the former, fix either your DISPLAY setting or your X permissions
("man xauth").
Otherwise, one of the following can be used to get character
"graphics" on a text console:
http://www.pitman.co.za/projects/charva/index.html
http://home.att.net/~psantoro/jnicurses/jnicurses.html
http://www.bmsi.com/tuipeer/
If you in fact don't need to display anything but just want to use
some of the awt stuff, use Xvfb (from ftp.x.org) instead.
/gordon
--
[ do not send me private copies of your followups ]
g o r d o n . b e a t o n @ e r i c s s o n . c o m
========= WAS CANCELLED BY =======:
From: n...@for.email (Gordon Beaton)
Control: cancel <a2r1pq$i7r$1...@news.du.uab.ericsson.se>
Subject: cmsg cancel <a2r1pq$i7r$1...@news.du.uab.ericsson.se>
Date: Mon, 28 Jan 2002 00:18:20 GMT
Message-ID: <cancel.a2r1pq$i7r$1...@news.du.uab.ericsson.se>
X-No-Archive: yes
Newsgroups: microsoft.test,alt.flame.niggers,comp.lang.java.help
NNTP-Posting-Host: w088.z064003087.lax-ca.dsl.cnc.net 64.3.87.88
Lines: 1
Path: news.uni-stuttgart.de!cert.uni-stuttgart.de!news.belwue.de!fu-berlin.de!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!news-in-sanjose!sjc-feed.news.verio.net!sea-feed.news.verio.net!news.verio.net!msrnewsc1!cppssbbsa01.microsoft.com!tkmsftngp01!tkmsftngp04!u&n&a&c&anceller
Xref: news.uni-stuttgart.de control:40722069
This message was cancelled from within The Unacanceller's glorious new software, Lotus 1-2-3 For Rogue Cancellers.