No X11 output was configured. - Minecraft Tlauncher issue
No X11 output was configured. - Minecraft Tlauncher issue
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!
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.