vncserver를 사용하여 헤드리스 VPN에서 터미널을 통해 와인 애플리케이션을 실행하는 방법은 무엇입니까?

vncserver를 사용하여 헤드리스 VPN에서 터미널을 통해 와인 애플리케이션을 실행하는 방법은 무엇입니까?

디스플레이가 연결되지 않은 vps가 있지만 vnc 서버로 GUI 앱을 시작할 수 있습니다. 내가 하고 싶은 일은 다음과 같이 터미널을 통해 와인 앱을 실행하는 것인데 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 디스플레이에서 와인 앱을 실행하려면 어떻게 해야 합니까? 감사해요!

관련 정보