installmatlab r2018a in wsl

조회 수: 10 (최근 30일)
Mahmod Karndash
Mahmod Karndash 2022년 6월 1일
댓글: Mahmod Karndash 2022년 6월 1일
I have wsl2 and I check the version of WSL each is set to by entering the command: wsl -l -v in PowerShell and I have
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\Daren> wsl -l -v
NAME STATE VERSION
* Ubuntu-16.04 Running 2
PS C:\Users\Daren>
but when i run the following commands in ubuntu terminal
export DISPLAY=:0
export LIBGL_ALWAYS_INDIRECT=1
startlxde ( main command to run the desktop)
i have error
mkdir: cannot create directory ‘/home/daren/.cache’: Permission denied
-bash: /home/daren/.cache/wslu/integration: Permission denied
daren@DESKTOP-SMROJT0:~$ sudo -s
[sudo] password for daren:
root@DESKTOP-SMROJT0:~# export DISPLAY=:0
root@DESKTOP-SMROJT0:~# export LIBGL_ALWAYS_INDIRECT=1
root@DESKTOP-SMROJT0:~# startlxde
Agent pid 555
** Message: main.vala:99: Session is LXDE
** Message: main.vala:100: DE is LXDE
(lxsession:553): Gtk-WARNING **: cannot open display: :0
root@DESKTOP-SMROJT0:~#
and I can not see the lxde desktop
please help me to install wsl2 and desktop (GUI) in WSL and how to install matlab r2018a in wsl
  댓글 수: 1
Mahmod Karndash
Mahmod Karndash 2022년 6월 1일
what is meaning this
mkdir: cannot create directory ‘/home/daren/.cache’: Permission denied
-bash: /home/daren/.cache/wslu/integration: Permission denied

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by