Wine application without X-Server

Questions about Wine on Linux
Locked
zeroc8
Newbie
Newbie
Posts: 2
Joined: Sun Jan 08, 2023 8:12 am

Wine application without X-Server

Post by zeroc8 »

Hi, is there a way to run a wine executable in headless mode? I'm trying to start a console application from a service.

Currently I'm getting this output, is there any way to suppress this?

Code: Select all

0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0050:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0050:err:systray:initialize_systray Could not create tray window
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine application without X-Server

Post by jkfloris »

It looks like the program wants to create a taskbar icon. And that requires a graphical environment.
Maybe the program has a command line option to turn this off.
zeroc8
Newbie
Newbie
Posts: 2
Joined: Sun Jan 08, 2023 8:12 am

Re: Wine application without X-Server

Post by zeroc8 »

Well, it's a Windows commandline applicaton. Not sure why there's a CreateWindow call...
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine application without X-Server

Post by jkfloris »

Can the program be downloaded somewhere? Maybe we can find a solution.
Locked