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.
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:
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.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
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