Linux: Starting FGU with Wayland Instead of x11 Compositor

Problem

Fantasy Grounds Unity crashes upon launch when trying to start under the Wayland protocol instead of x11.

Solution

You can manually force FGU to run explicitly in x11 mode when starting up.

  1. Open Terminal and paste in the following line of code, then press Enter:
    GDK_BACKEND=x11 ./.smiteworks/fantasygrounds/FantasyGrounds.x86_64

  2. Fantasy Grounds Unity should start as it normally would in an x11 environment.

If you are so inclined, you can also replace the normal desktop shortcut launch command with the code above to have the shortcut launch it instead. Due to the myriad desktop environments available for Linux/Ubuntu, specific instructions are beyond the scope of this article.