radj307
Members-
Posts
3 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
radj307's Achievements
Tree Puncher (2/8)
0
Reputation
-
[RESOLVED] [Debian 11] Headless Installer
radj307 replied to radj307's topic in Support & Bug Reports
Ah, works great, many thanks! Full command for anyone that stumbles across this later: java -jar forge-*-installer.jar --installServer -
[RESOLVED] [Debian 11] Headless Installer
radj307 replied to radj307's topic in Support & Bug Reports
It should also be noted that the `nogui` option I've seen some people using has no effect; the output is identical. -
radj307 joined the community
-
Expected Behaviour An installation method that doesn't require an X server for no reason. Actual Behaviour While attempting to create a window on a machine with no screen, the installer crashes with the error 'No X11 DISPLAY variable was set' - since there is no X server installed. Log java -jar forge-1.18.2-40.1.31-installer.jar JVM info: Debian - 17.0.2 - 17.0.2+8-Debian-1deb11u1 java.net.preferIPv4Stack=true Found java version 17.0.2 Exception in thread "main" java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:166) at java.desktop/java.awt.Window.<init>(Window.java:553) at java.desktop/java.awt.Frame.<init>(Frame.java:428) at java.desktop/java.awt.Frame.<init>(Frame.java:393) at java.desktop/javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1919) at java.desktop/javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1995) at java.desktop/javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1695) at java.desktop/javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:874) at java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:676) at java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:647) at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:177) at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:147)