Skip to content

额外 CT2000的桌面之路

cooip-jm edited this page Aug 1, 2024 · 3 revisions

纯记录,没技术含量

image

https://github.com/ophub/amlogic-s9xxx-armbian/releases/tag

image image

写入EMMC

armbian-install
408

image

换U-boot 让内存正常(我这测试目前只有USB启动正常,EMMC 会有些问题,写入EMMC的忽略该部分暂时)

image

https://github.com/armbian/build/tree/main/packages/bsp/aml-s9xx-box/boot

image

cd /boot
cp u-boot-s905x2-s922 u-boot.ext

CT2000一键bookworm-桌面和DRI驱动、远程桌面。需要至少6G磁盘空间

apt update && apt upgrade -y && apt install -y  apt-utils openssh-server nano curl wget apt-transport-https ca-certificates  libgl1-mesa-dri libglu1-mesa mesa-utils  kde-full fonts-wqy-microhei fonts-wqy-zenhei xfonts-wqy  xrdp libvkd3d-utils1 vulkan-tools libgulkan-utils chromium flatpak gnome gdm3 task-gnome-desktop

或者

apt update && apt upgrade -y && apt install -y  apt-utils openssh-server nano curl wget apt-transport-https ca-certificates  weston libgl1-mesa-dri libglu1-mesa mesa-utils kde-plasma-desktop plasma-workspace-wayland xrdp libvkd3d-utils1 vulkan-tools libgulkan-utils chromium flatpak plasma-discover-backend-flatpak

如果是lxc 需要直通声卡、显卡可用

# dri
lxc.cgroup2.devices.allow = c 226:* rwm
lxc.mount.entry = /dev/dri dev/dri none bind,create=dir
lxc.cgroup2.devices.allow = c 116:* rwm
lxc.mount.entry = /dev/snd dev/snd none bind,create=dir
lxc.cgroup2.devices.allow = c 250:* rwm
lxc.mount.entry = /dev/dma_heap dev/dma_heap none bind,create=dir

telegram-cloud-photo-size-5-6152394730462363409-y

宿主系统需要给直通设备赋权600或者666

chmod 666 /dev/dri
chmod 666 /dev/snd
chmod 666 /dev/dma_heap

telegram-cloud-photo-size-5-6152394730462363411-y

测试的时候,可以禁用防火墙,或者自行开放相应的VNC or XRDP端口

systemctl stop firewalld.service
systemctl disable firewalld.service

telegram-cloud-photo-size-5-6152394730462363429-y