cmd /c ver
Microsoft Windows [版本 10.0.22631.3374]
wsl --status
默认分发: Ubuntu-22.04
默认版本: 2
Did the problem occur during installation?
What happened?
sudo apt update && sudo apt upgrade -y
sudo snap install electerm --classic
sudo apt install libnss3 -y
snap run electerm
- The program cannot be started and no Log is printed.

- Some seemingly unrelated logs appeared when executing
snap run electerm for the first time.
lingh@DESKTOP-LK088AH:~$ snap run electerm
/home/lingh/Desktop was removed, reassigning DESKTOP to homedir
/home/lingh/Downloads was removed, reassigning DOWNLOAD to homedir
/home/lingh/Templates was removed, reassigning TEMPLATES to homedir
/home/lingh/Public was removed, reassigning PUBLICSHARE to homedir
/home/lingh/Documents was removed, reassigning DOCUMENTS to homedir
/home/lingh/Music was removed, reassigning MUSIC to homedir
/home/lingh/Pictures was removed, reassigning PICTURES to homedir
/home/lingh/Videos was removed, reassigning VIDEOS to homedir
$ snap run electerm
/snap/electerm/417/electerm: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
What was expected?
- Can use electerm's snapcraft package normally in Ubuntu Preview WSL.
Steps to reproduce
- Just execute the following command on a new Ubuntu Preview WSL instance. Currently on Ubuntu 24.04.
sudo apt update && sudo apt upgrade -y
sudo snap install electerm --classic
sudo apt install libnss3 -y
snap run electerm
- The program cannot be started and no Log is printed.
Additional information
cmd /c ver
Microsoft Windows [版本 10.0.22631.3374]
wsl --status
默认分发: Ubuntu-22.04
默认版本: 2
Did the problem occur during installation?
What happened?
sudo apt update && sudo apt upgrade -y sudo snap install electerm --classic sudo apt install libnss3 -y snap run electermsnap run electermfor the first time.lingh@DESKTOP-LK088AH:~$ snap run electerm /home/lingh/Desktop was removed, reassigning DESKTOP to homedir /home/lingh/Downloads was removed, reassigning DOWNLOAD to homedir /home/lingh/Templates was removed, reassigning TEMPLATES to homedir /home/lingh/Public was removed, reassigning PUBLICSHARE to homedir /home/lingh/Documents was removed, reassigning DOCUMENTS to homedir /home/lingh/Music was removed, reassigning MUSIC to homedir /home/lingh/Pictures was removed, reassigning PICTURES to homedir /home/lingh/Videos was removed, reassigning VIDEOS to homedirsudo apt install libnss3 -y, you will get another Error Log. Refer to https://packages.ubuntu.com/ .$ snap run electerm /snap/electerm/417/electerm: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directoryWhat was expected?
Steps to reproduce
sudo apt update && sudo apt upgrade -y sudo snap install electerm --classic sudo apt install libnss3 -y snap run electermAdditional information