程式語言 - Wine - 解決Failed to query current display settings for L"\\\\.\\DISPLAY1"問題



問題如下:

Box86 with Dynarec v0.2.0 b2d5587e built on Jan 17 2026 08:57:26
Box86 with Dynarec v0.2.0 b2d5587e built on Jan 17 2026 08:57:26
Box86 with Dynarec v0.2.0 b2d5587e built on Jan 17 2026 08:57:26
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2).
0034:err:service:process_send_command receiving command result timed out
0034:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1053
0034:err:service:process_send_command receiving command result timed out
0034:fixme:service:scmdatabase_autostart_services Auto-start service L"winebus" failed to start: 1053
004c:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\nsiproxy": c0000135
0034:fixme:service:scmdatabase_autostart_services Auto-start service L"nsiproxy" failed to start: 126
Box86 with Dynarec v0.2.0 b2d5587e built on Jan 17 2026 08:57:26
00a8:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
0024:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0024:err:winediag:nodrv_CreateWindow Unknown error (998).

解法如下:

只要Link /xxx/Wine/bin/wine到/usr/local/bin/就好,其餘/xxx/Wine/bin/winexxx不需要Link到/usr/local/bin底下