你好,我已经安装了葡萄酒(版本葡萄酒-3.0.2)在CentOS 7上运行我的。vbs文件。但在运行时,它得到了以下错误。
* 000f:fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 2
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"WineBus" failed to start: 2
0019:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0019:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0019:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0019:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0019:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0009:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0009:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.*
你能帮我修一下吗?我也不太清楚
1条答案
按热度按时间inb24sb21#
您缺少
DISPLAY
变量尝试将其设置为
:0
(假设您的显示器在屏幕0上),例如如果您没有运行X服务器,则可以安装Xvfb。
请参阅:How to make Xvfb display visible?