| Dear Greenstone users,
I am trying to install Greenstone 2.73 on Ubuntu
server 6.06. Everything worked fine but when I try to
access the Librarian Interface through the command
bash gli.sh I get the following message:
/usr/local/gsdl/gli# bash gli.sh
Greenstone Librarian Interface (GLI)
Copyright (C) 2006, New Zealand Digital Library
Project, University Of Waikato
GLI comes with ABSOLUTELY NO WARRANTY; for details see
LICENSE.txt
This is free software, and you are welcome to
redistribute it
Checking GSDL: /usr/local/gsdl
Your environment has successfully been set up to run
Greenstone
Checking Perl: /usr/bin/perl
Checking Java: /usr/bin/java
Running the Greenstone Librarian Interface...
Version: v2.73
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.access$000(Unknown
Source)
at
sun.awt.X11GraphicsEnvironment$1.run(Unknown Source)
at
java.security.AccessController.doPrivileged(Native
Method)
at
sun.awt.X11GraphicsEnvironment.<clinit>(Unknown
Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown
Source)
at sun.awt.X11.XToolkit.<clinit>(Unknown
Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.Toolkit$2.run(Unknown Source)
at
java.security.AccessController.doPrivileged(Native
Method)
at java.awt.Toolkit.getDefaultToolkit(Unknown
Source)
at javax.swing.ImageIcon.<init>(Unknown
Source)
at javax.swing.ImageIcon.<init>(Unknown
Source)
at
org.greenstone.gatherer.util.JarTools.getImage(JarTools.java:93)
at
org.greenstone.gatherer.util.JarTools.getImage(JarTools.java:86)
at
org.greenstone.gatherer.util.JarTools.initialise(JarTools.java:46)
at
org.greenstone.gatherer.Gatherer.<init>(Gatherer.java:140)
at
org.greenstone.gatherer.GathererProg.main(GathererProg.java:77)
Done!
I have java instaled in my server and when I execute
the command update-alternatives --config java I get:
There are 4 alternatives which provide `java'.
Selection Alternative
-----------------------------------------------
1 /usr/bin/gij-wrapper-4.1
+ 2 /usr/lib/jvm/java-gcj/jre/bin/java
3 /usr/lib/jvm/java-6-sun/jre/bin/java
* 4 /usr/lib/j2re1.5-sun/bin/java
I tried each one of the alternatives in gli.sh but I
always get an error message.
Also I tried to change the DISPLAY with the command:
export DISPLAY=localhost:10.0
Nothing changed.
I will appreciate any feedback on how to make
Greenstone work.
Thanks in advance,
Yacine
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/ |