You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the "Pear Deskop Chat App" tutorial from the docs on WSL2 (Windows subsystem for Linux 2, the most recent version).
Initially I have some issues on WSL that I solved. These issues partially prevented the project from behaving normally.
Note: the installation of 'pear runtime' is archieved correctly without on my WSL problems.
Now that I can run the project correctly on WSL I share with you my simple fixes.
CASE 1 - libgbm.so.1 not installed
command: pear run --dev .
behavior: The project is not launched on pear runtime and an error is showed on console.
error: /home/myUserName/.config/pear/by-dkey/7216eeac5c87....4ea8bd3b28/1/by-arch/linux-x64/bin/pear-runtime-app/pear-runtime: error while loading shared libraries: libgbm.so.1: cannot open shared object file: No such file or directory
solution: sudo apt install libgbm1
CASE 2 - Failed to connect to the bus
command: pear run --dev .
behavior: The project is launched correctly on the pearl runtime and i can see the chat app but there are warnings on bash console
warnings: [23..7:10..4/10..10.93...2:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory...
my unaware solution:
`Update packages and install D-Bus (if not already present)
sudo apt update
sudo apt install dbus
Start the D-Bus daemon
sudo service dbus start
Check the socket
ls /run/user/1000/bus
If the socket does not exist, start a D-Bus session
eval $(dbus-launch --sh-syntax)
`
My best, Andrea.
The text was updated successfully, but these errors were encountered:
@CastenettoA thank you for the details explanation and fixes! What linux distro and version were you using with WSL2? And was it a fresh installation or have you installed packages previously?
I followed the "Pear Deskop Chat App" tutorial from the docs on WSL2 (Windows subsystem for Linux 2, the most recent version).
Initially I have some issues on WSL that I solved. These issues partially prevented the project from behaving normally.
Note: the installation of 'pear runtime' is archieved correctly without on my WSL problems.
Now that I can run the project correctly on WSL I share with you my simple fixes.
CASE 1 - libgbm.so.1 not installed
pear run --dev .
/home/myUserName/.config/pear/by-dkey/7216eeac5c87....4ea8bd3b28/1/by-arch/linux-x64/bin/pear-runtime-app/pear-runtime: error while loading shared libraries: libgbm.so.1: cannot open shared object file: No such file or directory
CASE 2 - Failed to connect to the bus
pear run --dev .
[23..7:10..4/10..10.93...2:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory...
`
My best, Andrea.
The text was updated successfully, but these errors were encountered: