【笔记】Android上 安装 Ubuntu 桌面系统

前言

由于安卓是基于Linux二次开发的手机系统,也是支持Linux指令的,通过使用命令行可以完美运行Linux指令,通过指令安装Ubuntu桌面系统XFCE

准备工作

  • Termux

安装系统

  • Termux执行命令,安装系统
1
pkg install wget openssl-tool proot -y && hash -r && wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Ubuntu/ubuntu.sh && bash ubuntu.sh
  • 进入Ubuntu终端
1
./start-ubuntu.sh
  • 更新源
1
apt-get update
  • 安装wget工具
1
apt-get install wget -y

安装桌面

1
wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh && bash de-apt-xfce4.sh
  • 选择语言->31

  • 选择键盘->1

  • 设置VNC用户密码

远程操控

  • 启动VNC服务
1
vncserver-start
  • 使用Android的VNC客户端远程连接,Address为本地IP,端口为5901

完成

参考文献

洋城才子的博客