MT5 on linux using wine not working

 

Hi every one


Everything was fine until one day opening MT5 says:
A debugger has been found running in your system. Please, unload it from memory and restart your program.

I've checked the forum the same problem occurred to people long time ago and was about running in 32 bit which is not possible with new mt5setup.

these tries didn't work out:
* new prefix or even try fresh install from setup file says the same

* reinstall wine from scratch

* using env variable: WINEDEBUG=-all



OS: Archlinux

Wine version: 10.3

 

I have hit the very same bug with MT4, my MT5 was working just fine(probably depends on MT5's version). After many tests I realized that is related to wine 10.3, downgrading to 10.2 will make both work again for you.

 

Thank you so much for response.

Unfortunately on wine 10.4 and 10.2 still same problem exists.


Aleksandar Petrinic #:

I have hit the very same bug with MT4, my MT5 was working just fine(probably depends on MT5's version). After many tests I realized that is related to wine 10.3, downgrading to 10.2 will make both work again for you.

 

You can try running it as a 32-bit instance.

Create a 32-bit Wine prefix to avoid compatibility issues with MT5's 64-bit version:

export WINEPREFIX=~/.wine32
export WINEARCH=win32

wineboot

Install MT5 in this new prefix:

WINEPREFIX=~/.wine32 wine start /unix /path/to/mt5setup.exe

However, it's likely easier to just pick up a free 12-month VPS for MetaTrader. AWS/Azure/Google all have 12-month long trials for a Windows VPS.


 

Thanks for time


The new MT5 is 64bit and can't be installed on win32 architecture of wine. it even returns:

ShellExecuteEx failed: Bad EXE format

which makes sense.


Yes I shall use the VPS solution for keeping things live and thank you for the link but I need MT on my local machine for lots of reasons.

 
I am using MT5 on variety on Wine versions, been working with it without fail for years. Even using Debian GNU/Linux on Hetzner VPS.
Maybe it is Arch which is setting debugging flag for you, not wine itself. Try another distro, or VM.
 
Yes I checked with fresh Debian on other machine and it was OK. I just can't find the problem, what on Arch is flagging the debugger sadly