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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...