Problem Booting Either LXDE or XFCE on Odroid C2

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Poui
Posts: 11
Joined: Fri Mar 24, 2017 3:58 pm

Problem Booting Either LXDE or XFCE on Odroid C2

Post by Poui »

Environment:

DietPi version: 6.17.12
OS version : Debian 9 stretch
Kernel: 3.16.57+

Actions:

Installed LXDE or alternatively XFCE from dietpi-software
Set autostart options to manual and alternatively desktop
Rebooted and logged in on each configuration change
In console, ran startx

**

startx


X.Org X Server 1.19.2
Release Date: 2017-03-02
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-8-arm64 aarch64 Debian
Current Operating System: Linux PouiHaus 3.16.57+ #1 SMP PREEMPT Sun Aug 19 15:27:56 CEST 2018 aarch64
Kernel command line: root=/dev/mmcblk0p2 rootwait ro console=tty0 no_console_suspend hdmimode=720p60hz m_bpp=32 vout= fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=true
Build Date: 25 October 2018 10:13:13AM
xorg-server 2:1.19.2-1+deb9u4 (https://www.debian.org/support)
Current version of pixman: 0.34.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: Sat Oct 27 02:06:43 2018
(==) 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"
modprobe: FATAL: Module mali_drm not found in directory /lib/modules/3.16.57+

**

What gives? Any thoughts on how my problem can be effectively resolved?
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Problem Booting Either LXDE or XFCE on Odroid C2

Post by Fourdee »

Hi,

Thanks for the report, appears to be a missing module. We'll investigate.

In the mean time, a workaround is to remove the following file and revert to software rendering:

Code: Select all

rm /etc/X11/xorg.conf
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Problem Booting Either LXDE or XFCE on Odroid C2

Post by Fourdee »

Hi,

I was unable to replicate on a fresh installation, please try reinstalling the kernel package.

Code: Select all

G_AGI --reinstall linux-image-arm64-odroid-c2 linux-image-3.16.57+
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Poui
Posts: 11
Joined: Fri Mar 24, 2017 3:58 pm

Re: Problem Booting Either LXDE or XFCE on Odroid C2

Post by Poui »

Hi Fourdee,

Your quick reply is appreciated.

This server has always been operated in headless mode. First attempt to run a desktop threw the error that prompted the original troubleshooting post.

Current Environment Settings:
- Autostart setting at 0 : Manual login (default)
- Installed desktop: XFCE

Executed Fix Action 1 as suggested:
- Removed /etc/X11/xorg.conf. Verified file removal.
- server deliberately rebooted
- Startx command run in console
- Same error thrown as originally reported, Except for any mention of file /etc/X11/xorg.conf


Executed Fix Action 2 as suggested:
- Server deliberately rebooted
- ran G_AGI --reinstall linux-image-arm64-odroid-c2 linux-image-3.16.57+
- result shown below:
[ OK ] APT installation for: --reinstall linux-image-arm64-odroid-c2 linux-image-3.16.57+, please wait...
Preconfiguring packages ...
(Reading database ... 100863 files and directories currently installed.)
Preparing to unpack .../linux-image-3.16.57+_3.16.57-20180819-C2_arm64.deb ...
The directory /lib/modules/3.16.57+ still exists. Continuing as directed.
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/remove-old-on-upgrade 3.16.57+ /boot/vmlinuz-3.16.57+
Done.
Unpacking linux-image-3.16.57+ (3.16.57-20180819-C2) over (3.16.57-20180819-C2) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.16.57+ /boot/vmlinuz-3.16.57+
Setting up linux-image-3.16.57+ (3.16.57-20180819-C2) ...

Hmm. There is a symbolic link /lib/modules/3.16.57+/build
However, I can not read it: No such file or directory
Therefore, I am deleting /lib/modules/3.16.57+/build

Hmm. The package shipped with a symbolic link /lib/modules/3.16.57+/source
However, I can not read the target: No such file or directory
Therefore, I am deleting /lib/modules/3.16.57+/source

Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/Image 3.16.57+ /boot/vmlinuz-3.16.57+
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.57+ /boot/vmlinuz-3.16.57+
run-parts: executing /etc/kernel/postinst.d/copy_dtb 3.16.57+ /boot/vmlinuz-3.16.57+
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.57+ /boot/vmlinuz-3.16.57+
update-initramfs: Generating /boot/initrd.img-3.16.57+
/etc/initramfs-tools/scripts/local-top/c2_init.sh: 25: /etc/initramfs-tools/scripts/local-top/c2_init.sh: fbset: not found
/etc/initramfs-tools/scripts/local-top/c2_init.sh: 26: /etc/initramfs-tools/scripts/local-top/c2_init.sh: fbset: not found
run-parts: executing /etc/kernel/postinst.d/uImage 3.16.57+ /boot/vmlinuz-3.16.57+
run-parts: executing /etc/kernel/postinst.d/uInitrd 3.16.57+ /boot/vmlinuz-3.16.57+

[ OK ] G_AGI: --reinstall linux-image-arm64-odroid-c2 linux-image-3.16.57+

- Server deliberately rebooted
- Autostart still set at option 0 : Manual login
- startx command run in console
- Result shown below:

X.Org X Server 1.19.2
Release Date: 2017-03-02
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-8-arm64 aarch64 Debian
Current Operating System: Linux PouiHaus 3.16.57+ #1 SMP PREEMPT Sun Aug 19 15:27:56 CEST 2018 aarch64
Kernel command line: root=/dev/mmcblk0p2 rootwait ro console=tty0 no_console_suspend hdmimode=720p60hz m_bpp=32 vout= fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=true
Build Date: 25 October 2018 10:13:13AM
xorg-server 2:1.19.2-1+deb9u4 (https://www.debian.org/support)
Current version of pixman: 0.34.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: "/home/dietpi/.local/share/xorg/Xorg.2.log", Time: Sat Oct 27 11:18:12 2018
(==) 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) xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
(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 "/home/dietpi/.local/share/xorg/Xorg.2.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
**

Really unsure what's going on here but can still continue to function in headless mode. Just did clean install and reconfigs about one month ago. Will sucks if I have to do it again.
Poui
Posts: 11
Joined: Fri Mar 24, 2017 3:58 pm

Re: Problem Booting Either LXDE or XFCE on Odroid C2

Post by Poui »

Update:

Reinstalled the Kernel a few times with reboot after each install. Now when startx run in console this results:

startx


X.Org X Server 1.19.2
Release Date: 2017-03-02
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-8-arm64 aarch64 Debian
Current Operating System: Linux PouiHaus 3.16.57+ #1 SMP PREEMPT Sun Aug 19 15:27:56 CEST 2018 aarch64
Kernel command line: root=/dev/mmcblk0p2 rootwait ro console=tty0 no_console_suspend hdmimode=720p60hz m_bpp=32 vout= fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=true
Build Date: 25 October 2018 10:13:13AM
xorg-server 2:1.19.2-1+deb9u4 (https://www.debian.org/support)
Current version of pixman: 0.34.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: Sat Oct 27 23:03:13 2018
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"

Nothing happens thereafter. Should I see some login, session selection, or desktop environment startup? This beats me so far.
LanRJ45
Posts: 1
Joined: Wed Nov 07, 2018 4:22 am

Re: Problem Booting Either LXDE or XFCE on Odroid C2

Post by LanRJ45 »

Glad to know that I am not the only one. Hope it is going to be fix soon :D

As a workaround for now I use MATE + VNC4
pulldown
Posts: 6
Joined: Tue Oct 17, 2017 5:40 pm

Re: Problem Booting Either LXDE or XFCE on Odroid C2

Post by pulldown »

I'm also having the mali_drm problem, and also originally installed headless. I have also reinstalled the kernel and rebooted, to no avail.

This problem might go away with a clean install, starting with X11 support from the very beginning, but I really don't want to do that.

I wonder if someone whose machine doesn't display this problem could post their /boot/config-3.16.57+ file. That might be useful.
Post Reply