Open zhuochengs opened 2 years ago
AND now I use
docker run -it -p 3001:3000 --name dockerwine \ -v /home/wine:/root/.wine \ -v /home/acme:/data \ --env="DISPLAY" \ scottyhardy/docker-wine:latest \ wineconsole --as-root /data/AcmeCADConverter /x2010 /data/XX.dwg /data/XX.dxf
It was like that:
wine: created the configuration directory '/home/wineuser/.wine' 0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1". 0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002 0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002 0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002 002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 002c:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 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:ole:apartment_createwindowifneeded CreateWindow failed with error 0 0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0 0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007 0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x800736b7 0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x800736b7 0050:err:ole:apartment_get_local_server_stream Failed: 0x800736b7 0050:err:ole:start_rpcss Failed to open RpcSs service 0040:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0040:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 0060:fixme:file:NtLockFile I/O completion on lock not implemented yet 0060:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0060:err:mscoree:LoadLibraryShim error reading registry key for installroot 0060:err:mscoree:LoadLibraryShim error reading registry key for installroot 0060:err:mscoree:LoadLibraryShim error reading registry key for installroot 0060:err:mscoree:LoadLibraryShim error reading registry key for installroot 0068:fixme:file:NtLockFile I/O completion on lock not implemented yet 0068:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0068:err:mscoree:LoadLibraryShim error reading registry key for installroot 0068:err:mscoree:LoadLibraryShim error reading registry key for installroot 0068:err:mscoree:LoadLibraryShim error reading registry key for installroot 0068:err:mscoree:LoadLibraryShim error reading registry key for installroot 0068:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5) 0068:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5) 0060:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 0060:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 0080:fixme:file:NtLockFile I/O completion on lock not implemented yet 0080:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0080:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 0080:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 0088:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x1803191e0, context 0xa4ccb0, init_notify 0, handle 0x489fa60): stub 0040:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0100:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0100:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 0108:fixme:file:NtLockFile I/O completion on lock not implemented yet 0108:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0108:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 0108:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 0110:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x102b9460, context 0x2d4f10, init_notify 0, handle 0x3e9fde0): stub 0100:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION wine: configuration in L"/home/wineuser/.wine" has been updated. 01a4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 01a4:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] I have a Feature, It's a shell like that ' AcmeCADConverter.exe /x2010 /data/XX.dwg /data/XX.dxf ' at windows. And the website is https://www.dwgtool.com/cmd.htm, I was used it just work at window's server. Now I want use it in k8s. Describe the solution you'd like A clear and concise description of what you want to happen. I try to use this commond :
docker run -it -p 3000:3000 \ -v /home/kz/win/acme:/data \ --env TERM=dumb \ scottyhardy/docker-wine:latest \ wineconsole /data/AcmeCADConverter.exe /x2010 /data/XXX.dwg /data/XXX.dxf
But it's not work:
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.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here. Where was wrong? Please help me, thanks~