Odroid C2, no desktop

Hello,
I have installed DietPi v8.1.2 from the available downloads on my Odroid C2, but I cannot enter the desktop.
After a clean install (only software I selected was LXDE) and rebooting, I keyed in “startx” to get to the desktop.
Some text appears, with most notably
__ (EE) Fatal server error
__ followed by some more (EE) messages and
__ xinit: giving up
__ xinit: unable to connect to X server: connection refused
__ xinit: xerver error
after that, I am back at the command line.
Is there something missing that I can still install?
Thanks for your support,
Laurens

usually there should be a log file specified on the error message. pls share it.

Hi Joulinar,
Thanks for looking into this.
I can’t make any screenprints from the odroid, hopefully these pictures will give you an idea
https://drive.google.com/drive/folders/1GMtD5KmkhEVvKnNKpLO-oMhWG3voUJsy?usp=sharing

Cheers!

you could try to login via SSH to grab the log file specified on the error message.

Anyway, could you try to run the desktop as user root

Hi Joulinar,

I get the same errors after I log in as root as I did as with user dietpi.

I have been trying to ssh in with putty, but putty says “Access denied” after I have keyed in the password. Same situation for both users root and dietpi.

Replaced Dropbear with openSSH, but then putty would not even connect to the IP address. So I changed back to Dropbear, but still access denied.

Do I need to change any setting in Dropbear to allow other PCs to SSH in?

Usually there is no need to configure anything. It should work ootb. It looks more you are using a wrong password. Probably you are running an English keyboard layout directly on your systems. Means, some characters are located on differente keys directly on the system than you might expect.

OK, that could make sense…

I will change the password to numbers only and try to ssh in again.

Thanks!

OK, I managed to ssh in with a new password

below is the error I keep getting. Hopefully, it contains some useful information

================

root@DietPi:~# startx


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Debian
Current Operating System: Linux DietPi 5.10.81-meson64 #21.08.6 SMP PREEMPT Mon Nov 22 11:21:51 UTC 2021 aarch64
Kernel command line: root=UUID=467a02df-3af4-4309-acd8-4d78ffe91171 rootwait rootfstype=ext4 console=ttyAML0,115200 console=tty1 consoleblank=0 coherent_pool=2M loglevel=4 ubootpart=28120000-01 libata.force=noncq usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u "net.ifnames=0"
Build Date: 16 December 2021  05:08:23PM
xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support)
Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 17 10:33:15 2022
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
root@DietPi:~#

====================

can you share /var/log/Xorg.0.log as well pls.

I am in the folder /var/log, and with command ls I can see the file Xorg.0.log

Now, how do I get to see the contents of the Xorg.0.log?

cat /var/log/Xorg.0.log

got it

root@DietPi:~# cd /var/log
root@DietPi:/var/log# ls
Xorg.0.log  Xorg.0.log.old  alternatives.log  apt  btmp  dpkg.log  fontconfig.log  lastlog  private  wtmp
root@DietPi:/var/log# cat /var/log/Xorg.0.log
[   313.888]
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[   313.889] Build Operating System: linux Debian
[   313.889] Current Operating System: Linux DietPi 5.10.81-meson64 #21.08.6 SMP PREEMPT Mon Nov 22 11:21:51 UTC 2021 aarch64
[   313.889] Kernel command line: root=UUID=467a02df-3af4-4309-acd8-4d78ffe91171 rootwait rootfstype=ext4 console=ttyAML0,115200 console=tty1 consoleblank=0 coherent_pool=2M loglevel=4 ubootpart=28120000-01 libata.force=noncq usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u "net.ifnames=0"
[   313.889] Build Date: 16 December 2021  05:08:23PM
[   313.889] xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support)
[   313.889] Current version of pixman: 0.40.0
[   313.889]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   313.889] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   313.890] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 17 11:30:59 2022
[   313.899] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   313.899] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   313.903] (==) No Layout section.  Using the first Screen section.
[   313.903] (==) No screen section available. Using defaults.
[   313.903] (**) |-->Screen "Default Screen Section" (0)
[   313.903] (**) |   |-->Monitor "<default monitor>"
[   313.904] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[   313.904] (**) Option "BlankTime" "0"
[   313.904] (==) Automatically adding devices
[   313.904] (==) Automatically enabling devices
[   313.904] (==) Automatically adding GPU devices
[   313.904] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   313.910] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   313.910]    Entry deleted from font path.
[   313.910] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[   313.910]    Entry deleted from font path.
[   313.910] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   313.910]    Entry deleted from font path.
[   313.910] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[   313.910]    Entry deleted from font path.
[   313.911] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[   313.911]    Entry deleted from font path.
[   313.911] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   313.911]    Entry deleted from font path.
[   313.911] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        built-ins
[   313.911] (==) ModulePath set to "/usr/lib/xorg/modules"
[   313.911] (**) Extension "DPMS" is disabled
[   313.911] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[   313.911] (II) Loader magic: 0xaaaab49e1e28
[   313.911] (II) Module ABI versions:
[   313.911]    X.Org ANSI C Emulation: 0.4
[   313.911]    X.Org Video Driver: 24.1
[   313.911]    X.Org XInput driver : 24.1
[   313.911]    X.Org Server Extension : 10.0
[   313.914] (--) using VT number 2

