Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2930

Getting consistent messages preventing loading GUI apps for Ubuntu WSL2

$
0
0

Have latest W10 on old lenovo laptop.

  • Enabled WSL2
  • Installed Ubuntu - icon appears in start menu
  • Installed ubuntu desktop, gtk2 engine, XcVserv, gedit, Firefox

Ran these in bash terminal, supposedly to show Ubuntu where X server is on W 10

export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0export LIBGL_ALWAYS_INDIRECT=1sudo /etc/init.d/dbus start &> /dev/null

At install I forced name because I didn't know how to setup a user account, so this is my "DOS prompt"

root@DESKTOP-0JQT19T:~#

I get...

root@DESKTOP-0JQT19T:~# firefox Authorization required, but no authorization protocol specifiedUnable to init server: Broadway display type not supported: 172.20.96.1:0.0Error: cannot open display: 172.20.96.1:0.0

Same happens when I run gedit.


Viewing all articles
Browse latest Browse all 2930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>