Welcome to the forums. Please post in English or French.

You are not logged in.

#1 Re: Salome-Meca installation » Salome Meca 2021 on WSL2 » 2021-11-30 11:27:38

Hey HB and Stefano,
I configured xserver and salome meca now works. How can I access files on my windows in salome meca in wsl? Using wsl for the first time, so would appreciate the help.
Thanks again.

#3 Re: Salome-Meca installation » Salome Meca 2021 on WSL2 » 2021-11-29 19:47:53

Hi HB,

Thanks a ton for this thread. I followed the installation steps and also came across the errors faced by stefano. I installed xserver as well and I still have the same error.

INFO : Running salome_meca in software rendering mode
runSalome running on PiyushVerma
Searching for a free port for naming service: 2820 - OK
Searching Naming Service  ++ found in 0.2 seconds
Searching /Kernel/Session in Naming Service  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Traceback (most recent call last):
  File "/opt/salome_meca/Salome-V2021-s9/modules/KERNEL_V9_7_0/bin/salome/orbmodule.py", line 181, in waitNSPID
ProcessLookupError: [Errno 3] No such process

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/salome_meca/appli_V2021/bin/salome/runSalome.py", line 694, in useSalome
    clt = startSalome(args, modules_list, modules_root_dir)
  File "/opt/salome_meca/appli_V2021/bin/salome/runSalome.py", line 639, in startSalome
  File "/opt/salome_meca/Salome-V2021-s9/modules/KERNEL_V9_7_0/bin/salome/orbmodule.py", line 183, in waitNSPID
    raise RuntimeError("Process %d for %s not found" % (thePID,theName))
RuntimeError: Process 888 for /Kernel/Session not found

--- Error during Salome launch ---
user@PiyushVerma:/mnt/c/Windows/system32> xclock
Error: Can't open display:

I also ran xclock and that was the result, can you please help me out with this?
thanks a ton.