[   313.914] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   313.919] (II) xfree86: Adding drm device (/dev/dri/card1)
[   313.923] (II) xfree86: Adding drm device (/dev/dri/card0)
[   313.928] (II) no primary bus or device found
[   313.928]    falling back to /sys/devices/platform/soc/d0000000.apb/d00c0000.gpu/drm/card1
[   313.928] (II) LoadModule: "glx"
[   313.932] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   313.981] (II) Module glx: vendor="X.Org Foundation"
[   313.981]    compiled for 1.20.11, module version = 1.0.0
[   313.981]    ABI class: X.Org Server Extension, version 10.0
[   313.981] (==) Matched modesetting as autoconfigured driver 0
[   313.981] (==) Matched fbdev as autoconfigured driver 1
[   313.981] (==) Assigned the driver to the xf86ConfigLayout
[   313.981] (II) LoadModule: "modesetting"
[   313.981] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   313.986] (II) Module modesetting: vendor="X.Org Foundation"
[   313.986]    compiled for 1.20.11, module version = 1.20.11
[   313.986]    Module class: X.Org Video Driver
[   313.986]    ABI class: X.Org Video Driver, version 24.1
[   313.986] (II) LoadModule: "fbdev"
[   313.987] (WW) Warning, couldn't open module fbdev
[   313.987] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   313.987] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   314.024] (WW) Falling back to old probe method for modesetting
[   314.027] (II) modeset(0): using default device
[   314.044] (II) modeset(G0): using drv /dev/dri/card0
[   314.044] (EE)
Fatal server error:
[   314.044] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[   314.044] (EE)
[   314.044] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[   314.044] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   314.044] (EE)
[   314.233] (EE) Server terminated with error (1). Closing log file.
root@DietPi:/var/log#

can you check if installing following package is changing anything

apt install xorg-xserver-video-fbdev

tried it, see below

root@DietPi:~# apt install xorg-xserver-video-fbdev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package xorg-xserver-video-fbdev
root@DietPi:~#

Same issue here :frowning:: https://github.com/MichaIng/DietPi/issues/5234

It supports KMS/DRM, so the fbdev driver shouldn’t be required and it didn’t help in mentioned case since X11 reasonably prefers KMS/DRM when supported. However it fails to fully load for some reason. Can you try the steps near the end of the issue, copying them here:

apt update
apt install xserver-xorg-video-all
cat << '_EOF_' > /etc/X11/xorg.conf.d/99-modesetting.conf
Section "Device"
    Identifier "Mali Graphics"
    Driver     "modesetting"
    Option     "AccelMethod"   "glamor"
EndSection
_EOF_
startx

And when it does not work:

cat << '_EOF_' > /etc/X11/xorg.conf.d/99-modesetting.conf
Section "Device"
    Identifier "Mali Graphics"
    Driver     "modesetting"
    Option     "AccelMethod"   "glamor"
    Option     "kmsdev"        "/dev/dri/card1"
EndSection
_EOF_
startx

Hi MichaIng,
Thanks for looking into this.

**** first suggestion result:

root@DietPi:~# apt update
apt install xserver-xorg-video-all
cat << '_EOF_' > /etc/X11/xorg.conf/99-modesetting.conf
Section "Device"
    Identifier "Mali Graphics"
    Driver     "modesetting"
    Option     "AccelMethod"   "glamor"
