Ask Your Question

Minecraft drops to a black screen after login

asked 2013-02-24 17:29:45 -0600

ryanlerch gravatar image

updated 2013-08-16 09:28:46 -0600

UPDATE: This issue seems to be fixed with the release of Minecraft 1.6 and the new minecraft launcher.

I installed Minecraft on fedora (as described in this question), and it seems to start okay. However, after logging into minecraft, it drops to a black screen.

I ran the minecraft command (java -Xmx1024M -Xms512M -jar ~/.minecraft/minecraft.jar) on the terminal, and the following message is output to the terminal after trying to log in to Minecraft:

Exception in thread "Minecraft main thread" java.lang.ExceptionInInitializerError
at net.minecraft.client.Minecraft.a(SourceFile:205)
at asq.a(SourceFile:56)

Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.lwjgl.opengl.XRandR$Screen.<init>(
at org.lwjgl.opengl.XRandR$Screen.<init>(
at org.lwjgl.opengl.XRandR.populate(
at org.lwjgl.opengl.XRandR.access$100(
at org.lwjgl.opengl.XRandR$
at Method)
at org.lwjgl.opengl.XRandR.getConfiguration(
at org.lwjgl.opengl.LinuxDisplay.init(
at org.lwjgl.opengl.Display.<clinit>(

Any idea how to fix this?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-02-24 17:56:38 -0600

ryanlerch gravatar image

updated 2013-06-24 15:44:35 -0600

Yes, this is a Known Issue with the lwjgl library that Minecraft bundles and downloads during its initial setup. Typically, you will hit this bug when trying to run minecraft on computers with more than one display connected (e.g. A laptop with an external monitor connected).

According to the bug tracking this issue, the Minecraft developers are aware of this issue, and will hopefully fix this issue in the future.

Can I workaround this issue

Fortunately, you can manually update the lwjgl library from the one that minecraft bundles to version 2.6, and it will fix the issue. To do this:

  1. Open Up a terminal, and download lwjgl version 2.9 from sourceforge:


  2. Extract the zip file and change into the lwjgl directory with the following commands in the Terminal:


    cd lwjgl-2.6/

  3. Now run the following 2 commands to copy the new lwjgl files into the .minecraft folder in your home directory

    cp jar/* ~/.minecraft/bin/

    cp native/linux/* ~/.minecraft/bin/natives/

  4. Try running Minecraft again, and if you see the main titlescreen and Minecraft menu, you are done!

edit flag offensive delete link more

answered 2013-06-28 10:26:14 -0600

Working OK for me on my Fedora 18. Thanks!

edit flag offensive delete link more

Question Tools


Asked: 2013-02-24 17:29:45 -0600

Seen: 9,967 times

Last updated: Aug 16 '13