installmatlab r2018a in wsl

6 vues (au cours des 30 derniers jours)
Mahmod Karndash
Mahmod Karndash le 1 Juin 2022
Commenté : Mahmod Karndash le 1 Juin 2022
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 commentaire
Mahmod Karndash
Mahmod Karndash le 1 Juin 2022
what is meaning this
mkdir: cannot create directory ‘/home/daren/.cache’: Permission denied
-bash: /home/daren/.cache/wslu/integration: Permission denied

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by