我有一個沒有連接顯示器的 vps,但我可以使用 vnc 伺服器啟動 GUI 應用程式。我想做的是透過終端機運行這些 Wine 應用程序,wine /dir/to/application.exe
但我收到以下錯誤:
0027:fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
0027:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
0027:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0027:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c10 (device=2d access=0 func=304 method=0)
0027:fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
0027:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0027:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
0027:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c10 (device=2d access=0 func=304 method=0)
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32f0dc, 0x32f0ec 0x32f0e0
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32f0dc 0x32f0ec 0x32f0e0) returning a dummy value (current locale)
0009:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0009:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0009:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0009:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0032FEAC
我知道解決這個問題的方法是設置,DISPLAY=:0
但它不起作用,也許是因為它實際上沒有顯示?
我試過xranr --listmonitors
它告訴我Can't open display
我怎麼能做到這一點,以便它在我的 VNC 顯示器上運行 wine 應用程式?謝謝!