ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.8k stars 1.87k forks source link

can support desktop ? #50

Closed fooy closed 2 years ago

fooy commented 2 years ago

hi , i tried to build a desktop version using Armbian_21.05.1_Lepotato_focal_current_5.10.34_xfce_desktop.img.xz , the build process seems fine , i changed the ROOT_MB variable so that the image file is large enough to hold all the files copied from armbian img .
i ended up getting a black screen after the console finish outputing all the services startup messages.

do i need to compile a new kernel with new options for the desktop environment ? or anything else should be done

the commands i used: cd build/output/images/ wget https://armbian.tnahosting.net/archive/lepotato/archive/Armbian_21.05.1_Lepotato_focal_current_5.10.34_xfce_desktop.img.xz cd - ./rebuild -d -b s905x3_s905d -k 5.10.80 ( guess i just use the stock kernel file made by flippy) testing box: N1

btw wonderful project , you are the legend .

ophub commented 2 years ago
cd build/output/images/
wget ....
xz -d *.xz  #to .img

The kernel is universal and can be used in all branches supported by armbian. Including server version and desktop version.

If you have special needs, you can use the kernel production script recompile in the repo for custom compilation, and the packaged kernel can be installed through the armbian-update function in the repo.

fooy commented 2 years ago

Thanks for the comment, forgot to mention i did unxz the img.xz file, maybe something wrong with the Armbian distribution ,I will test another version and try to work it out.

fooy commented 2 years ago

just for the record , it's easy to enable desktop using non-desktop released img . run below command and reboot $ sudo apt install lxdm xfce4 xorg

addtional note: flippy kernel 5.4.x doesn't work with desktop , the desktop on 5.4.x start without mouse/keyboard . the cause could be CONFIG_INPUT_EVDEV not set:

` $ grep EVDEV config.5.4.164

CONFIG_INPUT_EVDEV is not set

CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y CONFIG_USB_PWC_INPUT_EVDEV=y $ grep EVDEV config.5.10.84 CONFIG_INPUT_EVDEV=y CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y CONFIG_USB_PWC_INPUT_EVDEV=y `

huapox commented 1 year ago

try remote desktop(xrdp/noVNC) with docker, ref: https://github.com/ophub/amlogic-s9xxx-armbian/issues/2#issuecomment-1272825195