Hi!
I have installed wine-staging and winetricks files in the docker - ubuntu20.04.
I set the architecture as x64 but when I wanted to configure I got the following errors.
root@767a8545888c:/# winetricks -q win10
------------------------------------------------------
warning: Running Wine/winetricks as root is highly discouraged. See https://wiki.winehq.org/FAQ#Should_I_ru ... as_root.3F
------------------------------------------------------
------------------------------------------------------
Creating WINEPREFIX "/wine" with WINEARCH=win64
------------------------------------------------------
wine: created the configuration directory '/wine'
004c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
004c:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
004c:err:systray:initialize_systray Could not create tray window
004c:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
004c:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
004c: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 L"Make sure that your X server is running and that $DISPLAY is set correctly."
The same errors appears when I tried to install winetricks -q dotnet48.
the DISPLAY variable is not set.
I tried with Xvfb :0.0 -screen 0 1024x768x16 &
The same errors...
What can I do to get rid of them?
Thanks a lot for everything!
wine headless in docker
-
- Level 3
- Posts: 67
- Joined: Wed Oct 04, 2023 7:57 am
Re: wine headless in docker
Hello
you should avoid using the root account
It is possible, as I had a docker image with wine and Captvty inside
you can see the Dockerfiles for Captvty and Captvty V3 at
https://github.com/k3ck3c/docker_captvt ... Dockerfile
and
https://github.com/k3ck3c/docker_captvt ... ile_latest
you can see I switch from an unprivileged user to root back and forth
you should avoid using the root account
It is possible, as I had a docker image with wine and Captvty inside
you can see the Dockerfiles for Captvty and Captvty V3 at
https://github.com/k3ck3c/docker_captvt ... Dockerfile
and
https://github.com/k3ck3c/docker_captvt ... ile_latest
you can see I switch from an unprivileged user to root back and forth