Archlinux: XFCE Image for Odroid N2/N2+

Post Reply
jgmdev
Posts: 212
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, N2+, C4
Has thanked: 80 times
Been thanked: 147 times
Contact:

Archlinux: XFCE Image for Odroid N2/N2+

Post by jgmdev »

Arch Linux is a lightweight and flexible Linux distribution that tries to Keep It Simple but installing it can be daunting for many. So, I worked on a shell script to generate disk images out of ArchLinux tar files (more details about the ArchLinux Disk Image Generator on Github). Sometimes is easier to just burn an image than going thru the whole setup process. So besides Manjaro (which is based on ArchLinux), for those that would like to give ArchLinux a run, here I share this ready to use image.

What is Included?
  • Latest XFCE Desktop Environment.
  • 4.9.x Kernel with audio and N2+ support
  • Mali GPU Kernel Driver.
  • Binary FBDEV driver for Hardware Acceleration. Thanks to @tobetter for instructions
  • GL4ES for OpenGL to OpenGL ES FBDEV conversion which allows many applications to run with good graphical performance. Thanks to @meveric for instructions.
  • Bluetooth
  • Networking with NetworkManager
  • Pre-configured cpupower with known working settings.
  • Yay AUR helper.
  • Pamac software center.
  • Use of Arc desktop theme and Papirus icon theme by default.
  • Pre-configured bindings that give XFCE tiling functionality (see Keyboard/Window Manager on System Settings).
  • SSH Enabled.
  • Bigger and more readable tty font.
  • Installed archlinuxdroid-repo for easier kernel and custom package upgrades.
  • Realtime privileges enabled for alarm user for pro-audio.
  • A nice space.jpg wallpaper!
Here are some basic screenshots:

Image

Software Center provided by Pamac

Image

Installation

The process of burning the image into a SD or EMMC card should be the same as with other images and is well documented in other places so I will not write about that. Besides that, the image doesn't boots from petitboot unless you have an updated petitboot installed (20200721 release seems to work) and compatible display (otherwise you will get a blank screen), if not you will need to boot directly from emmc or sdcard.

Login Credentials:
username: alarm
password: alarm

Administration:
username: root
password: root

Don't forget to change the default password for added security.

Setup

With latest image, after booting to the login manager wait some seconds because the system will grow the partition, setup locales, setup the boot partition on /etc/fstab and reboot.

Keyboard Bindings

Note: SuperKey is also known as WinKey
  1. Press SuperKey + a to open the applications menu.
  2. Press SuperKey + t to drop down the terminal
  3. Press SuperKey + f to go into fullscreen for applications that support it
  4. Press SuperKey + q to quit/close an application
For more bindings check the xfce settings.

Known Issues

Desktop Environment Stalls/Freezes and doesn't responds to Mouse/Keyboard Input after a certain amount of idle time,

This issue is caused by latest versions of XFCE ScreenSaver and Locker system, to prevent this issue disable the ScreenSaver functionality as follows:

Image

Image

Image

OpenGL application like blender does not opens

Disable GL4ES by running sudo odroid-gl4es toggle and retry running the application.

What Works?

Triple A Games :D

OpenArena - sudo pacman -S openarena
Cendric - sudo pacman -S cendric-git
SuperTux - sudo pacman -S supertux
MineTest - sudo pacman -S minetest

and more...

Video

MPV with SDL backend (automatically selected on video playback)

More

For details on what tested applications support GPU Hardware Acceleration check the Archlinux: X GPU Acceleration Guide, If you test more OpenGL applications that work with GL4ES let me know to update the list.

Other Images I have Worked on

Odroid N2 ArchLinux GNOME
Odroid N2 ArchLinux Wayfire
Odroid C4 ArchLinux GNOME
Odroid C4 ArchLinux Wayfire
Odroid C4 ArchLinux XFCE

Changes Log

Date - 23/10/2020
* Changed kernel name from linux-odroid-n2plus to linux-odroid-g12 in an effort to unify kernel builds for N2 and C4,
* Added custom repository for easy software updates.
* Improved uboot-odroid-n2plus to generate proper boot.ini if changing from 4.9 kernel to 5.x.
* Added newer odroid-n2-libgl-fb package that can coexist with odroid-n2-libgl-wl package. Also both packages include a helper script (odroid-mali-wl, odroid-mali-fb) to run applications with that specific libMali version. Run odroid-mali-wl or odroid-mali-fb for usage instructions.
* Updated odroid-gl4es package that includes tool that can be used to enable/disable it as to run applications with gl4es even if disabled, for usage run odroid-gl4es.
* Dropped mainline kernel xfce image since that kernel can be installed from the repo.
* Latest software updates.

Date - 20/08/2020
* Added image with latest 4.9.230 kernel which has new overlay to always have fan running on N2+, and has updated wifi module driver.
* Added odroid-alsa package to the 4.9.230 image.

Date - 05/08/2020
* Added automatic resizing of system partition, generation of locales and setup of /etc/fstab
* Fixed booting from emmc module when sdcard is not present by properly setting up /etc/fstab
* Swapped kernel 4.9.10 with 5.7.10 for better rendering performance.

Date - 27/07/2020
* Swapped mainline kernel with hardkernel 4.9.230 g12 branch.
* Updated uboot to latest automatic travis build provided by hardkernel.
* Enabled kernel 4.9.230 modules as in official ubuntu image.
* Removed dkms-mali-bifrost since that driver is already built into kernel.
* Removed dkms-8812au driver which is also built into kernel.
* Modified odroid-n2-libgl-fb to not require dkms-mali-bifrost.
* Added latest GL4ES from git.
* Added latest pamac-aur, xfce4-places-plugin, xfce4-docklike-plugin-git.
* Added realtime privileges to alarm user for pro-audio.

Date - 19/05/2020
* First release

Download

Latest image with Kernel 4.9.x (supports built-in audio):
https://mega.nz/file/uYEWgDoA#qPK4xKSNw ... G6UEoZ2nMM

