I have an error I cant find anywhere else

Questions about Wine on Linux
Locked
Cocky_Rooster
Newbie
Newbie
Posts: 1
Joined: Tue Mar 21, 2017 8:47 pm

I have an error I cant find anywhere else

Post by Cocky_Rooster »

Code:
root@cocky-rooster:~# wine
Usage: wine PROGRAM [ARGUMENTS...] Run the specified program
wine --help Display this help and exit
wine --version Output version information and exit
root@cocky-rooster:~# wine PROGRAM
wine: created the configuration directory '/root/.wine'
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
Could not load wine-gecko. HTML rendering will be disabled.
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/root/.wine' has been updated.
wine: cannot find L"C:\\windows\\system32\\PROGRAM.exe"
root@cocky-rooster:~# apt-get update
Hit:1 http://archive-7.kali.org/kali kali-rolling InRelease
Reading package lists... Done
root@cocky-rooster:~# wine
Usage: wine PROGRAM [ARGUMENTS...] Run the specified program
wine --help Display this help and exit
wine --version Output version information and exit
root@cocky-rooster:~# wine PROGRAM
wine: cannot find L"C:\\windows\\system32\\PROGRAM.exe"

My main issue is the highlighted error, how can I fix this, and to prevent this from happening in the future.
*Disclaimer* My OS is Kali Linux, so i cant run .Deb commands, or .PPAs for Ive tried all day today and can't get them working, I am also a linux noob, and may ask stupid questions
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: I have an error I cant find anywhere else

Post by dimesio »

First, never run Wine as root. Delete the wineprefix you created as root and start over as a normal user. https://wiki.winehq.org/FAQ#Should_I_ru ... as_root.3F

As to why Wine can't find the executable, it's because you didn't cd to the directory containing it first. https://wiki.winehq.org/Wine_User%27s_G ... mmand_line
Locked