Error after installing Wine on Debian 10

Questions about Wine on Linux
Locked
pongy20
Level 2
Level 2
Posts: 11
Joined: Wed May 01, 2019 6:47 am

Error after installing Wine on Debian 10

Post by pongy20 »

Hey,

today I wanted to install wine on Debian 10.
Setting:
vServer with Debian 10
Desktop connection via Remote Desktop using xrdp

I issued following commands (using https://wiki.debian.org/Wine#Installati ... _and_newer):

1. dpkg --print-architecture
--> Result: amd64

2. sudo dpkg --add-architecture i386 && sudo apt update

3. sudo apt install wine wine32 wine64 libwine libwine:i386 fonts-wine

After that installation process I executed:

4. sudo winecfg

This throws the following error:

Code: Select all

wine: created the configuration directory '/root/.wine'
0009:err:file:init_redirects cannot open L"C:\\windows" (c000000f)
Invalid MIT-MAGIC-COOKIE-1 key0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0012:err:ole:get_local_server_stream Failed: 80004002
0010:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0010:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
Invalid MIT-MAGIC-COOKIE-1 key0014:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0014:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0014:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0014:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0014:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007
0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x800736b7
0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 800736b7
0014:err:ole:get_local_server_stream Failed: 800736b7
000b:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
000b:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
Could not load wine-gecko. HTML rendering will be disabled.
002a:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
002a:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/root/.wine' has been updated.
0030:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0030:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
Can anybody helps me? Do you guys need more informations?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Error after installing Wine on Debian 10

Post by jkfloris »

After that installation process I executed:

4. sudo winecfg
Why did you use sudo?
Does Wine work as a normal user?
pongy20
Level 2
Level 2
Posts: 11
Joined: Wed May 01, 2019 6:47 am

Re: Error after installing Wine on Debian 10

Post by pongy20 »

Thanks for your reply :).

Don't really know why I used sudo. I tried it without using sudo (the winecfg command).
Still the same issue.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Error after installing Wine on Debian 10

Post by jkfloris »

Is the "xorgxrdp" package installed on the server? This should set the "DISPLAY" variable.
You can verify this with:

Code: Select all

echo $DISPLAY
pongy20
Level 2
Level 2
Posts: 11
Joined: Wed May 01, 2019 6:47 am

Re: Error after installing Wine on Debian 10

Post by pongy20 »

jkfloris wrote: Thu Dec 08, 2022 10:23 am Is the "xorgxrdp" package installed on the server? This should set the "DISPLAY" variable.
You can verify this with:

Code: Select all

echo $DISPLAY
Hey, sorry for my late reply...
The result of the command is:

Code: Select all

:10.0
Is it installed?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Error after installing Wine on Debian 10

Post by jkfloris »

That looks good. Can you start Wine if you manually enter the DISPLAY variable?

Code: Select all

DISPLAY=:10.0 wine winecfg
Should that not give any improvement, post a new terminal output.
Locked