# Installing official Salome Meca 2022 on Windows 10/11 using WSL2 (old approach)

**URL:** <https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675>\
**Category:** Salome-Meca installation\
**Created:** [August 8, 2023, 9:47am UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675 "2023-08-08T09:47:58Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![hberro](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/h/a88e4f/32.png) [@hberro](https://code-aster.org/forum/u/hberro)\
**Post date:** [August 8, 2023, 9:47am UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/1 "2023-08-08T09:47:58Z")

</div>

## D I S C L A I M E R (10/02/2025)

A more recent WSL2 distribution including Salome Meca 2024 and no longer using singularity from within WSL2 has been proposed in the linked post below.

[https://forum.code-aster.org/public/d/28014-salome-meca-20241-on-wsl2-ready-to-use-distribution-call-for-beta-testers](https://forum.code-aster.org/public/d/28014-salome-meca-20241-on-wsl2-ready-to-use-distribution-call-for-beta-testers)

It provides perfomance and graphical stability comparable to working on Linux.

**It is the recommended way at the moment for installing Salome Meca 2024 on WSL.**

* * *

## Original Post (applies to Salome Meca 2022 only)

Hello everyone,

For fellow users looking to use the official Salome Meca singularity containers on windows 10/11, we just rolled an up-to-date WSL distribution based on Ubuntu LTS 22.04 and that is pre-configured to launch Salome Meca.

Let us know if this helps you getting Salome Meca starting on your machine !

Cheers

HB from the Salome Meca devteam.

### S T E P - B Y - S T E P . . V I D E O . . W I T H . . T E S T S

Please check the installation video (in HD) for more details.

[[https://youtu.be/pMrkfl\_QR6Q](https://youtu.be/pMrkfl_QR6Q)

]([https://youtu.be/pMrkfl\_QR6Q](https://youtu.be/pMrkfl_QR6Q))

### R E F E R E N C E S

**Commands**

Hereby are the most important commands (in windows Powershell)

> Check that WSL2 is installed, if this fails check the MS website : aka.ms/wsl2

`wsl --set-default-version 2`

> Import the ready-to-use WSL2 distribution (tar file)

`wsl --import smeca C:\SalomeMeca /path/to/smeca_2022_wsl2_ubuntu_22.04.tar`

> Run the smeca ubuntu distribution in WSL2

`wsl -d smeca`

> Link a Salome Meca singularity container anywhere in /opt/sm

`cd /opt/sm && ln -s /path/to/salome_meca-lgpl-2022.1.0-1-20221225-scibian-9.sif`

> To launch Salome Meca using singularity, run the following command from anywhere inside WSL2

`salome_meca`

**Download links**

WSL2 distribution as a 7z Self extracting archive (.exe) - 838 MB

[tinyurl.com/smwsl2ub22exe](https://tinyurl.com/smwsl2ub22exe)

Extracting the exe file will produce the tar file that can be directly downloaded from the link belo

OR

WSL distribution as a ready-to-install archive (.tar) - 1.85 GB

[tinyurl.com/smwsl2ub22tar](https://tinyurl.com/smwsl2ub22exe)

### T R O U B L E S H O O T I N G

If you obtain an error upon launching salome\_meca

```auto
glxinfo -B output --------------------------------------------
Error: unable to open display
--------------------------------------------------------------

```

1. Exit WSL (Ctrl + D) and then shutdown all distributions that are running.

```auto
wsl --shutdown
wsl -l --verbose

```

All distributions should appear as Stopped.

1. Start a PowerShell in Administrator mode

2. Update WSL version in PowerShell

`wsl --update`

1. Relaunch salome\_meca

```auto
wsl -d smeca
salome_meca

```

---

<div class="post-metadata">

**Author:** ![k\_zurawski](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/k/9fc29f/32.png) [@k\_zurawski](https://code-aster.org/forum/u/k_zurawski)\
**Post date:** [August 10, 2023, 4:13pm UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/2 "2023-08-10T16:13:27Z")

</div>

Hi HB,  
what do I need to install additionally on Windows to be able to run the software? It seems that some display server is missing in Windows 10:

## user@W1:/opt/sm$ salome\_meca [INFO] Singularity image : /opt/sm/bin/../salome\_meca-lgpl-2022.1.0-1-20221225-scibian-9.sif [INFO] Binding C drive to /mnt/c [INFO] Binding D drive to /mnt/d [INFO] Binding F drive to /mnt/f [INFO] Binding G drive to /mnt/g glxinfo -B output -------------------------------------------- Error: unable to open display

runSalome running on W1  
ERROR error:  
Traceback (most recent call last):  
File “/opt/salome\_meca/V2022.1.0\_scibian\_univ/modules/KERNEL\_V9\_8\_0/bin/salome/salomeContext.py”, line 279, in \_startSalome  
res = getattr(self, command)(options) # run appropriate method  
File “/opt/salome\_meca/V2022.1.0\_scibian\_univ/modules/KERNEL\_V9\_8\_0/bin/salome/salomeContext.py”, line 358, in \_runAppli  
runSalome.runSalome()  
File “/opt/salome\_meca/appli\_V2022.1.0\_scibian\_univ/bin/salome/runSalome.py”, line 925, in runSalome  
clt,args = main()  
File “/opt/salome\_meca/appli\_V2022.1.0\_scibian\_univ/bin/salome/runSalome.py”, line 851, in main  
searchFreePort(args, save\_config, args.get(‘useport’))  
File “/opt/salome\_meca/appli\_V2022.1.0\_scibian\_univ/bin/salome/searchFreePort.py”, line 116, in searchFreePort  
queue = Queue()  
File “/opt/python/3.6.5/lib/python3.6/multiprocessing/context.py”, line 102, in Queue  
return Queue(maxsize, ctx=self.get\_context())  
File “/opt/python/3.6.5/lib/python3.6/multiprocessing/queues.py”, line 42, in **init**  
self.\_rlock = ctx.Lock()  
File “/opt/python/3.6.5/lib/python3.6/multiprocessing/context.py”, line 67, in Lock  
return Lock(ctx=self.get\_context())  
File “/opt/python/3.6.5/lib/python3.6/multiprocessing/synchronize.py”, line 163, in **init**  
SemLock. **init** (self, SEMAPHORE, 1, 1, ctx=ctx)  
File “/opt/python/3.6.5/lib/python3.6/multiprocessing/synchronize.py”, line 60, in **init**  
unlink\_now)  
OSError: [Errno 30] Read-only file system  
user@W1:/opt/sm$

---

<div class="post-metadata">

**Author:** ![hberro](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/h/a88e4f/32.png) [@hberro](https://code-aster.org/forum/u/hberro)\
**Post date:** [August 10, 2023, 4:48pm UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/3 "2023-08-10T16:48:35Z")

</div>

Hi there,

You should not need to install any x-server for WSL2 as it is shipped with WSLG which should be preconfigured for use as a backend for graphic applications.

Can you try the following steps in their order and provide the output ?

1. Exit WSL (Ctrl + D) and then shutdown all distributions that are running.

wsl -l --verbose  
wsl --shutdown

All distributions should appear as Stopped.

1. Start a PowerShell in Administrator mode

2. Disable Windows Firewall for the virtual WSL network interface by running the following command in PowerShell (in Windows, not inside linux)

Set-NetFirewallProfile -DisabledInterfaceAliases “vEthernet (WSL)”

If you get a Permission Denied error, double check that PowerShell is in Admin mode !!

1. Launch the WSL2 distribution “smeca” and try the following commands

wsl -d smeca

echo “Available network interfaces in WSL2”  
singularity exec /opt/sm/salome\*.sif ip link show

echo "Previous DISPLAY env. var was : " $DISPLAY  
singularity exec /opt/sm/salome\*.sif glxinfo -B

export DISPLAY=  
echo "DISPLAY env. var is now set to : " $DISPLAY  
singularity exec /opt/sm/salome\*.sif glxinfo -B

1. If the second call to glxinfo -B no longer produces an error, then you can launch Salome Meca  
salome\_meca

---

<div class="post-metadata">

**Author:** ![k\_zurawski](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/k/9fc29f/32.png) [@k\_zurawski](https://code-aster.org/forum/u/k_zurawski)\
**Post date:** [August 10, 2023, 5:01pm UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/4 "2023-08-10T17:01:26Z")

</div>

Second call produces error

user@W1:/mnt/c/WINDOWS/system32$ export DISPLAY=  
user@W1:/mnt/c/WINDOWS/system32$ echo "DISPLAY env. var is now set to : " $DISPLAY  
DISPLAY env. var is now set to :  
user@W1:/mnt/c/WINDOWS/system32$ singularity exec /opt/sm/salome\*.sif glxinfo -B  
Error: unable to open display  
user@W1:/mnt/c/WINDOWS/system32$

I’m using two monitors, is it by any means significant?

---

<div class="post-metadata">

**Author:** ![hberro](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/h/a88e4f/32.png) [@hberro](https://code-aster.org/forum/u/hberro)\
**Post date:** [August 10, 2023, 8:28pm UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/5 "2023-08-10T20:28:03Z")

</div>

Ok I advise you to completely remove WSL (check snapshot below) and reinstall it again.

Another user from the community had exactly the same issue which completely disappeared upon reinstalling WSL.

[color=blue][static1.makeuseofimages.com/wordpress/wp-content/uploads/2023/05/wsl-components.jpg[/color]](http://static1.makeuseofimages.com/wordpress/wp-content/uploads/2023/05/wsl-components.jpg%5B/color%5D)

Let me know if that helps…

---

<div class="post-metadata">

**Author:** ![k\_zurawski](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/k/9fc29f/32.png) [@k\_zurawski](https://code-aster.org/forum/u/k_zurawski)\
**Post date:** [August 11, 2023, 10:46am UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/6 "2023-08-11T10:46:52Z")

</div>

Hi HB,  
I wasn’t sure if I have wsl up to date. So before reinstallation I shut down wsl and run update command. After that Salome\_Meca GUI started. So it seems that it solved my problem. Thank you for the distro and help provided.

Commands used in PowerShell run as admin:

wsl --shutdown  
wsl --update

That’s it.

---

<div class="post-metadata">

**Author:** ![hberro](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/h/a88e4f/32.png) [@hberro](https://code-aster.org/forum/u/hberro)\
**Post date:** [August 11, 2023, 10:49am UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/7 "2023-08-11T10:49:09Z")

</div>

Great news, I will add your suggestion in the original post for troubleshooting.

---

<div class="post-metadata">

**Author:** ![MauroSogni](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/m/b77776/32.png) [@MauroSogni](https://code-aster.org/forum/u/MauroSogni)\
**Post date:** [September 7, 2023, 3:47pm UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/8 "2023-09-07T15:47:38Z")

</div>

Hi, something strange happens to me:

- I installed everything without any problem
- I call Salome by typing salome\_meca
- The software starts but it seems that it has been rendered in the wrong place, if you go on an Icon you cannot click on it until you move your mouse a little bit away of it (maybe on another icon)

Has anyone ncountered this issue?

Attached you can see the problem

Have a nice day  
Mauro Sogni

EDIT:  
I re-installed everythin, it works since I don’t close Salome while in a full size windows, if I close it while in a full size windows the next time I open it I have the GUI issue

Does Salome have an option to let it starts in a floating window?

EDIT:  
IF you succeed in maximize the window then the issue disappear.

**Attached file:**

 ![Image.jpg](https://code-aster.org/forum/uploads/default/original/2X/1/1cae32af1f6121bb5ebabfae1f02c106281a29b5.jpeg)

---

<div class="post-metadata">

**Author:** ![k\_zurawski](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/k/9fc29f/32.png) [@k\_zurawski](https://code-aster.org/forum/u/k_zurawski)\
**Post date:** [September 7, 2023, 4:24pm UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/9 "2023-09-07T16:24:47Z")

</div>

I do have the same problem. The window has to be maximized or minimized. Floating window doesn’t work really.

I’m also having sigsegv errors with paravis, the rest works just fine.

---

<div class="post-metadata">

**Author:** ![k\_zurawski](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/k/9fc29f/32.png) [@k\_zurawski](https://code-aster.org/forum/u/k_zurawski)\
**Post date:** [October 29, 2023, 8:30pm UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/10 "2023-10-29T20:30:43Z")

</div>

I’ve been using the provided “vm” and in my case is unstable. I actually don’t have to do anything else just change between Paravis and AsterStudy modules. Basically Salome-Meca crashes without any prior signs to that. This is a recurring problem and is related to paravis in some way. I attach information displayed in terminal.  
What I did:

1. Started and created empty study
2. Shaper - created simple solid and two groups on faces
3. Meshed using linear hexahedra
4. Created linear study in AsterStudy and run it
5. I clicked on Paravis icon, loaded manually rmed file, saved the study
6. Went to AsterStudy, decreased value of Force\_face, created new run and calculated it
7. Went to Paravis, reloaded file using those double arrows, used warp by vector, automatically changed warp value, changed scale to autmatically adapt to value set
8. Clicked on AsterStudy icon, clicked on Shaper icon and the software crashed.

Please check if you can replicate this problem. Please let me know if you are getting sigsegv error.

**Attached file:**

[Error.txt](https://code-aster.org/forum/uploads/short-url/lYptLgBa7FT75gwqit5yfR7Wf0h.txt)

---

<div class="post-metadata">

**Author:** ![lucas62](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/l/f07891/32.png) [@lucas62](https://code-aster.org/forum/u/lucas62)\
**Post date:** [November 22, 2023, 11:35am UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/11 "2023-11-22T11:35:55Z")

</div>

Hello everyone,

For those who want to open salome\_meca from a windows executable instead of opening wsl terminal, you can create a .bat file with the following line :

wsl -d smeca bash -c “/opt/sm/bin/salome\_meca”

Then if you want a magnificent salome\_meca.exe shortcut, you can then use bat2exe and feed it with the salome\_meca logo and this bat file created earlier.

Finally, I have a tip to face MauroSogni’s problem happening when the window isn’t maximized.  
Pressing F11 twice will maximize the window and solve the problem.

Hoping it will help,  
Lucas

---

<div class="post-metadata">

**Author:** ![Frederic](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/f/4491bb/32.png) [@Frederic](https://code-aster.org/forum/u/Frederic)\
**Post date:** [January 15, 2024, 4:04pm UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/12 "2024-01-15T16:04:27Z")

</div>

:\>I’ve been using the provided “vm” and in my case is unstable. I actually don’t have to do anything else just change between Paravis and AsterStudy modules. Basically Salome-Meca crashes without any prior signs to that. This is a recurring problem and is related to paravis in some way. I attach information displayed in terminal.  
What I did:

1. Started and created empty study
2. Shaper - created simple solid and two groups on faces
3. Meshed using linear hexahedra
4. Created linear study in AsterStudy and run it
5. I clicked on Paravis icon, loaded manually rmed file, saved the study
6. Went to AsterStudy, decreased value of Force\_face, created new run and calculated it
7. Went to Paravis, reloaded file using those double arrows, used warp by vector, automatically changed warp value, changed scale to autmatically adapt to value set
8. Clicked on AsterStudy icon, clicked on Shaper icon and the software crashed.

Please check if you can replicate this problem. Please let me know if you are getting sigsegv error.

Hi

I can’t download your file. Am I the only one having this problem (I can download other attachments from the forum)? Can you resend it in another format or copy it into a message please?

---

<div class="post-metadata">

**Author:** ![lucas62](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/l/f07891/32.png) [@lucas62](https://code-aster.org/forum/u/lucas62)\
**Post date:** [January 15, 2024, 7:02pm UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/13 "2024-01-15T19:02:00Z")

</div>

:\>  
I can’t download your file. Am I the only one having this problem (I can download other attachments from the forum)?

Hi Frédéric, to answer your question you are not the only one, I also can’t download the file Error.txt.

---

<div class="post-metadata">

**Author:** ![pbedenbaugh](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/p/5f8ce5/32.png) [@pbedenbaugh](https://code-aster.org/forum/u/pbedenbaugh)\
**Post date:** [January 30, 2024, 9:01pm UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/14 "2024-01-30T21:01:17Z")

</div>

Thank you - installs smoothly and passes tests shown in the YouTube example.

However, the help system opens firefox, and then firefox immediately crashes.

I tried a solution given in post “Index» Salome-Meca installation» [SOLVED] SALOME 2018 Online help”, but it did not change the crash behavior.

Any suggestsions for activating the help system ?

---

<div class="post-metadata">

**Author:** ![Philipp](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/p/46a35a/32.png) [@Philipp](https://code-aster.org/forum/u/Philipp)\
**Post date:** [April 19, 2024, 8:46am UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/15 "2024-04-19T08:46:38Z")

</div>

Hello everyone,

I am also facing problem with the download of the **.tar**. Can you please help me out @hberro?

Kind regards,

Philipp

Edit: Now it works - Thank you very much!

---

<div class="post-metadata">

**Author:** ![k\_zurawski](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/k/9fc29f/32.png) [@k\_zurawski](https://code-aster.org/forum/u/k_zurawski)\
**Post date:** [April 19, 2024, 9:41pm UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/16 "2024-04-19T21:41:09Z")

</div>

@Frederic

Sorry for the delay. I didn’t notice your response.

user@W2:/mnt/c/Users/KrzysztofZurawski$` salome\_meca

[INFO] Singularity image : /opt/sm/bin/../salome\_meca-lgpl-2022.1.0-1-20221225-scibian-9.sif

[INFO] Binding C drive to /mnt/c

[INFO] Binding D drive to /mnt/d

[INFO] Binding F drive to /mnt/f

[INFO] Binding G drive to /mnt/g

glxinfo -B output --------------------------------------------

name of display: :0

display: :0 screen: 0

direct rendering: Yes

Extended renderer info (GLX\_MESA\_query\_renderer):

```
Vendor: VMware, Inc. (0xffffffff)

Device: llvmpipe (LLVM 6.0, 256 bits) (0xffffffff)

Version: 18.2.8

Accelerated: no

Video memory: 15840MB

Unified memory: no

Preferred profile: core (0x1)

Max core profile version: 3.3

Max compat profile version: 3.1

Max GLES1 profile version: 1.1

Max GLES[23] profile version: 3.0

```

OpenGL vendor string: VMware, Inc.

OpenGL renderer string: llvmpipe (LLVM 6.0, 256 bits)

OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.2.8

OpenGL core profile shading language version string: 3.30

OpenGL core profile context flags: (none)

OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 18.2.8

OpenGL shading language version string: 1.40

OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.2.8

OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00

* * *

runSalome running on W2

Searching for a free port for naming service: 2810 - OK

Searching Naming Service + found in 0.1 seconds

Searching /Kernel/Session in Naming Service ++++++++ found in 4.0 seconds

Start SALOME, elapsed time : 4.3 seconds

* * *

```
 Warning: module HexoticPLUGIN is improperly configured!

 Module HexoticPLUGIN will not be available in GUI mode!

```

* * *

* * *

```
 Warning: module GHS3DPLUGIN is improperly configured!

 Module GHS3DPLUGIN will not be available in GUI mode!

```

* * *

* * *

```
 Warning: module GHS3DPRLPLUGIN is improperly configured!

 Module GHS3DPRLPLUGIN will not be available in GUI mode!

```

* * *

* * *

```
 Warning: module BLSURFPLUGIN is improperly configured!

 Module BLSURFPLUGIN will not be available in GUI mode!

```

* * *

* * *

```
 Warning: module NETGENPLUGIN is improperly configured!

 Module NETGENPLUGIN will not be available in GUI mode!

```

* * *

* * *

```
 Warning: module HYBRIDPLUGIN is improperly configured!

 Module HYBRIDPLUGIN will not be available in GUI mode!

```

* * *

* * *

```
 Warning: module GMSHPLUGIN is improperly configured!

 Module GMSHPLUGIN will not be available in GUI mode!

```

* * *

AsterStudy: dim.-29-20:02:24.318 AsterStudy is activating…

AsterStudy: dim.-29-20:02:24.318 Creating workspace…

AsterStudy: dim.-29-20:02:24.333 Refreshing configuration on localhost…

AsterStudy: dim.-29-20:02:24.861 workspace is ready.

AsterStudy: dim.-29-20:02:29.524 AsterStudy activated

AsterStudy: dim.-29-20:08:53.998 saving case 1-CurrentCase…

AsterStudy: dim.-29-20:09:07.446 saving case 28-RunCase\_1…

AsterStudy: dim.-29-20:09:07.447 saving case 1-CurrentCase…

AsterStudy: dim.-29-20:09:07.745 Submitting job on localhost…

AsterStudy: dim.-29-20:09:07.811 job submitted

AsterStudy: dim.-29-20:09:07.812 Asking the server for the job state…

AsterStudy: dim.-29-20:09:07.813 Job 0: status is RUNNING: Running

AsterStudy: dim.-29-20:09:07.814 Getting job output on W2…

AsterStudy: dim.-29-20:09:17.422 Asking the server for the job state…

AsterStudy: dim.-29-20:09:17.424 Job 0: status is FINISHED: Success

AsterStudy: dim.-29-20:09:23.526 saving case 28-RunCase\_1…

AsterStudy: dim.-29-20:09:23.528 saving case 1-CurrentCase…

Loguru caught a signal: SIGSEGV

Stack trace:

85 0x55ae8a00809a \_start + 42

84 0x7f9f00a022e1 \_\_libc\_start\_main + 241

83 0x55ae8a00a9ea int AbstractGUIAppMain(int, char\*\*) + 4410

82 0x7f9f116cd843 QCoreApplication::exec() + 131

81 0x7f9f116c47f2 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 274

80 0x7f9f1172248c QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 92

79 0x7f9ef765fbcc g\_main\_context\_iteration + 44

78 0x7f9ef765fb20 /lib/x86\_64-linux-gnu/libglib-2.0.so.0(+0x4ab20) [0x7f9ef765fb20]

77 0x7f9ef765f8b7 g\_main\_context\_dispatch + 679

76 0x7f9ea86a0a5a /opt/qt/5.15.2/lib/libQt5XcbQpa.so.5(+0x62a5a) [0x7f9ea86a0a5a]

75 0x7f9f11d18e5b QWindowSystemInterface::sendWindowSystemEvents(QFlagsQEventLoop::ProcessEventsFlag) + 187

74 0x7f9f11d3ce35 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent\*) + 261

73 0x7f9f11d3bcf3 QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent\*) + 2403

72 0x7f9f116c5e38 QCoreApplication::notifyInternal2(QObject\*, QEvent\*) + 264

71 0x55ae8a0089cd SALOME\_Session\_Server(+0x89cd) [0x55ae8a0089cd]

70 0x7f9f20bca1d6 SalomeApp\_ExceptionHandler::handle(QObject\*, QEvent\*) + 54

69 0x7f9f20bca4c4 SalomeApp\_ExceptionHandler::handleSignals(QObject\*, QEvent\*) + 132

68 0x7f9f1262ad97 QApplication::notify(QObject\*, QEvent\*) + 519

67 0x7f9f1262431c QApplicationPrivate::notify\_helper(QObject\*, QEvent\*) + 156

66 0x7f9f1267f143 /opt/qt/5.15.2/lib/libQt5Widgets.so.5(+0x1b9143) [0x7f9f1267f143]

65 0x7f9f1267c477 /opt/qt/5.15.2/lib/libQt5Widgets.so.5(+0x1b6477) [0x7f9f1267c477]

64 0x7f9f1262a32a QApplicationPrivate::sendMouseEvent(QWidget\*, QMouseEvent\*, QWidget\*, QWidget\*, QWidget\*\*, QPointer&, bool, bool) + 506

63 0x7f9f116c5e38 QCoreApplication::notifyInternal2(QObject\*, QEvent\*) + 264

62 0x55ae8a0089cd SALOME\_Session\_Server(+0x89cd) [0x55ae8a0089cd]

61 0x7f9f20bca1d6 SalomeApp\_ExceptionHandler::handle(QObject\*, QEvent\*) + 54

60 0x7f9f20bca4c4 SalomeApp\_ExceptionHandler::handleSignals(QObject\*, QEvent\*) + 132

59 0x7f9f1262bcc4 QApplication::notify(QObject\*, QEvent\*) + 4404

58 0x7f9f1262431c QApplicationPrivate::notify\_helper(QObject\*, QEvent\*) + 156

57 0x7f9f127f725c QToolButton::event(QEvent\*) + 108

56 0x7f9f12662b08 QWidget::event(QEvent\*) + 488

55 0x7f9f127f718a QToolButton::mouseReleaseEvent(QMouseEvent\*) + 10

54 0x7f9f12712465 QAbstractButton::mouseReleaseEvent(QMouseEvent\*) + 213

53 0x7f9f1271226d /opt/qt/5.15.2/lib/libQt5Widgets.so.5(+0x24c26d) [0x7f9f1271226d]

52 0x7f9f1262092e QAction::activate(QAction::ActionEvent) + 158

51 0x7f9f1261e4b2 QAction::triggered(bool) + 50

50 0x7f9f116ff29e /opt/qt/5.15.2/lib/libQt5Core.so.5(+0x2d729e) [0x7f9f116ff29e]

49 0x7f9f17759ff4 /opt/salome\_meca/appli\_V2022.1.0\_scibian\_univ/lib/salome/libqtx.so(+0x182ff4) [0x7f9f17759ff4]

48 0x7f9f1769ed8f QtxActionSet::onActionTriggered(bool) + 63

47 0x7f9f17759efe QtxActionSet::triggered(int) + 46

46 0x7f9f116ff29e /opt/qt/5.15.2/lib/libQt5Core.so.5(+0x2d729e) [0x7f9f116ff29e]

45 0x7f9f206f536b LightApp\_ModuleAction::activate(int, bool) + 875

44 0x7f9f207240d2 LightApp\_ModuleAction::moduleActivated(QString const&) + 34

43 0x7f9f116ff29e /opt/qt/5.15.2/lib/libQt5Core.so.5(+0x2d729e) [0x7f9f116ff29e]

42 0x7f9f20bf5b0d /opt/salome\_meca/appli\_V2022.1.0\_scibian\_univ/lib/salome/libSalomeAppImpl.so(+0x9db0d) [0x7f9f20bf5b0d]

41 0x7f9f20bada92 SalomeApp\_Application::onModuleActivation(QString const&) + 34

40 0x7f9f206c5d16 LightApp\_Application::onModuleActivation(QString const&) + 230

39 0x7f9f206c15f6 LightApp\_Application::activateModule(QString const&) + 262

38 0x7f9f20240287 CAM\_Application::activateModule(QString const&) + 183

37 0x7f9f206cb08e LightApp\_Application::activateModule(CAM\_Module\*) + 14

36 0x7f9f2023fe17 CAM\_Application::activateModule(CAM\_Module\*) + 87

35 0x7f9e56274951 SHAPERGUI::deactivateModule(SUIT\_Study\*) + 1057

34 0x7f9e5626e7f5 SHAPERGUI::publishToStudy() + 149

33 0x7f9e4ab8e2a9 PartSet\_Module::launchOperation(QString const&, bool const&) + 121

32 0x7f9e55c5a756 ModuleBase\_IModule::launchOperation(QString const&, bool const&) + 582

31 0x7f9e55fb991f XGUI\_ModuleConnector::processLaunchOperation(ModuleBase\_Operation\*) + 31

30 0x7f9e55fc8c0a XGUI\_OperationMgr::startOperation(ModuleBase\_Operation\*) + 394

29 0x7f9e55c6bf05 ModuleBase\_OperationFeature::start() + 453

28 0x7f9e55c6b945 ModuleBase\_OperationFeature::createFeature(bool) + 869

27 0x7f9e4b306d53 Model\_Document::addFeature(std::string, bool) + 2275

26 0x7f9e7bc7355f SwigDirector\_ModelAPI\_Feature::execute() + 47

25 0x7f9f156e5b39 PyObject\_CallMethod + 185

24 0x7f9f156e51a9 \_PyObject\_FastCallDict + 137

23 0x7f9f156e54ac \_PyObject\_Call\_Prepend + 204

22 0x7f9f156e528e \_PyObject\_FastCallDict + 366

21 0x7f9f157aa8e7 \_PyFunction\_FastCallDict + 727

20 0x7f9f157a1920 /opt/python/3.6.5/lib/libpython3.6.so.1.0(+0x128920) [0x7f9f157a1920]

19 0x7f9f157a64fa \_PyEval\_EvalFrameDefault + 13770

18 0x7f9f157a26fd /opt/python/3.6.5/lib/libpython3.6.so.1.0(+0x1296fd) [0x7f9f157a26fd]

17 0x7f9f157a1920 /opt/python/3.6.5/lib/libpython3.6.so.1.0(+0x128920) [0x7f9f157a1920]

16 0x7f9f157a6481 \_PyEval\_EvalFrameDefault + 13649

15 0x7f9f1574583b /opt/python/3.6.5/lib/libpython3.6.so.1.0(+0xcc83b) [0x7f9f1574583b]

14 0x7f9f156e51a9 \_PyObject\_FastCallDict + 137

13 0x7f9f156e54ac \_PyObject\_Call\_Prepend + 204

12 0x7f9f156e528e \_PyObject\_FastCallDict + 366

11 0x7f9f157aa8e7 \_PyFunction\_FastCallDict + 727

10 0x7f9f157a1920 /opt/python/3.6.5/lib/libpython3.6.so.1.0(+0x128920) [0x7f9f157a1920]

9 0x7f9f157a64fa \_PyEval\_EvalFrameDefault + 13770

8 0x7f9f157a27e5 /opt/python/3.6.5/lib/libpython3.6.so.1.0(+0x1297e5) [0x7f9f157a27e5]

7 0x7f9f1572f5a9 \_PyCFunction\_FastCallDict + 569

6 0x7f9ed8220eb8 /opt/salome\_meca/appli\_V2022.1.0\_scibian\_univ/lib/salome/\_libSMESH\_Swig.so(+0x17eb8) [0x7f9ed8220eb8]

5 0x7f9e7bd3c397 swig::SwigPyIteratorClosed\_T\<std::\_List\_iterator\<std::shared\_ptr\<ModelAPI\_Feature\> \>, std::shared\_ptr\<ModelAPI\_Feature\>, swig::from\_oper\<std::shared\_ptr\<ModelAPI\_Feature\> \> \>::value() const + 119

4 0x7f9e7bc4f12f /opt/salome\_meca/appli\_V2022.1.0\_scibian\_univ/lib/python3.6/site-packages/salome/\_ModelAPI.so(+0x5312f) [0x7f9e7bc4f12f]

3 0x7f9e7bc4d11a /opt/salome\_meca/appli\_V2022.1.0\_scibian\_univ/lib/python3.6/site-packages/salome/\_ModelAPI.so(+0x5111a) [0x7f9e7bc4d11a]

2 0x7f9f15732246 PyObject\_SetAttr + 54

1 0x7f9f15776a2c PyUnicode\_InternInPlace + 92

0 0x7f9f084f60e0 /lib/x86\_64-linux-gnu/libpthread.so.0(+0x110e0) [0x7f9f084f60e0]

( 865.734s) [paraview] :0 FATL| Signal: SIGSEGV

---

<div class="post-metadata">

**Author:** ![Julien\_L](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/j/e9a140/32.png) [@Julien\_L](https://code-aster.org/forum/u/Julien_L)\
**Post date:** [May 12, 2024, 2:00pm UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/17 "2024-05-12T14:00:05Z")

</div>

@pbedenbaugh

@pbedenbaugh

Hello,

It is the same thing for me.

When I click on the Help Menu, a firefox window opens during one second and closes just after.

Firefox is there, as we can see on this path.

\wsl.localhost\smeca\home\user.mozilla\firefox

But I can’t find a file “firefox.bin” in the folder \wsl.localhost\smeca\usr\bin

Can it be the explantation of these mozilla crashes ?

Thank you.

---

<div class="post-metadata">

**Author:** ![lIlIl](https://code-aster.org/forum/user_avatar/code-aster.org/lilil/32/10408_2.png) [@lIlIl](https://code-aster.org/forum/u/lIlIl)\
**Post date:** [June 7, 2024, 1:10pm UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/18 "2024-06-07T13:10:58Z")

</div>

The Google Drive links provided in the first post are no longer available. The only distribution I could find was in your [older post](https://forum.code-aster.org/public/d/26071-salome-meca-2021-on-wsl2): [https://code-aster.org/FICHIERS/wsl/smeca-lgpl-wsl2-opensuse.tar](https://code-aster.org/FICHIERS/wsl/smeca-lgpl-wsl2-opensuse.tar)

In this version, the `/opt` folder is empty. Still, running `salome_meca` (a function defined in `~/.bashrc`) in the same folder as the `.sif` container does open Salome Meca 2023. Unfortunately, it is not able to run any simulations. Here is the content of the `message` file:

```log
ERROR: The user login on remote machine MUST be given.
++ using container salome_meca-lgpl-2023.1.0-4-20240327-scibian-10.sif
++ using software rendering mode (should use `mesa_salome` starter)

```

EDIT: it works with `salome_meca-lgpl-2022.1.0-1-20221225-scibian-9.sif`. What steps can we take to use 2023?

My motivation to use Code\_Aster in WSL (rather than Code\_Aster Windows) is to use UMAT. Unfortunately the testcase `umat002a.com2` has failed:

```mess
 ╔════════════════════════════════════════════════════════════════════════════════════════════════╗
 ║ <F> <FERMETUR_13> ║
 ║ ║
 ║ La bibliothèque UMAT n'a pas pu être chargée. ║
 ║ ║
 ║ Nom de la bibliothèque : libumat1.so ║
 ║ ║
 ║ Conseil : Vérifiez que l'environnement est correctement défini, ║
 ║ notamment la variable LD_LIBRARY_PATH. ║
 ║ ║
 ║ ║
 ║ Cette erreur est fatale. Le code s'arrête. ║
 ╚════════════════════════════════════════════════════════════════════════════════════════════════╝

```

`$LD_LIBRARY_PATH` shows nothing.

EDIT: Hassan Berro gives a link for 2002 in the comments of his video

> **[Google Drive - Virus scan warning](https://drive.usercontent.google.com/download?id=1n0IKKZjhwfVjLCkVNikhBvWjbeZGs8Cm&export=download)**

---

<div class="post-metadata">

**Author:** ![lIlIl](https://code-aster.org/forum/user_avatar/code-aster.org/lilil/32/10408_2.png) [@lIlIl](https://code-aster.org/forum/u/lIlIl)\
**Post date:** [October 21, 2024, 12:52pm UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/19 "2024-10-21T12:52:12Z")

</div>

Is it possible to have the **password** for the `user` or `root` in the singularity container `salome_meca-lgpl-2022.1.0-1-20221225-scibian-9`?

I need it to run `sudo` commands and copy-paste the missing `config.txt` and `profile.sh` after installing the [development version](https://gitlab.com/codeaster-opensource-documentation/opensource-installation-development).

```txt
sudo: le uid effectif n'est pas 0. Est-ce que /usr/bin/sudo est sur un système de fichiers avec l'option « nosuid » ou un système de fichiers NFS sans privilèges root ?

```

```txt
> ls -l /usr/bin/sudo
-rwsr-xr-x 1 root root 140944 janv. 23 2021 /usr/bin/sudo
> groups
users singularity
> id
uid=1000(user) gid=100(users) groupes=100(users),479(singularity)

```

---

<div class="post-metadata">

**Author:** ![andrefmello](https://code-aster.org/forum/letter_avatar_proxy/v4/letter/a/13edae/32.png) [@andrefmello](https://code-aster.org/forum/u/andrefmello)\
**Post date:** [October 29, 2024, 11:46pm UTC](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675/20 "2024-10-29T23:46:55Z")

</div>

Hi @hberro, any advice for using Salome 2023 with this image?

I can use it in your older openSuse image, but in this ubuntu image, it throws `glxinfo -B output` error, even though WSLg is installed in my machine.

[Next page](https://code-aster.org/forum/t/installing-official-salome-meca-2022-on-windows-10-11-using-wsl2-old-approach/11675.md?page=2)
