2

After installing Ubuntu 18.04 on Windows 10 I can not get gnome to start. I tried reinstalling Ubuntu with same results. See below:

$ sudo gnome-session
Unable to init server: Could not connect: Connection refused
(gnome-session-check-accelerated:2226): Gtk-WARNING **: 19:17:51.687: cannot open display: :0.0
Unable to init server: Could not connect: Connection refused
(gnome-session-check-accelerated:2227): Gtk-WARNING **: 19:17:52.949: cannot open display: :0.0
gnome-session-binary[2217]: WARNING: software acceleration check failed: Child process exited with code 1
gnome-session-binary[2217]: CRITICAL: We failed, but the fail whale is dead. Sorry....
ken@DESKTOP-64ED1AI:~$
  • One doesn't normally run gnome-session as root. Also you are supposed to start it from your .xsession or similar. Having said that, gnome seems to have problems starting in non standard ways (e.g. some vnc setups, xrdp etc). – xpusostomos Aug 20 '20 at 06:02

1 Answers1

3

Windows Subsystem for Linux is not designed to provide a GUI. However, with WSL2, brave Penguinistas have pushed back the Frontiers of Computer Science and found ways. Complex ways.

However, the preferred method to run Ubuntu underneath Windows is virtualization, such as is available free with VirtualBox and other virtual machines.

Other folks, laboring in their digital vineyards of knowledge, have found rm -rf / works too.

K7AAY
  • 17,202
  • Not a great example there... Try using xfce. Seems to work well for a lot of us. Using it combined with X410 and you have a great experience. – IvanSF Dec 29 '20 at 00:30