Jump to content

Recommended Posts

Posted

Hey!

I'm using the Technic Launcher on my Linux desktop and I was moving from the old X11 windowing system to wayland. But on wayland the launcher doesn't launch.

I tried to force the launcher to run on Xwayland but no luck. My script:

env -u WAYLAND_DISPLAY java -jar TechnicLauncher.jar

It gives this respose in the terminal:

Settings for exe: /home/user/Downloads/TechnicLauncher.jar
Portable settings dir: /home/user/Downloads/technic
Exception in thread "main" java.awt.HeadlessException: 
No X11 DISPLAY variable was set,
or no headful library support was found,
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.JFrame.<init>(JFrame.java:180)
        at net.technicpack.ui.controls.DraggableFrame.<init>(DraggableFrame.java:32)
        at net.technicpack.launcher.ui.InstallerFrame.<init>(InstallerFrame.java:79)
        at net.technicpack.launcher.LauncherMain.main(LauncherMain.java:172)

(the only change I made is that I replaced my username with "username" in the paths at the beginning)

Then it terminates. I hope it will get fixed.

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...