Run wine with a virtual desktop
If you want to use wine
on a headless server, you probably need a virtual desktop.
Luckily there's Xvfb 🤓
Use the following code snippet as reference, on how to use wine
with Xvfb:
sudo apt-get install xvfb
xvfb :1 -screen 0 1280x960x24 &
DISPLAY=:1 wine someWindowsApp.exe &
#unix #wine