应用程序尝试创建一个窗口,但不能加载任何驱动程序

时间:2017-02-11 00:43:19

标签: linux vps wine

我正在尝试在我的Linux vps上打开.exe文件,但是当我尝试时出现此错误:

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.

如何使这项工作?

2 个答案:

答案 0 :(得分:1)

根据您的留言:

  

看起来需要启用multiarch。请以root身份   执行“dpkg --add-architecture i386 && apt-get update && apt-get install wine32

以root用户身份输入以下命令并点击 Enter

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

答案 1 :(得分:0)

在ubuntu 14.04中,通过安装32位版本的libSM6解决了这个问题:

sudo apt-get install libsm6:i386