You are not logged in.
Pages: 1
I'd wish to run a Windows executable on a current (kernel 6.2.9, 64-bit) Arch Linux box.
The Windows executable is available in both 32-bit and 64-bit releases.
Winehq recommends to run wineconsole with curses backend and notes that modern Wine versions (>6.0.0) will lack curses backend.
When running trying to run wineconsole all 2 backends will fail to open a Windows command prompt with:
$ DISPLAY=:0 wineconsole -- --backend=user cmd
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0060:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0060:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0060:err:systray:initialize_systray Could not create tray window
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
011c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
011c:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
$ wineconsole -- --backend=curses cmd
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0064:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0064:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0064:err:systray:initialize_systray Could not create tray window
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
011c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loadedRunning wine succeeds to open a CUI command prompt:
$ DISPLAY=:0 wine cmd
008c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0060:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0060:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0060:err:systray:initialize_systray Could not create tray window
008c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
008c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
008c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
Microsoft Windows 10.0.18362
Z:\home\...>A 14 year old forum thread suggests to compile wine from source.
What are March 2023 the other options, beside compile from source, to run wineconsole without X on Arch Linux?
Or when being stuck with wine, what are the options to prevent errors while starting the command (disable opening windows/creating systray)?
Last edited by probackup-nl (2023-04-04 15:32:19)
Offline
What do you think does the double dash do?
Edit: I see you might have just copy-pasted that from WineHQ.
Well, the double dash prevents further option processing.
Leave it out and pass --backend=curses to wineconsole.
Last edited by schard (2023-04-03 17:17:34)
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
Edit: I see you might have just copy-pasted that from WineHQ.
Indeed, I copied the double dash from WineHQ.
Without double dash the output is identical:
$ wineconsole --backend=curses cmd
008c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0068:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0068:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0068:err:systray:initialize_systray Could not create tray window
008c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
008c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
008c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0120:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0120:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
$ wineconsole --backend=user cmd
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0060:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0060:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0060:err:systray:initialize_systray Could not create tray window
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
011c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
011c:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."Offline
I have no clue why wineconsole is unable to start the cmd command.
Wineconsole is able to start the desired executable without X.
Although wineconsole outputs only errors and warnings and no information that the executable has been started:
$ wineconsole mbserver.exe
0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
007c:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
007c:err:systray:initialize_systray Could not create tray window
0124:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0124:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
005c:fixme:nsi:ipv6_forward_enumerate_all not implemented
005c:fixme:nsi:ipv6_forward_enumerate_all not implemented
005c:fixme:nsi:ipv6_forward_enumerate_all not implemented
005c:fixme:nsi:ipv6_forward_enumerate_all not implemented.
Still figuring out how to nicely stop/quit/terminate the wineconsole started windows cui executable.
Ctrl+C and Ctrl+/ leave processes running. Ctrl+C outputs:
^C0134:fixme:console:default_ctrl_handler Terminating process 110 on event 0
wine client error:114: write: Bad file descriptorand leaves wine (wineserver) and mbserver.exe running according to ps output.
Last edited by probackup-nl (2023-04-04 15:24:18)
Offline
Still no clue how to SIGTERM (15) terminate the winconsole started CUI executable from the same terminal.
Workaround: open a new terminal and issue a wineserver -k 15 will do.
Offline
Pages: 1