0

The problem occurs when I try to run the startx command from the Windows WSL2 subsystem of Ubuntu. I tried to open the graphical environment of Ubuntu. I have installed Ubuntu desktop. However, When I try to run the desktop environment, I get the following error message:

$ startx
/usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console
polemon
  • 11,133
  • 11
  • 69
  • 111
  • 1
    Does this answer your question? [Error when trying to use Xorg: Only console users are allowed to run the X server?](https://unix.stackexchange.com/questions/478742/error-when-trying-to-use-xorg-only-console-users-are-allowed-to-run-the-x-serve) – GAD3R Sep 20 '21 at 17:51
  • Please don't post screenshots. Post the text in question verbatim using proper markdown. – polemon Sep 26 '21 at 03:59

0 Answers0