You are not logged in.

#1 2019-07-30 17:08

bernhard
Member
From: Maisach, Germany
Registered: 2018-08-16
Posts: 44

Curious: Wine configuration on q4os 2.7.3-n1 [SOLVED]

I have several q4os Systems running and on one of them I can start Windows exe files without using Wine explicitely. I can start an exe from the bash command prompt by ./Blackbox.exe although double clicking the exe in Konqueror does not work. As far as I remember, I did not configure anything special, it worked out of the box after using the setup_xpq4*.esh script, but on the other systems I have to use wine to start the program.

Any ideas why and what steps are necessary that a system recognizes PE32 file as executables (beside setting the executable bit) and uses wine automagically as program loader?

Last edited by bernhard (2019-07-31 13:06)

Offline

#2 2019-07-31 10:54

bernhard
Member
From: Maisach, Germany
Registered: 2018-08-16
Posts: 44

Re: Curious: Wine configuration on q4os 2.7.3-n1 [SOLVED]

The answer is found in the second answer by daisy in https://unix.stackexchange.com/question … e-programs which refers to the binfmt filesystem (I had never heard of it before, but it looks very interesting). The respective Debian package has the name wine-binfmt and after installing this package, the first of the other two systems works also.

There is a tutorial about binfmt here: https://ownyourbits.com/2018/06/13/tran … nfmt_misc/ and some hints at: https://www.linux.com/news/how-launch-w … x-directly. Apparently the kernel documentation binfmt_misc.txt can now only be found only at https://lwn.net/Articles/679310/,  a html version is at https://www.kernel.org/doc/html/latest/ … -misc.html.

In the end, I think that on the system where it worked, I had done an 'apt search wine' and installed by chance also the wine-binfmt package not exactly knowing what it really does nor completely understanding what I was doing ...

Last edited by bernhard (2021-02-09 15:33)

Offline

Board footer

Powered by FluxBB