This a really cool post. I think that WSL has limitations and GUI apps one one these.
Some apps need dbus like (gnome-terminal).
You should install and start the service.
sudo apt-get install dbus-x11 sudo service dbus start
see: github.com/Microsoft/WSL/issues/2016
This is very true. WSL does not (yet) have DBus support. Give ti time though, Windows will become more Linux like and Linux (maybe) will get a nice UI and New User Experience. At least, one can hope. :)
Successully run gnome-terminal. Trying to run visual studio code :)
Annnnd, mission completed.
# download vscode deb package. sudo dpkg -i vscode-1.28.2.deb sudo apt install sudo apt install --fix-broken libgconf-2-4 gconf2-common gconf-service gconf-service-backend libxss1 libdbus-glib-1-2 libasound2 # the hack is taken from: https://github.com/Microsoft/vscode/issues/3451#issuecomment-217716116 sudo sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' /usr/lib/x86_64-linux-gnu/libxcb.so.1
Nice! Are you able to run other DBus dependant applications with the same process?
Yes! Started Firefox but I do not know if it is DBus dependent.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This a really cool post. I think that WSL has limitations and GUI apps one one these.
Some apps need dbus like (gnome-terminal).
You should install and start the service.
see: github.com/Microsoft/WSL/issues/2016
This is very true. WSL does not (yet) have DBus support. Give ti time though, Windows will become more Linux like and Linux (maybe) will get a nice UI and New User Experience. At least, one can hope. :)
Successully run gnome-terminal. Trying to run visual studio code :)
Annnnd, mission completed.
Nice! Are you able to run other DBus dependant applications with the same process?
Yes! Started Firefox but I do not know if it is DBus dependent.