web photo gallery builders in Gnome? (NEW PROBLMES)

Dan Martin volume at dmartin.org
Fri Oct 28 19:31:47 UTC 2005


> GRRRRRRR -- Ok -- now when i try to install JAlbum, i get the 
> following
> errors:
> 
> root at ubuntu-laptop:/opt# export 
> JAVA_HOME=/usr/lib/j2sdk1.5-sun/ root at ubuntu-laptop:/opt# 
> export PATH=/usr/lib/j2sdk1.5-sun/bin:$PATH
> root at ubuntu-laptop:/opt# ./JAlbuminstall.bin Preparing to install...
> Extracting the installation resources from the installer archive...
> Configuring the installer for this system's environment...
> 
> Launching installer...
> 
> Invocation of this Java Application has caused an 
> InvocationTargetException. This application will now exit. (LAX)
> 
> Stack Trace:
> java.awt.HeadlessException:
> No X11 DISPLAY variable was set, but this program performed 
> an operation which requires it.

Well, you've logged into an X session (Gnome) as some user...but you are
running the installer from the terminal as "root".  So the installer tries
to connect to root's X session to show you a GUI, but there isn't an X
session for root.

Type "exit" to become yourself again (perhaps confirm with the command
"whoami" that you aren't still root).  Now you need to run those export
commands again (you set environment variables for root, not for yourself).
Then type:

sudo ./JAlbuminstall.bin

That runs the installer as you, but with superuser rights.

-Dan





More information about the ubuntu-users mailing list