Wine doesn't run, tried to create a window but no drivers

Questions about Wine on Linux
Locked
tester22341
Newbie
Newbie
Posts: 2
Joined: Sat Mar 12, 2022 1:37 am

Wine doesn't run, tried to create a window but no drivers

Post by tester22341 »

I'm trying to run Wine on a VPS. Yes I need Wine, I need to run 2 Windows executables and no I cannot just compile them for Linux as 1 is closed source and the creator won't respond to any messages.

This is a brand new Ubuntu install with only Node.js and wine and winetricks installed. Running anything with Wine gives

Code: Select all

0030:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0030:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
Using wine tricks to attempt to install vcrun2015 gives

Code: Select all

...
Executing wine vc_redist.x86.exe
0030:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0030:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
002f:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
002f:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.

Code: Select all

DISPLAY=:0 wine file.exe 
also gives

Code: Select all

0030:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0030:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.

Code: Select all

echo $display
Gives a blank line.

What am I supposed to do about this?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine doesn't run, tried to create a window but no drivers

Post by jkfloris »

How do you connect to the VPS?

Code: Select all

echo $display
Is this a typo? The variable is in upper case.
tester22341
Newbie
Newbie
Posts: 2
Joined: Sat Mar 12, 2022 1:37 am

Re: Wine doesn't run, tried to create a window but no drivers

Post by tester22341 »

jkfloris wrote: Sat Mar 12, 2022 9:51 am How do you connect to the VPS?

Code: Select all

echo $display
Is this a typo? The variable is in upper case.
Through Putty, SSH.

Regardless of what case the variable name is it always prints a blank line. $display, $DISPLAY, $Display are all identical empty lines.
Locked