Pre-built PKGBUILDs to update older image for N2+ support
https://archlinuxdroid.tk/

PKGBUILD sources
https://github.com/jgmdev/archlinux-odroid
Last edited by jgmdev on Fri Oct 23, 2020 5:58 pm, edited 26 times in total.
These users thanked the author jgmdev for the post (total 6):
tobetter (Tue May 19, 2020 8:32 pm) • rooted (Wed May 20, 2020 12:05 am) • mad_ady (Wed May 20, 2020 3:25 am) • odroid (Wed May 20, 2020 9:55 am) • istanbulls (Wed May 20, 2020 7:45 pm) • neighbour (Sat Jun 13, 2020 4:32 pm)

User avatar
tobetter
Posts: 6597
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 325 times
Been thanked: 909 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by tobetter »

Welcome XFCE!!
Thanks @jgmdev!!

Sav
Posts: 226
Joined: Mon Sep 02, 2019 2:33 am
languages_spoken: english
ODROIDs: odroid-n2
Has thanked: 59 times
Been thanked: 22 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by Sav »

wonderfull
Thanks

User avatar
istanbulls
Posts: 369
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 229 times
Been thanked: 53 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by istanbulls »

very good news, i try it right now. :)

Thanks,

User avatar
istanbulls
Posts: 369
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 229 times
Been thanked: 53 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by istanbulls »

I did a few different attempts but it didn't work. It stays on the black screen.
The blue heartbeat is slow. The Ethernet bulb does not light.
I also tried with Usb Card reader, the result is unsuccessful.

Sorry,

jgmdev
Posts: 212
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, N2+, C4
Has thanked: 80 times
Been thanked: 147 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by jgmdev »

istanbulls wrote:
Wed May 20, 2020 10:23 pm
I did a few different attempts but it didn't work. It stays on the black screen.
The blue heartbeat is slow. The Ethernet bulb does not light.
I also tried with Usb Card reader, the result is unsuccessful.
Thanks for testing! I just tested burning it to a sd card and it boots for me but only without petitboot. If using petitboot the screen stays black. Maybe an issue with mainline kernel booting from petitboot...

User avatar
istanbulls
Posts: 369
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 229 times
Been thanked: 53 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by istanbulls »

jgmdev wrote:
Wed May 20, 2020 10:36 pm
Thanks for testing! I just tested burning it to a sd card and it boots for me but only without petitboot. If using petitboot the screen stays black. Maybe an issue with mainline kernel booting from petitboot...
I tried with Petitboot, I didn't want to open the casing and eMMC.
I will try without Petitboot! OK.

User avatar
istanbulls
Posts: 369
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 229 times
Been thanked: 53 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by istanbulls »

I am writing this message in Archlinux: XFCE. It works well without Petitboot.

Thanks
These users thanked the author istanbulls for the post:
jgmdev (Wed May 20, 2020 11:07 pm)

jgmdev
Posts: 212
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, N2+, C4
Has thanked: 80 times
Been thanked: 147 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by jgmdev »

istanbulls wrote:
Wed May 20, 2020 10:48 pm
I tried with Petitboot, I didn't want to open the casing and eMMC.
I will try without Petitboot! OK.
In my case the sd card takes priority over the emmc, so inserting a sd card shouldn't require removing the emmc in order to boot from sd, unless something related with android been installed on emmc...

User avatar
istanbulls
Posts: 369
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 229 times
Been thanked: 53 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by istanbulls »

jgmdev wrote:
Wed May 20, 2020 11:10 pm

In my case the sd card takes priority over the emmc, so inserting a sd card shouldn't require removing the emmc in order to boot from sd, unless something related with android been installed on emmc...
There is android on eMMC :)
No sound and no language change option, or I can't find it.
I will change language with the terminal.
I will make adjustments, test and share my experience.
Thanks for everything!

kxe
Posts: 1
Joined: Mon May 25, 2020 6:12 am
languages_spoken: english
ODROIDs: N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by kxe »

jgmdev wrote:
Wed May 20, 2020 10:36 pm
it boots for me but only without petitboot. If using petitboot the screen stays black.
Sorry I didn't find how to boot without petitboot, so I see that black screen with blink cursor.
Could you explain how to boot, please?
UPDATE: Found. The boot mode should be switched to MMC as https://wiki.odroid.com/getting_started ... _using_otg says for "Direct booting". I didn't wait some more time to boot arch.

jgmdev
Posts: 212
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, N2+, C4
Has thanked: 80 times
Been thanked: 147 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by jgmdev »

kxe wrote:
Mon May 25, 2020 6:17 am
I didn't wait some more time to boot arch.
Yes, the screen stays black for a couple of seconds until the login manager pops up. That is how it goes with mainline kernel, which in this case is version 5.7. As the main kernel support keeps improving things will work better.

Snippo
Posts: 2
Joined: Sat May 02, 2020 4:30 pm
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by Snippo »

Thanks jgmdev. Works great. The only issue is that Firefox seems to crash with WebGL enabled, as you mentioned in the other topic.

jgmdev
Posts: 212
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, N2+, C4
Has thanked: 80 times
Been thanked: 147 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by jgmdev »

Snippo wrote:
Wed May 27, 2020 11:14 pm
Thanks jgmdev. Works great. The only issue is that Firefox seems to crash with WebGL enabled, as you mentioned in the other topic.
Upgrade to latest odroid-gl4es package on my repo and it should fix the crash issue. Also, as an alternative chromium doesn't have this problem.

joejoe
Posts: 2
Joined: Tue Oct 22, 2019 8:45 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Archlinux: XFCE Image for Odroid N2

Post by joejoe »

Thanks @jmgdev,
Overall very nice image,
I have one problem though, I tried to update system, and after updating kernel, dkms fails to rebuild modules for new kernel.
I don't have the logs now, because I already reinstalled, but I tried it few times and it always failed, the only modification I did was change MMC partition name in fstab.
After update it's not booting at all

