java.awt.HeadlessException on MineOS
Pavocracy opened this issue ยท 6 comments
Modpack Version
0.5.21
Describe your issue.
I am trying to install this modpack on my MineOS server. It currently has other modpacks running well.
The way i do this is use the webui to install a "vanilla" server, and then scp
the modpack zip to the server directory and follow normal installation instructions for the modpack.
In this case, once i had the Enigmatica6Server-0.5.21-log4j-fix.zip on the server, i used unzip Enigmatica6Server-0.5.21-log4j-fix.zip
and then run sh start-server.sh
. It downloaded all of the mods correctly, but it got stuck with the forge jar. So i manually got it with wget https://maven.minecraftforge.net/net/minecraftforge/forge/1.16.5-36.2.20/forge-1.16.5-36.2.20-installer.jar
, but the start-server.sh script still did not work. It has the below error:
So instead i tried to also run the forge jar with java -jar forge-1.16.5-36.2.20-installer.jar
but i get the awt error as below:
I have tried commenting out assistive_technologies=org.GNOME.Accessibility.AtkWrapper
line in /etc/java-8-openjdk/accessibility.properties as per stackoverflow threads but this does not work.
Is there a way to install this modpack on a headless OS? or is a display output needed to run this jar?
Crash Report
No response
Latest Log
No response
Have you modified the modpack?
No
User Modifications
No response
Did the issue happen in singleplayer or on a server?
Server
๐ @Pavocracy, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channel on our Discord to get help with the project.
I can run this fine on my windows machine, and it does indeed pop up the GUI that makes me select if im installing a client or a server.
Is there a way to pass a command line argument to the forge installer to select the server option and bypass the gui popping up?
Surely i am not the only one that has tried to install this server on an OS that does not have a display output?
for the installer I believe its -installServer .
We've got a few linux users in discord who are active there. Not anyone on here I'm afraid.
This fixed my issue! Thank you!
Well there's the -nogui
toggle, but that doesn't stop the command prompt from opening.