Unix FTB Launcher only shows empty windows

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
Status
Not open for further replies.

kronn

New Member
Jul 29, 2019
3
0
0
Operating System, bit type: Ubuntu Linux 13.10, 64bit
Java version/update, bit type: 1.7.0_25, 64bit
Anti-malware software: no
Location you're downloading from: Automatic
Launcher version: 1.2.9
Completed the troubleshooting guide (y/n): yes
Console log, pastebin.com link::http://pastebin.com/BbygMxFH

I start the launcher (jar) with the following command:

Code:
java -jar ~/Games/FTB/FTB_Launcher.jar

Two windows are opened, one "normal" window (which is being handled by my tiling window manager, xmonad) and one floating. Both are just grey.

The update notification to version 1.2.9 was displayed allright.

I solved the issue for me by using another account on the same machine. there everything seems to work normal, minecraft launches and is playable.

Nevertheless I wanted to let you know about this, maybe you can improve something through this report. It would be great if I could use my regular setup for minecraft as well, but I'm not ultimately blocked by this crash.

If you can point me to different related logs, I will gladly provide them.
 

kronn

New Member
Jul 29, 2019
3
0
0
I managed to resolve the exception seen in the pastebin-link.
My solution was to copy the directory ~/.ftblauncher from the working user-account over to my main one.

Now the output onlys show the informational header. The launcherframe is being drawan but there is only gray inside.

Any idea how i can resolve this?

(btw it is perfectly fine if this gets dismissed due to the upcoming new launcher, I just want to know)
 

xuanlong

New Member
Jul 29, 2019
1
0
0
The latest version of Java is also affected. I found a solution to this in the Xmonad FAQ. It explains that Java doesn't recognize Xmonad as a window manager because it's not in Java's hard coded WM list.

Of the several solutions it recommended, the one that worked for me was setting Xmonad up to tell Java that it's a different WM. In my xmonad.hs I imported XMonad.Hooks.SetWMName and added SetWMName "LG3D" to startupHook.
 
  • Like
Reactions: kronn

kronn

New Member
Jul 29, 2019
3
0
0
that explains why it works on the same machine with a different account (using the gnome/unity/standard window manager).

I prefixed the java-invocation with _JAVA_AWT_WM_NONREPARENTING=1 and the launcher starts fine.

For reference, this is the complete command that worked for me with XMonad:

Code:
_JAVA_AWT_WM_NONREPARENTING=1 XMODIFIERS= java -jar ~/Games/FTB/FTB_Launcher.jar

Thanks Ashzification for taking the time and xuanlong for helping with my esoteric setup :)

[edit: typo in xmodifiers fixed]
 
  • Like
Reactions: Ashzification
Status
Not open for further replies.