cancel
Showing results for 
Search instead for 
Did you mean: 

SERVER COMPONENTS INSTALLATION

eonsase
Participant

Hi,

I am installing server components in suse linux but I am getting this error

Exception in thread "main" java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:208) at java.awt.Window.<init>(Window.java:536) at java.awt.Frame.<init>(Frame.java:420) at java.awt.Frame.<init>(Frame.java:385) at javax.swing.JFrame.<init>(JFrame.java:189) at com.sap.businessone.installer.wizard.collector.gui.swing.InstallWizardFrame.<init>(InstallWizardFrame.java:68) at com.sap.businessone.installer.wizard.InstallWizard.lambda$new$0(InstallWizard.java:74) at com.sap.businessone.installer.wizard.InstallWizard.lambda$getCollectorHandler$1(InstallWizard.java:109) at java.util.HashMap.computeIfAbsent(HashMap.java:1127) at com.sap.businessone.installer.wizard.InstallWizard.getCollectorHandler(InstallWizard.java:109) at com.sap.businessone.installer.wizard.step.InstallWizardStep.validateData(InstallWizardStep.java:176) at com.sap.businessone.installer.wizard.navigation.NavigableStep.process(NavigableStep.java:85) at com.sap.businessone.installer.wizard.navigation.WizardNavigator.goToNext(WizardNavigator.java:51) at com.sap.businessone.installer.wizard.navigation.WizardNavigator.goToNext(WizardNavigator.java:67) at com.sap.businessone.installer.wizard.navigation.WizardNavigator.goToNext(WizardNavigator.java:67) at com.sap.businessone.installer.wizard.InstallWizard.analyzeArguments(InstallWizard.java:253) at com.sap.businessone.installer.wizard.InstallWizard.run(InstallWizard.java:187) at com.sap.businessone.installer.wizard.InstallWizard.main(InstallWizard.java:172)

Accepted Solutions (0)

Answers (3)

Answers (3)

singhakash
Explorer
0 Kudos

very nice explanation for X11 Display

brunopbaffonso
Active Participant
0 Kudos

To install the SAP B1 Server Components you must connect via RDP or VNC. To run the setup GUI.

If this error occurs, you must set the X11 DISPLAY variable, then setup the GUI.

Here are some valid values to set this variable:

export DISPLAY=:
export DISPLAY=:0.0
export DISPLAY=:1.0
export DISPLAY=:10.0
export DISPLAY=:20.0
export DISPLAY=:200.0

P.S.: To see the actual value of X11 DISPLAY, you can run the command:

echo $DISPLAY
dasistdochscheisse
Active Participant
0 Kudos

It looks like the installer (Yast?) wants to connect to an X-server (No X11 DISPLAY variable was set). Do you use Putty? In Putty, there is no X-server included. MobaXterm has an X-Server included and there is a portable version available. Or you use the non-graphical version of Yast.