Wasi Ali #: market window in mt5 terninal (in Ubuntu) is blank/white. In logs it gives error "Couldn't find WebView2 Runtime". I also installed it, then the error goes away, but still market window is blank. Is there a solution for this?
I am also experiencing the same issue in the environment below.
Ubuntu 24.04
Wine-11.15 (staging) installed using mt5linux.sh provided on MQL5.com
MT5 build 6140 (21 Aug 2026) fresh installed
Additionally, I tried manually installing the following three types of WebView2 setup, but none of them worked.
MicrosoftEdgeWebview2Setup.exe
MicrosoftEdgeWebView2RuntimeInstallerX64.exe
MicrosoftEdgeWebView2RuntimeInstallerX86.exe
In my case, the error message after installing MicrosoftEdgeWebview2Setup.exe changed from "Couldn't find WebView2 Runtime" to "WebView2 controller creation failed: 0x80070578 - Invalid window handle."
In this article, we demonstrate an easy way to install MetaTrader 5 on popular Linux versions — Ubuntu and Debian. These systems are widely used on server hardware as well as on traders’ personal computers.
The user discusses issues with viewing new trading reports in MetaTrader 5 on Linux, attributing the problem to the absence of WebView2 technology, which is not included in Windows Server 2019. They mention installing WebView2 via Wine and encountering further issues with Wine versions and the display of the market menu. The user also asks about alternatives to buying EA directly through MT5.
I am also experiencing the same issue in the environment below.
Ubuntu 24.04
Wine-11.15 (staging) installed using mt5linux.sh provided on MQL5.com
MT5 build 6140 (21 Aug 2026) fresh installed
Additionally, I tried manually installing the following three types of WebView2 setup, but none of them worked.
MicrosoftEdgeWebview2Setup.exe
MicrosoftEdgeWebView2RuntimeInstallerX64.exe
MicrosoftEdgeWebView2RuntimeInstallerX86.exe
In my case, the error message after installing MicrosoftEdgeWebview2Setup.exe changed from "Couldn't find WebView2 Runtime" to "WebView2 controller creation failed: 0x80070578 - Invalid window handle."
Would appreciate any help.
You didn't change the script, you have wine as Windows 11 ?
I used the script exactly as is, and the output of `WINEPREFIX=~/.mt5 winecfg -v` was `win10`.
Is there any problem with this?
Thinking it was strange that "win11" wasn't appearing, I re-ran the entire installation process, and this time "win11" showed up. (The previous installation might had failed.)
However, the market window remains blank, just as the previous installation.
The fact that Metaquotes has published installation instructions on this page and this page means that Linux is one of the official environments, and I think it is very unfortunate that this situation has been left unaddressed for so long.
Furthermore, from the user's perspective, this problem is a degradation that did not originally occur. (Leaving aside whether Wine or other updates are the cause of the problem)
There must be many Linux users considering the cost benefits, and they may be wasting their time or having trouble with this problem.
I hope Metaquotes does not take this serious degradation issue lightly. As mentioned in this thread, I also hope for native support for Linux.
Did u find a solution for this?
Install WebView2 manually
or make a new fresh MT5 installation.
market window in mt5 terninal (in Ubuntu) is blank/white. In logs it gives error "Couldn't find WebView2 Runtime". I also installed it, then the error goes away, but still market window is blank. Is there a solution for this?
Additionally, I tried manually installing the following three types of WebView2 setup, but none of them worked.
I do not have computer with Linux and Mac but it is what I found about -
-------------------------
WebView2 on Linux: post #4 and (summary post) #11 -
Forum on trading, automated trading systems and testing trading strategies
couldn’t find webview2 runtime 08:00 Does anyone know how to solve this?
Sergey El, 2025.02.10 13:28
You need to install Webview2 Runtime to the same prefix as the terminal. In the example the prefix is /.mt5.
WINEPREFIX=~/.mt5 wine MicrosoftEdgeWebview2Setup.exe /silent /install
You can use the script for Ubuntu/Debian from the article at the link.
I do not have computer with Linux and Mac but it is what I found about -
-------------------------
WebView2 on Linux: post #4 and (summary post) #11 -
Thanks.
Of course, I performed the WebView2 installation using that method (WINEPREFIX=~/.mt5 wine MicrosoftEdgeWebview2Setup.exe /silent /install).
You didn't change the script, you have wine as Windows 11 ?
You didn't change the script, you have wine as Windows 11 ?
I used the script exactly as is, and the output of `WINEPREFIX=~/.mt5 winecfg -v` was `win10`.
Is there any problem with this?
I used the script exactly as is, and the output of `WINEPREFIX=~/.mt5 winecfg -v` was `win10`.
Is there any problem with this?
I used the script exactly as is, and the output of `WINEPREFIX=~/.mt5 winecfg -v` was `win10`.
Is there any problem with this?
The current script has win11 and yes it could be a problem. You used an old version of mt5linux.sh.
Anyway, if market window is still blank :
1. What is in the log ?
2. You should have webview2.exe in your installation folder, try :
And see what it gives.
The current script has win11 and yes it could be a problem. You used an old version of mt5linux.sh.
Anyway, if market window is still blank :
1. What is in the log ?
2. You should have webview2.exe in your installation folder, try :
And see what it gives.
> The current script has win11 and yes it could be a problem. You used an old version of mt5linux.sh.
As noted in #17, I tried it again then got `win11` this time. But the market window was still blank.
(I make sure to use the latest `mt5linux.sh` with wget everytime. )
> 1. What is in the log ?
Journal log on MT5 terminal:
Execution log on Wine (from opening the Market Window until the "Invalid Window Handle" error appears):
> 2. You should have webview2.exe in your installation folder, try : `WINEPREFIX=~/.mt5 wine webview2.exe /install`
> And see what it gives.
The installation screen for the Microsoft Edge WebView2 Runtime appears, but the process terminates unexpectedly midway through.
However, there was no change in the WebView2 installation status (see the image below) before or after the installation attempt.