EE no screens found when startx

All Running 19.10 Server on raspberry pi4 (4gb) with no issues when using CLI. I installed Ubuntu desktop latest version but when I do startx I get the ee no screens found ee error. I am doing it remotely via ssh. I tried Kde and xfce but get the same error. Fix ?


Solution 1:

I had the same problem with the Raspberry Pi4 (2GB).

Did you check the X server log file? It should be located in ~/.local/share/xorg/Xorg.0.log.

In my case it read:

...
(WW) Warning, couldn't open module fbdev
(EE) Failed to load module "fbdev" (module does not exist, 0)
...
Fatal server error:
(EE) no screens found(EE)
...

So I installed the missing fbdev module (took me some time to figure out the exact name):

$ sudo apt install xserver-xorg-video-fbdev

After that, startx started the desktop environment just fine. As for why this module was missing in the first place, I have no clue.