EndSection
_EOF_
startx
Hit:1 https://deb.debian.org/debian bullseye InRelease
Hit:2 https://deb.debian.org/debian bullseye-updates InRelease
Hit:3 https://deb.debian.org/debian-security bullseye-security InRelease
Hit:4 https://deb.debian.org/debian bullseye-backports InRelease
Hit:5 http://mirrors.dotsrc.org/armbian-apt bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
xserver-xorg-video-all is already the newest version (1:7.7+22).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-bash: /etc/X11/xorg.conf/99-modesetting.conf: No such file or directory


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Debian
Current Operating System: Linux DietPi 5.10.81-meson64 #21.08.6 SMP PREEMPT Mon Nov 22 11:21:51 UTC 2021 aarch64
Kernel command line: root=UUID=467a02df-3af4-4309-acd8-4d78ffe91171 rootwait rootfstype=ext4 console=ttyAML0,115200 console=tty1 consoleblank=0 coherent_pool=2M loglevel=4 ubootpart=28120000-01 libata.force=noncq usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u "net.ifnames=0"
Build Date: 16 December 2021  05:08:23PM
xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support)
Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 18 09:56:41 2022
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
root@DietPi:~#

============

**** second suggestion result:

root@DietPi:~# cat << '_EOF_' > /etc/X11/xorg.conf/99-modesetting.conf
Section "Device"
    Identifier "Mali Graphics"
    Driver     "modesetting"
    Option     "AccelMethod"   "glamor"
    Option     "kmsdev"        "/dev/dri/card1"
EndSection
_EOF_
startx
-bash: /etc/X11/xorg.conf/99-modesetting.conf: No such file or directory


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Debian
Current Operating System: Linux DietPi 5.10.81-meson64 #21.08.6 SMP PREEMPT Mon Nov 22 11:21:51 UTC 2021 aarch64
Kernel command line: root=UUID=467a02df-3af4-4309-acd8-4d78ffe91171 rootwait rootfstype=ext4 console=ttyAML0,115200 console=tty1 consoleblank=0 coherent_pool=2M loglevel=4 ubootpart=28120000-01 libata.force=noncq usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u "net.ifnames=0"
Build Date: 16 December 2021  05:08:23PM
xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support)
Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 18 10:04:07 2022
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
root@DietPi:~#

===========

So, no improvement, unfortunately.

pls try to execute the commands one after each other and not all together. At the moment you are failing to create config file etc/X11/xorg.conf/99-modesetting.conf

-bash: /etc/X11/xorg.conf/99-modesetting.conf: No such file or directory

Strange but it seems directory /etc/X11/xorg.conf/ is not existing.

Could you try following as first test

mkdir -p /etc/X11/xorg.conf/



cat << '_EOF_' > /etc/X11/xorg.conf/99-modesetting.conf
Section "Device"
    Identifier "Mali Graphics"
    Driver     "modesetting"
    Option     "AccelMethod"   "glamor"
EndSection
_EOF_



startx

and the 2nd one

cat << '_EOF_' > /etc/X11/xorg.conf/99-modesetting.conf
Section "Device"
    Identifier "Mali Graphics"
    Driver     "modesetting"
    Option     "AccelMethod"   "glamor"
    Option     "kmsdev"        "/dev/dri/card1"
EndSection
_EOF_



startx

the cat << ‘EOF’ > block should be copied together.

did both commands again, please see below (both suggestions in one block)
no improvement as far as I can see


root@DietPi:~# mkdir -p /etc/X11/xorg.conf/
root@DietPi:~# cat << '_EOF_' > /etc/X11/xorg.conf/99-modesetting.conf
Section "Device"
    Identifier "Mali Graphics"
    Driver     "modesetting"
    Option     "AccelMethod"   "glamor"
EndSection
_EOF_
root@DietPi:~# startx


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Debian
Current Operating System: Linux DietPi 5.10.81-meson64 #21.08.6 SMP PREEMPT Mon Nov 22 11:21:51 UTC 2021 aarch64
Kernel command line: root=UUID=467a02df-3af4-4309-acd8-4d78ffe91171 rootwait rootfstype=ext4 console=ttyAML0,115200 console=tty1 consoleblank=0 coherent_pool=2M loglevel=4 ubootpart=28120000-01 libata.force=noncq usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u "net.ifnames=0"
Build Date: 16 December 2021  05:08:23PM
xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support)
Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 18 11:11:48 2022
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error



