Application tried to create a window, but no driver could be loaded

Ses Manijak picture Ses Manijak · Feb 11, 2017 · Viewed 15k times · Source

I'm trying to open .exe file on my Linux vps, yet when i try i get this error:

hitleap@STEFAN:~/Desktop$ wine Hitleap+Viewer.exe
it looks like multiarch needs to be enabled.  as root, please
execute "dpkg --add-architecture i386 && apt-get update && apt-get install wine32"
wine: Bad EXE format for Z:\home\hitleap\Desktop\HitLeap+Viewer.exe.
hitleap@STEFAN:~/Desktop$ Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that #DISPLAY is set correctly.

How to make this work?

Answer

Ses Manijak picture Ses Manijak · Feb 11, 2017

As per your message:

It looks like multiarch needs to be enabled. As root, please execute "dpkg --add-architecture i386 && apt-get update && apt-get install wine32"

So as root, type the following command and hit Enter:

dpkg --add-architecture i386 && apt-get update && apt-get install wine32