jgmdev
Posts: 212
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, N2+, C4
Has thanked: 80 times
Been thanked: 147 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2

Post by jgmdev »

joejoe wrote:
Fri Jul 17, 2020 7:15 pm
modification I did was change MMC partition name in fstab.
After update it's not booting at all
I'm booting from external usb SSD and it works properly this is what I have on fstab

Code: Select all

/dev/sda2       /            ext4    defaults,discard  0 0
And this on the boot.ini

Code: Select all

setenv bootargs "root=/dev/sda2 rootwait rw mitigations=off ${condev} ${amlogic} no_console_suspend fsck.repair=yes net.ifnames=0 clk_ignore_unused video=HDMI-A-1:1920x1080@60"
You may not need the video=HDMI-A-1:1920x1080@60 part, I use it to force resolution of Xserver or Wayland on display that isn't properly initialized on mainline kernel. Also I use mitigations=off just in case there are kernel vulnerability mitigations turned on for ARM which would actually make the device slower and for my use case I don't need them.

joejoe
Posts: 2
Joined: Tue Oct 22, 2019 8:45 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Archlinux: XFCE Image for Odroid N2

Post by joejoe »

jgmdev wrote:
Wed Jul 22, 2020 2:16 am
joejoe wrote:
Fri Jul 17, 2020 7:15 pm
modification I did was change MMC partition name in fstab.
After update it's not booting at all
I'm booting from external usb SSD and it works properly this is what I have on fstab
well the problem is after kernel update, if i disable kernel packages in pacman all is good, but i dont have new kernel updates,

are kernel updates no problem for you? do the realtek and mali modules rebuild after update?

jgmdev
Posts: 212
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, N2+, C4
Has thanked: 80 times
Been thanked: 147 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2

Post by jgmdev »

no issues when updating kernels from archlinuxarm repo's or building my own, but now I don't remember if that image ships latest dkms packages for wifi and mali:

https://github.com/jgmdev/archlinux-odr ... kms-8812au
https://github.com/jgmdev/archlinux-odr ... li-bifrost

jgmdev
Posts: 212
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, N2+, C4
Has thanked: 80 times
Been thanked: 147 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by jgmdev »

Refreshed the image to support the revised Odroid N2+ which is a beast when overclocked :D !

Changes:
Swapped mainline kernel with hardkernel 4.9.230 g12 branch.
Updated uboot to latest automatic travis build provided by hardkernel.
Enabled kernel 4.9.230 modules as in official ubuntu image.
Removed dkms-mali-bifrost since that driver is already built into kernel.
Removed dkms-8812au driver which is also built into kernel.
Modified odroid-n2-libgl-fb to not require dkms-mali-bifrost.
Added latest GL4ES from git.
Added latest pamac-aur, xfce4-places-plugin, xfce4-docklike-plugin-git.
Added realtime privileges to alarm user for pro-audio.

Pre-built PKGBUILDs to update older image installations for N2+ support
https://mega.nz/folder/jN03DbgZ#CHKKmJt-fYGISCE0t0XmBg

Check first post for download link!
These users thanked the author jgmdev for the post (total 2):
tobetter (Tue Jul 28, 2020 5:31 pm) • odroid (Tue Jul 28, 2020 6:12 pm)

jgmdev
Posts: 212
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, N2+, C4
Has thanked: 80 times
Been thanked: 147 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by jgmdev »

Updated the image with the following:

Changes:
* Added automatic resizing of system partition, generation of locales and setup of /etc/fstab
* Fixed booting from emmc module when sdcard is not present by properly setting up /etc/fstab

Check first post for download link!

_HC1_dude
Posts: 29
Joined: Sun Jun 09, 2019 12:55 pm
languages_spoken: english
ODROIDs: HC1 & N2+
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by _HC1_dude »

Hi,
1) I am running this image and so far it is very good and fast.
One issue I am having is with a video playback error 102630 on the Australian tv streaming site https://iview.abc.net.au. The site uses jwplayer 8.10.3
The Help page https://iviewsupport.abc.net.au/hc/en-u ... b-browser- doesn't help
From some googling I think it is DRM related and possibly related to the Widevine Decryption Module (although the same error appears on Firefox). I can't find this under //chrome/components
Video playback works on SBS OnDemand and another commercial Australian TV stream as well as Youtube.
I'm hoping there's a solution.
I'm a bit of a hobbyist so hopefully I haven't done anything stupid or overlooked something simple.

2) after setting some energy savings parameters I received the following error message after a reboot
"GDBus.Error:org.freedesktop.login1.SleepVerbNotSupported: Not enough swap space for hibernation"

3) Can I change the default username to something other than alarm?
4) Can I automatically log in to the desktop upon boot?

Thanks,

Jon

jgmdev
Posts: 212
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, N2+, C4
Has thanked: 80 times
Been thanked: 147 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by jgmdev »

_HC1_dude wrote:
Wed Aug 19, 2020 9:50 pm
From some googling I think it is DRM related and possibly related to the Widevine Decryption Module.
The DRM browser plugin is only available for armv7 (arm 32 bits) and not arm64 bits (aarch64), so you would need an ARM 32Bits chroot with a browser like Vivaldi which has support for this plugin. If I recall correctly the kernel I shipped with the image should support 32 bit applications so the hardest part would be setting up the chroot and downloading a compatible widevine plugin. I will try to write instructions for that later on a separate thread. This other guide mostly applies: viewtopic.php?f=176&t=37648 and has a link to bash script that downloads and extracts the widevine plugin, the difference that on archlinux a 32bits arm chroot container would be needed.
_HC1_dude wrote:
Wed Aug 19, 2020 9:50 pm
2) after setting some energy savings parameters I received the following error message after a reboot
"GDBus.Error:org.freedesktop.login1.SleepVerbNotSupported: Not enough swap space for hibernation"
Which energy saving settings are that?
_HC1_dude wrote:
Wed Aug 19, 2020 9:50 pm
3) Can I change the default username to something other than alarm?
Depending on what you mean you can use the mugshot utility as in screen shot below:

Image

Or you can create another user account by opening a terminal and typing:

Code: Select all

sudo useradd -m mynewuser
The -m flag tells the useradd command to create the mynewuser home directory, which is created on /home/mynewuser

Then you can assign a password to this account:

Code: Select all

sudo passwd mynewuser
Add user to various groups to get right permissions like sudo given with the wheel group:

Code: Select all

usermod -G audio,tty,video,input,wheel,network,realtime -a mynewuser
Finally you can copy all your user configurations and files from the alarm account:

Code: Select all

sudo cp -av /home/alarm/* /home/mynewuser/
And change all file permissions to that of the new user:

Code: Select all

sudo chown -R mynewuser:mynewuser /home/mynewuser
After logging into the new user account you can delete older alarm account:

Code: Select all

sudo userdel -r alarm
The -r flag will delete all the user files on /home/alarm
_HC1_dude wrote:
Wed Aug 19, 2020 9:50 pm
4) Can I automatically log in to the desktop upon boot?
This instructions say how to do it https://wiki.archlinux.org/index.php/Li ... _autologin

_HC1_dude
Posts: 29
Joined: Sun Jun 09, 2019 12:55 pm
languages_spoken: english
ODROIDs: HC1 & N2+
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by _HC1_dude »

Thank you,
I will carefully go over your responses and report back.

J

jgmdev
Posts: 212
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, N2+, C4
Has thanked: 80 times
Been thanked: 147 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by jgmdev »

Today I decided to check latest changes in the 4.9.x kernel branch and after a compile and install I noticed that I got an "Audio Jack" output option on the pulseaudio configuration tool as shown on the screenshot below. Not sure if that was there before, but decided to add a new image option with this latest 4.9.230 kernel version and the odroid-alsa package to add alsa configuration files for the built-in audio jack.

Image

Changes on the uploaded image with 4.9.x kernel
* Latest 4.9.230 kernel which has new overlay to always have fan running on N2+, and has updated wifi module driver.
* odroid-alsa package to add configuration files to enable built-in audio jack.

If you want to switch a current installation from the 5.x.x kernel to the 4.9.x kernel which has better display support or you need the built-in audio support try the pre-built packages here https://mega.nz/folder/jN03DbgZ#CHKKmJt-fYGISCE0t0XmBg named linux-odroid-n2plus-4.9.*-aarch64.pkg.tar.zst and linux-odroid-n2plus-headers-4.9.*-aarch64.pkg.tar.zst. Dont forget to uninstall the dkms-mali-bifrost package which isn't compatible with 4.9.x kernel which already has a mali kernel driver built-in. Also uninstall the dkms-8812au because the 4.9 kernel now includes a driver that works much better for the wifi module. And finally also install the odroid-alsa package shared on the link above.

Note: When switching from kernel 4.9.x to 5.x.x or vice-versa make sure to use the proper /boot/boot.ini file. Here is a sample boot.ini for 4.9.x kernel and a sample boot.ini for 5.x.x kernel

For download link of the new 4.9.x image check first post.

_HC1_dude
Posts: 29
Joined: Sun Jun 09, 2019 12:55 pm
languages_spoken: english
ODROIDs: HC1 & N2+
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by _HC1_dude »

Hi again,
I returned from uni today to find the energy savings error again and the display is frozen. There's no response to mouse or keyboard events.
Machine seems to be running happily enough. I have ssh'd in and Plex is still running. I'll reboot and turn all energy savings settings off and see how that goes.
Update: I got busy making new users and din't turn off energy savings settings then went out for a few hours and came home to a stuck UI again.

jgmdev
Posts: 212
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, N2+, C4
Has thanked: 80 times
Been thanked: 147 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by jgmdev »

_HC1_dude wrote:
Thu Aug 20, 2020 4:22 pm
Hi again,
I returned from uni today to find the energy savings error again and the display is frozen. There's no response to mouse or keyboard events.
Machine seems to be running happily enough. I have ssh'd in and Plex is still running. I'll reboot and turn all energy savings settings off and see how that goes.
Update: I got busy making new users and din't turn off energy savings settings then went out for a few hours and came home to a stuck UI again.
Not sure how you are applying those energy settings, but you could try editing /etc/default/cpupower and setting the values to something similar:

Code: Select all

# Define CPUs governor
# valid governors: ondemand, performance, powersave, conservative, userspace.
governor='schedutil'

# Limit frequency range
# Valid suffixes: Hz, kHz (default), MHz, GHz, THz
min_freq="1.5GHz"
max_freq="2.3GHz"
Then sudo systemctl restart cpupower. I have found that somehow schedutil responds better.

And now that I remember also disable the screensaver of XFCE, if I recall correctly there was an issue with it causing UI stalls and I totally forgot about it...

Image

Image

Image

jgmdev
Posts: 212
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, N2+, C4
Has thanked: 80 times
Been thanked: 147 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by jgmdev »

Ahh yes, the screensaver should be the one at fault! I just tested by re-enabling it on my system and it causes the Desktop to not respond to input events requiring a switch to a virtual terminal (CTRL + ALT + F2) and running sudo systemctl restart lightdm. I totally forgot about this! WIll add it to the known issues section of the first post. Thanks for reporting this!

_HC1_dude
Posts: 29
Joined: Sun Jun 09, 2019 12:55 pm
languages_spoken: english
ODROIDs: HC1 & N2+
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by _HC1_dude »

Thank you!
I've noticed an issue wth Syncthing not wanting to start after I added a user and deleted alarm user.
I haven't really had a chance to look into it yet but will report back.

jgmdev
Posts: 212
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, N2+, C4
Has thanked: 80 times
Been thanked: 147 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by jgmdev »

Updated odroid-gl4es package to include cli utility to easily disable/enable global gl4es opengl hijacking sudo odroid-gl4es toggle also you can easily open the /etc/profile.d/gl4es.sh environment variables file for editing sudo odroid-gl4es config Read https://github.com/ptitSeb/gl4es/blob/master/USAGE.md for documentation.

Pre-built package:
https://mega.nz/folder/jN03DbgZ#CHKKmJt-fYGISCE0t0XmBg

PKGBUIILD:
https://github.com/jgmdev/archlinux-odr ... roid-gl4es
These users thanked the author jgmdev for the post:
odroid (Fri Aug 21, 2020 2:57 pm)

jgmdev
Posts: 212
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, N2+, C4
Has thanked: 80 times
Been thanked: 147 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by jgmdev »

Updated odroid-n2-libgl-fb and unified it with the PKGBUILD of odroid-n2-libgl-wl and made it possible for both to be installed at the same time as explained here viewtopic.php?p=304266#p304266

As a result the odroid-gl4es package was updated again to be able to keep working with newer odroid-n2-libgl-fb and also added new commands to it:

Code: Select all

Basic utility to administer gl4es.
Usage: odroid-gl4es <command>

COMMANDS:

  status - Print the gl4es activation status.

  toggle - Enable or disable gl4es OpenGL hi-jacking.

  config - Edit the environment variables related to gl4es.

  run <command> - Run a command with GL4ES enabled 
                  even if it is Disabled.
Pre-built package:
https://mega.nz/folder/jN03DbgZ#CHKKmJt-fYGISCE0t0XmBg

PKGBUIILD:
https://github.com/jgmdev/archlinux-odr ... roid-gl4es

jgmdev
Posts: 212
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, N2+, C4
Has thanked: 80 times
Been thanked: 147 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by jgmdev »

Updated image on first post with the following changes:

Date - 23/10/2020
* Changed kernel package name from linux-odroid-n2plus to linux-odroid-g12 in an effort to unify kernel builds for N2 and C4,
* Added custom repository for easy software updates.
* Improved uboot-odroid-n2plus to generate proper boot.ini if changing from 4.9 kernel to 5.x.
* Added newer odroid-n2-libgl-fb package that can coexist with odroid-n2-libgl-wl package. Also both packages include a helper script (odroid-mali-wl, odroid-mali-fb) to run applications with that specific libMali version. Run odroid-mali-wl or odroid-mali-fb for usage instructions.
* Updated odroid-gl4es package that includes tool that can be used to enable/disable it as to run applications with gl4es even if disabled, for usage run odroid-gl4es.
* Dropped mainline kernel xfce image since that kernel can be installed from the repo.
* Latest software updates.

Download on first post!

Existing Installations

For existing installations to benefit from the new repository mentioned on the changes one can install this package to enable the repo http://archlinuxdroid.tk/archlinuxdroid ... kg.tar.zst

Then one would need to do something like:

Code: Select all

# To sync repositories
sudo pacman -Sy

# Replace current kernel with newer build
sudo pacman -S linux-odroid-g12 linux-odroid-g12-headers

# Update the rest of the packages
sudo pacman -Su

# Reboot system to apply new kernel build
sudo systemctl reboot
After all of that, subsequent updates would be a command away sudo pacman -Suy or by using the pamac-aur package manager thanks to the new packages repository.

jgmdev
Posts: 212
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, N2+, C4
Has thanked: 80 times
Been thanked: 147 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by jgmdev »

Edit: it seems previous post with boot issue after shutdown was deleted while writing this, but I will leave this just in case.

If you press ctrl + alt + f2 or f3 or f4, does it switches to a terminal?

If it does then login and disable lightdm sudo systemctl disable lightdm and reboot systemctl reboot to see if you are greeted by the tty login.

After reboot if possible, check the status of mali fbdev by running odroid-mali-fb status and if enabled disable it with sudo odroid-mali-fb toggle

If no odroid-mali-fb is available check if /etc/ld.so.preload has references to mali or libgbm-compat and remove them. And also check for the /etc/ld.so.conf.d directory for a mali.conf file and remove it.

Then execute sudo ldconfig and try launching lightdm with sudo systemctl start lightdm if that works enable lightdm again at boot with sudo systemctl enable lightdm and the problem should be fixed.

If you are not able to switch to a different tty using ctrl + alt + f# and have a spare SD card, flash on that spare sd a copy of archlinux and boot with it. Connect the non working previous setup using a emmc to usb or sd to usb adapter (depending on your media) and mount the second partition:

Code: Select all

sudo mount /dev/sda2 /mnt
And then mount the boot partition:

Code: Select all

sudo mount /dev/sda1 /mnt/boot
Now you will be able to chroot into the old installation by running

Code: Select all

sudo arch-chroot /mnt
Now disable ligthdm and mali fbdev as mentioned above. Then exit the chroot and unmount the partitions:

Code: Select all

sudo umount /mnt/boot
sudo umount /mnt
Finally try booting from it again, if it doesnt works then the partitions became corrupted from a bad shutdown and other steps will be required.
Last edited by jgmdev on Fri Oct 30, 2020 9:56 am, edited 1 time in total.

Z4pp3r
Posts: 2
Joined: Fri Oct 30, 2020 7:41 am
languages_spoken: english, german
ODROIDs: U2, U3, XU3, XU4, HC1, N2+
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by Z4pp3r »

Great work with the different prebuild images.

After testing several things I saw that archlinuxarm did not has an image for the N2+. I tryed to start with their N2 image but I wasn't able to update/upgrade to use the full potiental of the N2+ with active cooling.

I wonderd if here at ODROID already exists a headless archlinux image specificly for the n2+?

Would be great if you can point me in the right direction ;)

jgmdev
Posts: 212
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, N2+, C4
Has thanked: 80 times
Been thanked: 147 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by jgmdev »

Z4pp3r wrote:
Fri Oct 30, 2020 8:24 am
Great work with the different prebuild images.

After testing several things I saw that archlinuxarm did not has an image for the N2+. I tryed to start with their N2 image but I wasn't able to update/upgrade to use the full potiental of the N2+ with active cooling.

I wonderd if here at ODROID already exists a headless archlinux image specificly for the n2+?

Would be great if you can point me in the right direction ;)
I generated a more minimal image that doesn't includes any desktop environment and was intended for panfrost testing but it may serve you:

ArchLinuxARM-odroid-n2-minimal.img.xz (610MB)
https://mega.nz/file/7cdlRKSS#45kgRas-7 ... -9SkcxD3Jw

You can also generate your own images with https://github.com/jgmdev/alarm-image-generator for example: ./build.sh build n2 -e minimal, you can run build.sh without arguments to get usage information.
These users thanked the author jgmdev for the post (total 2):
odroid (Fri Oct 30, 2020 10:52 am) • jonathon (Sat Oct 31, 2020 2:20 am)

Z4pp3r
Posts: 2
Joined: Fri Oct 30, 2020 7:41 am
languages_spoken: english, german
ODROIDs: U2, U3, XU3, XU4, HC1, N2+
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by Z4pp3r »

Thanks for the image!

I flashed it to the emmc and the system is up and running at N2plus clock speeds.

Initaly I thought I ran into a problem after updating via pacman -Syu because the new uboot stated a load address and entry point of 0, but everthing is fine and running great :)

Somehow I wasn't able to find the fan_speed settings to set it to my own preferences. But I started to install and configure sw packages and was surprised that some of it was already there.

Thanks again, really appreciate your help!
These users thanked the author Z4pp3r for the post:
jgmdev (Thu Nov 12, 2020 5:03 pm)

_HC1_dude
Posts: 29
Joined: Sun Jun 09, 2019 12:55 pm
languages_spoken: english
ODROIDs: HC1 & N2+
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by _HC1_dude »

Hi,
I've run into an issue following a reboot where the desktop is not loading.
I can ssh in to the server and have reach through but not really understood the post about LightDM a few posts above.
journalctl -xe produces several (7-8 seemingly identical) batches of output like this;

Code: Select all

Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStart= process belonging to unit lightdm.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Nov 11 09:53:06 n2 systemd[1]: lightdm.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit lightdm.service has entered the 'failed' state with result 'exit-code'.
Nov 11 09:53:06 n2 systemd[1]: Failed to start Light Display Manager.
░░ Subject: A start job for unit lightdm.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit lightdm.service has finished with a failure.
░░
░░ The job identifier is 647 and the job result is failed.
Nov 11 09:53:06 n2 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm=">
Nov 11 09:53:06 n2 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ Automatic restarting of the unit lightdm.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Nov 11 09:53:06 n2 systemd[1]: Stopped Light Display Manager.
░░ Subject: A stop job for unit lightdm.service has finished
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A stop job for unit lightdm.service has finished.
░░
░░ The job identifier is 721 and the job result is done.
Nov 11 09:53:06 n2 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm=">
Nov 11 09:53:06 n2 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="s>
Nov 11 09:53:06 n2 systemd[1]: lightdm.service: Start request repeated too quickly.
Nov 11 09:53:06 n2 systemd[1]: lightdm.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit lightdm.service has entered the 'failed' state with result 'exit-code'.
Nov 11 09:53:06 n2 systemd[1]: Failed to start Light Display Manager.
░░ Subject: A start job for unit lightdm.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit lightdm.service has finished with a failure.
░░
░░ The job identifier is 721 and the job result is failed
Would love some help to troubleshoot this

HC1 Dude

jonathon
Posts: 65
Joined: Fri Oct 30, 2020 4:40 am
languages_spoken: English
ODROIDs: N2+
Has thanked: 24 times
Been thanked: 15 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by jonathon »

_HC1_dude wrote:
Wed Nov 11, 2020 7:00 pm
Would love some help to troubleshoot this
You'll want to look at your `/var/log/Xorg.log.0`. Also have a read around as this is likely due to something you altered in your OS configuration. For example, https://forum.endeavouros.com/t/faq-com ... ssage/6887
--
N2+ 4GB - Arch Linux ARM - MATE - Xorg - Kernel 5.9 - Desktop use
<sangy>,"jonathon: big fan, happy to see you back"

woodyl
Posts: 27
Joined: Mon Aug 05, 2019 2:04 am
languages_spoken: english
ODROIDs: Odroid N2
Has thanked: 7 times
Been thanked: 0
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by woodyl »

This is a little off-topic, but I haven't been able to find another place to ask this. I have Arch Linux Arm with XFCE running on an Odroid N2 with the 4.9 kernel. I'm booting this from a USB HDD using petitboot.

I put this together before this image was available. I want to update my existing installation to the latest kernel. I know that after I update with pacman, I need to make changes to boot.ini to change the setenv commands. Are there any other steps I need to my /boot ? Do I need to run 'mkimage' to create a new u-boot or will pacman take care of that?

jonathon
Posts: 65
Joined: Fri Oct 30, 2020 4:40 am
languages_spoken: English
ODROIDs: N2+
Has thanked: 24 times
Been thanked: 15 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by jonathon »

woodyl wrote:
Thu Nov 12, 2020 12:47 am
Do I need to run 'mkimage' to create a new u-boot or will pacman take care of that?
There is a pacman hook which regenerates the initramfs and updates it to the correct format for u-boot.
These users thanked the author jonathon for the post:
woodyl (Thu Nov 12, 2020 1:09 am)
--
N2+ 4GB - Arch Linux ARM - MATE - Xorg - Kernel 5.9 - Desktop use
<sangy>,"jonathon: big fan, happy to see you back"

woodyl
Posts: 27
Joined: Mon Aug 05, 2019 2:04 am
languages_spoken: english
ODROIDs: Odroid N2
Has thanked: 7 times
Been thanked: 0
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by woodyl »

So this should be all I need?

Code: Select all

pacman -Syu linux-aarch64 linux-aarch64-headers

jonathon
Posts: 65
Joined: Fri Oct 30, 2020 4:40 am
languages_spoken: English
ODROIDs: N2+
Has thanked: 24 times
Been thanked: 15 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by jonathon »

woodyl wrote:
Thu Nov 12, 2020 1:10 am
So this should be all I need?

Code: Select all

pacman -Syu linux-aarch64 linux-aarch64-headers
Have a read through the GNOME image thread too as that one uses a 5.8/5.9 kernel: viewtopic.php?f=179&t=39839

You might want to check you have uboot-odroid-n2plus installed too, and you can try the other kernels from jgmdev's repo (e.g. I'm running with linux-amdroid-panfrost-59).
These users thanked the author jonathon for the post:
woodyl (Thu Nov 12, 2020 1:52 am)
--
N2+ 4GB - Arch Linux ARM - MATE - Xorg - Kernel 5.9 - Desktop use
<sangy>,"jonathon: big fan, happy to see you back"

woodyl
Posts: 27
Joined: Mon Aug 05, 2019 2:04 am
languages_spoken: english
ODROIDs: Odroid N2
Has thanked: 7 times
Been thanked: 0
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by woodyl »

jonathon wrote:
Thu Nov 12, 2020 1:49 am
woodyl wrote:
Thu Nov 12, 2020 1:10 am
So this should be all I need?

Code: Select all

pacman -Syu linux-aarch64 linux-aarch64-headers
You might want to check you have uboot-odroid-n2plus installed too, and you can try the other kernels from jgmdev's repo (e.g. I'm running with linux-amdroid-panfrost-59).
Is uboot-odroid-n2plus also compatible with the original Odroid N2 (which is what I have)?

jonathon
Posts: 65
Joined: Fri Oct 30, 2020 4:40 am
languages_spoken: English
ODROIDs: N2+
Has thanked: 24 times
Been thanked: 15 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by jonathon »

woodyl wrote:
Thu Nov 12, 2020 1:58 am
Is uboot-odroid-n2plus also compatible with the original Odroid N2 (which is what I have)?
It's included in the same base image for both N2 and N2+, so as far as I know, yes, it just has support for the N2+ too.
These users thanked the author jonathon for the post:
jgmdev (Thu Nov 12, 2020 5:05 pm)
--
N2+ 4GB - Arch Linux ARM - MATE - Xorg - Kernel 5.9 - Desktop use
<sangy>,"jonathon: big fan, happy to see you back"

_HC1_dude
Posts: 29
Joined: Sun Jun 09, 2019 12:55 pm
languages_spoken: english
ODROIDs: HC1 & N2+
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by _HC1_dude »

Hi,
Nothing obvious to my untrained eye in the Xorg log

Code: Select all

[jon@n2 log]$ cat Xorg.0.log
[    11.484]
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[    11.484] Build Operating System: Linux Arch Linux
[    11.484] Current Operating System: Linux n2 5.7.10-1-ARCH #1 SMP Tue Jul 28 17:15:16 AST 2020 aarch64
[    11.484] Kernel command line: root=/dev/mmcblk0p2 rootwait rw mitigations=off console=ttyAML0,115200n8  no_console_suspend fsck.repair=yes net.ifnames=0 clk_ignore_unused
[    11.484] Build Date: 02 September 2020  01:59:45PM
[    11.484]
[    11.484] Current version of pixman: 0.40.0
[    11.484] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    11.484] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    11.484] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Nov 11 22:59:14 2020
[    11.509] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    11.509] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    11.520] (==) No Layout section.  Using the first Screen section.
[    11.520] (==) No screen section available. Using defaults.
[    11.520] (**) |-->Screen "Default Screen Section" (0)
[    11.520] (**) |   |-->Monitor "<default monitor>"
[    11.520] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    11.520] (**) |   |-->Device "Framebuffer"
[    11.520] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    11.520] (==) Automatically adding devices
[    11.520] (==) Automatically enabling devices
[    11.520] (==) Automatically adding GPU devices
[    11.520] (==) Automatically binding GPU devices
[    11.520] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    11.537] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    11.537] 	Entry deleted from font path.
[    11.537] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    11.537] 	Entry deleted from font path.
[    11.568] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    11.568] (==) ModulePath set to "/usr/lib/xorg/modules"
[    11.568] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    11.569] (II) Module ABI versions:
[    11.569] 	X.Org ANSI C Emulation: 0.4
[    11.569] 	X.Org Video Driver: 24.1
[    11.569] 	X.Org XInput driver : 24.1
[    11.569] 	X.Org Server Extension : 10.0
[    11.571] (++) using VT number 1

[    11.571] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    11.572] (II) xfree86: Adding drm device (/dev/dri/card0)
[    11.572] (II) Platform probe for /sys/devices/platform/soc/ff900000.vpu/drm/card0
[    11.586] (II) no primary bus or device found
[    11.586] 	falling back to /sys/devices/platform/soc/ff900000.vpu/drm/card0
[    11.586] (II) LoadModule: "glx"
[    11.593] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
my /etc/lightdm/lightdm.conf is

Code: Select all

[jon@n2 lightdm]$ cat lightdm.conf
#
# General configuration
#
# start-default-seat = True to always start one seat if none are defined in the configuration
# greeter-user = User to run greeter as
# minimum-display-number = Minimum display number to use for X servers
# minimum-vt = First VT to run displays on
# lock-memory = True to prevent memory from being paged to disk
# user-authority-in-system-dir = True if session authority should be in the system location
# guest-account-script = Script to be run to setup guest account
# logind-check-graphical = True to on start seats that are marked as graphical by logind
# log-directory = Directory to log information to
# run-directory = Directory to put running state in
# cache-directory = Directory to cache to
# sessions-directory = Directory to find sessions
# remote-sessions-directory = Directory to find remote sessions
# greeters-directory = Directory to find greeters
# backup-logs = True to move add a .old suffix to old log files when opening new ones
# dbus-service = True if LightDM provides a D-Bus service to control it
#
[LightDM]
#start-default-seat=true
#greeter-user=lightdm
#minimum-display-number=0
#minimum-vt=7 # Setting this to a value < 7 implies security issues, see FS#46799
#lock-memory=true
#user-authority-in-system-dir=false
#guest-account-script=guest-account
#logind-check-graphical=false
#log-directory=/var/log/lightdm
run-directory=/run/lightdm
#cache-directory=/var/cache/lightdm
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
#greeters-directory=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
#backup-logs=true
#dbus-service=true

#
# Seat configuration
#
# Seat configuration is matched against the seat name glob in the section, for example:
# [Seat:*] matches all seats and is applied first.
# [Seat:seat0] matches the seat named "seat0".
# [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client".
#
# type = Seat type (local, xremote)
# pam-service = PAM service to use for login
# pam-autologin-service = PAM service to use for autologin
# pam-greeter-service = PAM service to use for greeters
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
# xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
# xserver-config = Config file to pass to X server
# xserver-layout = Layout to pass to X server
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
# xserver-share = True if the X server is shared for both greeter and session
# xserver-hostname = Hostname of X server (only for type=xremote)
# xserver-display-number = Display number of X server (only for type=xremote)
# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
# xdmcp-port = XDMCP UDP/IP port to communicate on
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
# greeter-session = Session to load for greeter
# greeter-hide-users = True to hide the user list
# greeter-allow-guest = True if the greeter should show a guest login option
# greeter-show-manual-login = True if the greeter should offer a manual login option
# greeter-show-remote-login = True if the greeter should offer a remote login option
# user-session = Session to load for users
# allow-user-switching = True if allowed to switch users
# allow-guest = True if guest login is allowed
# guest-session = Session to load for guests (overrides user-session)
# session-wrapper = Wrapper script to run session with
# greeter-wrapper = Wrapper script to run greeter with
# guest-wrapper = Wrapper script to run guest sessions with
# display-setup-script = Script to run when starting a greeter session (runs as root)
# display-stopped-script = Script to run after stopping the display server (runs as root)
# greeter-setup-script = Script to run when starting a greeter (runs as root)
# session-setup-script = Script to run when starting a user session (runs as root)
# session-cleanup-script = Script to run when quitting a user session (runs as root)
# autologin-guest = True to log in as guest by default
# autologin-user = User to log in with by default (overrides autologin-guest)
# autologin-user-timeout = Number of seconds to wait before loading default user
# autologin-session = Session to load for automatic login (overrides user-session)
# autologin-in-background = True if autologin session should not be immediately activated
# exit-on-failure = True if the daemon should exit if this seat fails
#
[Seat:*]
#type=local
#pam-service=lightdm
#pam-autologin-service=lightdm-autologin
#pam-greeter-service=lightdm-greeter
#xserver-command=X
#xmir-command=Xmir
#xserver-config=
#xserver-layout=
#xserver-allow-tcp=false
#xserver-share=true
#xserver-hostname=
#xserver-display-number=
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
#greeter-session=example-gtk-gnome
#greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
#user-session=default
#allow-user-switching=true
#allow-guest=true
#guest-session=
session-wrapper=/etc/lightdm/Xsession
#greeter-wrapper=
#guest-wrapper=
#display-setup-script=
#display-stopped-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=
#autologin-user-timeout=0
#autologin-in-background=false
#autologin-session=
#exit-on-failure=false

#
# XDMCP Server configuration
#
# enabled = True if XDMCP connections should be allowed
# port = UDP/IP port to listen for connections on
# listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
# hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
#
# The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn.  Alternatively
# it can be a word and the first 7 characters are used as the key.
#
[XDMCPServer]
#enabled=false
#port=177
#listen-address=
#key=
#hostname=

#
# VNC Server configuration
#
# enabled = True if VNC connections should be allowed
# command = Command to run Xvnc server with
# port = TCP/IP port to listen for connections on
# listen-address = Host/address to listen for VNC connections (use all addresses if not present)
# width = Width of display to use
# height = Height of display to use
# depth = Color depth of display to use
#
[VNCServer]
#enabled=false
#command=Xvnc
#port=5900
#listen-address=
#width=1024
#height=768
#depth=8
I'll keep digging because I really don't want to start over but I'd love some more help.
Can I reinstall window manager and desktop manager?

jonathon
Posts: 65
Joined: Fri Oct 30, 2020 4:40 am
languages_spoken: English
ODROIDs: N2+
Has thanked: 24 times
Been thanked: 15 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by jonathon »

_HC1_dude wrote:
Thu Nov 12, 2020 8:22 am
[ 11.484] Current Operating System: Linux n2 5.7.10-1-ARCH #1 SMP Tue Jul 28 17:15:16 AST 2020 aarch64
This isn't a current kernel. Which image are you running?
--
N2+ 4GB - Arch Linux ARM - MATE - Xorg - Kernel 5.9 - Desktop use
<sangy>,"jonathon: big fan, happy to see you back"

_HC1_dude
Posts: 29
Joined: Sun Jun 09, 2019 12:55 pm
languages_spoken: english
ODROIDs: HC1 & N2+
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Archlinux: XFCE Image for Odroid N2/N2+

Post by _HC1_dude »

I'm running the image from the first post in this thread
Update:
IMG_0759.JPG
IMG_0759.JPG (552.68 KiB) Viewed 426 times
I just walked into the kitchen to get a coffee and discovered that I had fixed my server.
I am a brain genius.
No idea how I did it but I am a certified genius 8-)
These users thanked the author _HC1_dude for the post:
jgmdev (Thu Nov 12, 2020 5:07 pm)

Post Reply

Return to “Arch Linux ARM (ALARM)”

Who is online

Users browsing this forum: No registered users and 0 guests