root@DietPi:~# cat << '_EOF_' > /etc/X11/xorg.conf/99-modesetting.conf
Section "Device"
    Identifier "Mali Graphics"
    Driver     "modesetting"
    Option     "AccelMethod"   "glamor"
    Option     "kmsdev"        "/dev/dri/card1"
EndSection
_EOF_
root@DietPi:~# startx


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Debian
Current Operating System: Linux DietPi 5.10.81-meson64 #21.08.6 SMP PREEMPT Mon Nov 22 11:21:51 UTC 2021 aarch64
Kernel command line: root=UUID=467a02df-3af4-4309-acd8-4d78ffe91171 rootwait rootfstype=ext4 console=ttyAML0,115200 console=tty1 consoleblank=0 coherent_pool=2M loglevel=4 ubootpart=28120000-01 libata.force=noncq usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u "net.ifnames=0"
Build Date: 16 December 2021  05:08:23PM
xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support)
Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 18 11:12:39 2022
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
root@DietPi:~#

Ah sorry my fault, it’s not /etc/X11/xorg.conf but /etc/X11/xorg.conf.d where the file should go to. I adjusted the commands above. /etc/X11/xorg.conf would need to be the file itself, that would work as well, but I prefer to use dedicated config files in /etc/X11/xorg.conf.d.

Hi, ran the modified commands, nothing happened (I mean nothing was downloaded or updated)
startx returns the same errors as before

root@DietPi:~# mkdir -p /etc/X11/xorg.conf.d/
root@DietPi:~# cat << '_EOF_' > /etc/X11/xorg.conf.d/99-modesetting.conf
Section "Device"
    Identifier "Mali Graphics"
    Driver     "modesetting"
    Option     "AccelMethod"   "glamor"
EndSection
_EOF_
root@DietPi:~# cat << '_EOF_' > /etc/X11/xorg.conf.d/99-modesetting.conf
Section "Device"
    Identifier "Mali Graphics"
    Driver     "modesetting"
    Option     "AccelMethod"   "glamor"
EndSection
_EOF_
root@DietPi:~# mkdir -p /etc/X11/xorg.conf.d/
root@DietPi:~# cat << '_EOF_' > /etc/X11/xorg.conf.d/99-modesetting.conf
Section "Device"
    Identifier "Mali Graphics"
    Driver     "modesetting"
    Option     "AccelMethod"   "glamor"
EndSection
_EOF_
root@DietPi:~# startx


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Debian
Current Operating System: Linux DietPi 5.10.81-meson64 #21.08.6 SMP PREEMPT Mon Nov 22 11:21:51 UTC 2021 aarch64
Kernel command line: root=UUID=467a02df-3af4-4309-acd8-4d78ffe91171 rootwait rootfstype=ext4 console=ttyAML0,115200 console=tty1 consoleblank=0 coherent_pool=2M loglevel=4 ubootpart=28120000-01 libata.force=noncq usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u "net.ifnames=0"
Build Date: 16 December 2021  05:08:23PM
xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support)
Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Feb 20 14:37:24 2022
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
root@DietPi:~# cat << '_EOF_' > /etc/X11/xorg.conf.d/99-modesetting.conf
Section "Device"
    Identifier "Mali Graphics"
    Driver     "modesetting"
    Option     "AccelMethod"   "glamor"
    Option     "kmsdev"        "/dev/dri/card1"
EndSection
_EOF_
root@DietPi:~# startx


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Debian
Current Operating System: Linux DietPi 5.10.81-meson64 #21.08.6 SMP PREEMPT Mon Nov 22 11:21:51 UTC 2021 aarch64
Kernel command line: root=UUID=467a02df-3af4-4309-acd8-4d78ffe91171 rootwait rootfstype=ext4 console=ttyAML0,115200 console=tty1 consoleblank=0 coherent_pool=2M loglevel=4 ubootpart=28120000-01 libata.force=noncq usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u "net.ifnames=0"
Build Date: 16 December 2021  05:08:23PM
xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support)
Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Feb 20 14:38:20 2022
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error