フィルターのクリア

MATLAB GUI displays black with XQuartz

204 ビュー (過去 30 日間)
Hannah Rodriguez
Hannah Rodriguez 2022 年 1 月 4 日
コメント済み: Farhan 2024 年 1 月 7 日
I am running MATLAB R2021a from a remote Linux server. I am able to bring up the GUI on my local macbook running macOS 12.1 using XQuartz and ssh, but the GUI usually displays black where the white usually is. Sometimes the window displays in the right color, (white) but only for a few seconds, then reverts back to the black. When it's black, I can still see the GUI, it's just very hard to read.
  16 件のコメント
vip
vip 2023 年 1 月 5 日
編集済み: vip 2023 年 1 月 5 日
Same issue with R2022b. Remote system is Oracle Linux 8. Client is macOS 12.6.2 with XQuartz 2.8.4. I notice the windows turns black when I move the mouse and settles back to normal after a few seconds.
Andrew
Andrew 2023 年 3 月 8 日
I'm having the same issue with two M1 Macs, both with OSVentura. Connecting to a Centos7 remote system with the latest XQuartz. The MATLAB (R2022a) GUI has a black background that makes it unusable. If I have dual monitors the window becomes normal when I move the cursor to the monitor that does not have the MATLAB GUI.

サインインしてコメントする。

回答 (2 件)

Sudhansu Sekhar
Sudhansu Sekhar 2023 年 3 月 13 日
create a file "java.opts" in the home folder
mention the following inside that file
-Dsun.java2d.xrender=false
-Dsun.java2d.pmoffscreen=false
Restart matlab from home .
Check if it solves the issue.
I solved the same like this.
  11 件のコメント
Zhenyu Ren
Zhenyu Ren 2024 年 1 月 4 日
Thanks, this works for me too.
Farhan
Farhan 2024 年 1 月 7 日
Works for me too, Thanks.

サインインしてコメントする。


DavidePiccinini
DavidePiccinini 2023 年 2 月 2 日
Similar issue for me R2020b running on Ubuntu Linux remote system. Client is MacOS 13.1 with XQuartz 2.8.5 (xorg-server 21.1.6).
The window become "normal" when I type on the keyboard in other programs (like I'm doing right now in Chrome), and turns black when I move the mouse.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by