Files
termux/READEME.md
T
chicrobot 300a5ff3c7 添加 READEME.md
termux桌面环境
2025-06-03 16:08:28 +00:00

51 lines
803 B
Markdown

### 1、安装termux
termux换源
```
termux-change-repo
```
### 2、安装图形化页面
2.1 安装x11或vnc
2.1.1 安装x11
安装x11服务端
```
apt install termux-x11-nightly -y
```
后台启动x11服务,并设置环境变量用于指定绘制显示图形界面的位置
```
termux-x11 :0 &>/dev/null &
export DISPLAY=:0
```
2.1.2 安装vnc
```
apt install tigervnc -y
```
启动,设置密码123456两次,不需要仅观看密码n
```
vncserver :1 -localhost no
export DISPLAY=:1
```
2.2 安装xfce4
需要从x11软件仓库下载xfce桌面环境
```
apt install x11-repo
```
换源
```
termux-change-repo
```
下载并启动
```
apt install xfce4 -y
startxfce4
```
2.3 打开桌面
- x11直接打开软件
- vnc输入ip:5901,本地访问则输入127.0.0.1:5901
### 3、安装ubuntu