F5F Stay Refreshed Hardware Desktop No X11 output was configured. - Minecraft Tlauncher issue

No X11 output was configured. - Minecraft Tlauncher issue

No X11 output was configured. - Minecraft Tlauncher issue

C
Colefusion
Senior Member
382
10-15-2023, 09:59 AM
#1
I was attempting to set up Minecraft (TLauncher) on my Linux system using Debian or LXQt. From the beginning, I faced problems because I tried to install Java JRE 8, but the command `sudo apt-get install openjdk-8-jre` failed—no package was found. I already had Java 11 installed, and when I ran `sudo update-alternatives --config java`, only Java 11 versions appeared. Eventually, I downloaded Java from the official site. After transferring the archive to `/usr/lib/jvm`, I tried running the game with the file.jar, changing its permissions to execute it as a program. The command worked: `sudo java -jar TLauncher-2.8.jar`.

However, when I attempted to launch the game using the provided file, I encountered an error:
`debian@debian:java -jar TLauncher-2.8.jar ------------------------------------------------------------------- [Downloader2] Loaded configuration: normal java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.`

This suggests a missing X11 display setup. I checked various solutions online and on YouTube, but the advice seemed to point toward server-side fixes or specific display configurations. Could you help resolve this issue? Thank you!
C
Colefusion
10-15-2023, 09:59 AM #1

I was attempting to set up Minecraft (TLauncher) on my Linux system using Debian or LXQt. From the beginning, I faced problems because I tried to install Java JRE 8, but the command `sudo apt-get install openjdk-8-jre` failed—no package was found. I already had Java 11 installed, and when I ran `sudo update-alternatives --config java`, only Java 11 versions appeared. Eventually, I downloaded Java from the official site. After transferring the archive to `/usr/lib/jvm`, I tried running the game with the file.jar, changing its permissions to execute it as a program. The command worked: `sudo java -jar TLauncher-2.8.jar`.

However, when I attempted to launch the game using the provided file, I encountered an error:
`debian@debian:java -jar TLauncher-2.8.jar ------------------------------------------------------------------- [Downloader2] Loaded configuration: normal java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.`

This suggests a missing X11 display setup. I checked various solutions online and on YouTube, but the advice seemed to point toward server-side fixes or specific display configurations. Could you help resolve this issue? Thank you!

Z
Zmondy
Senior Member
405
10-15-2023, 02:18 PM
#2
I was attempting to set up Minecraft (TLauncher) on my Linux system using Debian or LXQt. From the beginning, I faced problems because I tried to install Java JRE 8, but the command `sudo apt-get install openjdk-8-jre` failed—no package was found. I already had Java 11 installed, and when I ran `sudo update-alternatives --config java`, only Java 11 versions appeared. Eventually, I downloaded Java from the official site. After transferring the files from my Downloads folder to `/usr/lib/jvm`, I tried running the game with the permissions set so it could execute as a program. The command worked: `sudo java -jar TLauncher-2.8.jar`. However, when I attempted to launch it with the correct permissions, I encountered an error stating that no X11 display was available. This suggests an issue with the environment setup or configuration.
Z
Zmondy
10-15-2023, 02:18 PM #2

I was attempting to set up Minecraft (TLauncher) on my Linux system using Debian or LXQt. From the beginning, I faced problems because I tried to install Java JRE 8, but the command `sudo apt-get install openjdk-8-jre` failed—no package was found. I already had Java 11 installed, and when I ran `sudo update-alternatives --config java`, only Java 11 versions appeared. Eventually, I downloaded Java from the official site. After transferring the files from my Downloads folder to `/usr/lib/jvm`, I tried running the game with the permissions set so it could execute as a program. The command worked: `sudo java -jar TLauncher-2.8.jar`. However, when I attempted to launch it with the correct permissions, I encountered an error stating that no X11 display was available. This suggests an issue with the environment setup or configuration.

L
LorrenK
Senior Member
703
10-15-2023, 05:48 PM
#3
Ensure no duplicate questions are generated in this merged thread.
L
LorrenK
10-15-2023, 05:48 PM #3

Ensure no duplicate questions are generated in this merged thread.

O
OmqDace
Posting Freak
798
10-15-2023, 11:35 PM
#4
I'm facing the same problem again. Have you tried any solutions yet?
O
OmqDace
10-15-2023, 11:35 PM #4

I'm facing the same problem again. Have you tried any solutions yet?