更新 READEME.md

安装debian
This commit is contained in:
chicrobot committed 2025-06-03 17:07:56 +00:00
1 parent 300a5ff3c7
commit d2dc732b6a
1 file changed
+40 -1
+40 -1
View File
@@ -45,6 +45,45 @@ startxfce4
2.3 打开桌面
- x11直接打开软件
- vnc输入ip:5901,本地访问则输入127.0.0.1:5901
- vnc输入ip:5901,本地访问则输入127.0.0.1:5901,颜色出现问题则点击“i”将图片质量“Picture quality”设置为高“High”
2.4 安卓12以上杀后台
可以安装任务管理其查看进程
```
apt install xfce4-taskmanager
```
2.5 编辑启动脚本
安装编辑器,创建文件并添加执行权限
```
apt install mousepad vim -y
vim /data/data/com.termux/files/usr/bin/desk
chmod +x /data/data/com.termux/files/usr/bin/desk
```
写入
```
#!/bin/bash
export DISPLAY=:1
vncserver :1 -localhost no -geometry 1280x720
sleep 3
startxfce4 &>/dev/null &
am start --user 0 -n com.realvnc.viewer.android/.app.ConnectionChooserActivity
```
### 3、安装ubuntu
3.1 安装proot
```
apt install proot proot-distro -y
proot-distro list
pd install debian
```
对比系统信息
```
apt install neofetch
neofetch
pd login debian
exit
pd login debian --shared-tmp
export DISPLAY=:1
neofetch
```