I’m unable to find a good configuration for running the java-based Starfarer on my openSuSE 11.4 machine.
user@linux-mx43:/etc/X11/xorg.conf.d> echo $DISPLAY
:0.0
I continue to get a headless error in the logs:
0 [main] INFO com.fs.starfarer.StarfarerLauncher - Starting Starfarer launcher
2 [main] INFO com.fs.starfarer.StarfarerLauncher - OS: Linux 2.6.37.1-1.2-desktop
3 [main] INFO com.fs.starfarer.StarfarerLauncher - Java version: 1.6.0_25
190 [main] ERROR com.fs.starfarer.StarfarerLauncher - java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
at java.awt.Window.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at javax.swing.JFrame.<init>(Unknown Source)
at com.fs.starfarer.launcher.new.super(Unknown Source)
at com.fs.starfarer.StarfarerLauncher.<init>(Unknown Source)
at com.fs.starfarer.StarfarerLauncher.main(Unknown Source)
I have installed the ATI driver for the Radeon HD3450 in the machine. Other applications work fine including DigiStamp’s IPprotector (java-based and uses awt), VLC media player, and GIMP.
I have altered the shell script that starts the game to use openJDK (/usr/bin/java) instead of an option that is included with the game. This change allowed me to start the game’s launcher, but it still crashes with error message below when the game tries to launch.
Fatal: Exiting - exception in LWJGL initialization
Cause: Could not init GLX
Check starfarer.log for more info