[deepin exploration] GXDE/Run GXDE on termux
Tofloor
poster avatar
神末shenmo
deepin
Spark-App
Solutions Team Moderator
2024-09-27 17:45
Author

中文版本在上方

You need to scroll down to see English Tutorial

  1. 安装termux
  2. 在里面安装proot-distro
  3. proot-distro install debian
  4. proot-distro login debian

下载deb并在proot-distro内安装

目标系统代号 支持发行版 deb 包下载地址
lizhi Debian 13 https://repo.gxde.top/gxde-os/lizhi/g/gxde-source/
bixie Debian 12 https://repo.gxde.top/gxde-os/bixie/g/gxde-source/

安装之后

sudo apt update

sudo apt install gxde-testing-source aptss -y

sudo aptss update

sudo aptss install gxde-desktop-android -y
  1. 安装tigervnc-standalone-server
  2. 启动dbus-daemon: 记得用proot里面的root用户(默认就是,不需要手机root) dbus-daemon --system
  3. 用adduser新建一个普通用户,需要在sudoers中
  4. sudo su 用户名
  5. export $(dbus-launch)
  6. tigervncserver -localhost=no
  7. 好了,可以vnc上去了

效果:

截图_TigerVNC Viewer_20240927174453.png


FAQ

  • 星火应用商店首页白屏

    在 /etc/profile 添加 export QTWEBENGINE_DISABLE_SANDBOX=1 ,退出termux后重新启动即可

  • dbus-daemon --system启动时提示 /run/dbus/下有一个pid文件而拒绝启动

    删除该文件即可

  • 切换中英文无效

    使用普通用户执行 sudo dpkg-reconfigure locales 并选择 zh_CN.UTF8 为默认语言环境即可

  • ACE/玲珑无法安装和运行

    确实无法安装,proot容器不支持bwrap容器/玲珑容器。 ACE Bookworm本身就是Debian 12容器,与GXDE OS 15 的基线相同,您无需安装ACE兼容环境。

若您使用的是安卓12+的版本,您可能需要手动解除进程数限制 https://www.hestudio.net/posts/Solve-32-restrictions-of-Android-12-restrictions.html


  1. Install Termux
  2. Install proot-distro inside Termux
  3. Install Debian using proot-distro: proot-distro install debian
  4. Log in to the Debian environment: proot-distro login debian
  5. Download the .deb file and install it inside the proot-distro environment. Download link:
Codename Debian Version Link
lizhi Debian 13 https://repo.gxde.top/gxde-os/lizhi/g/gxde-source/
bixie Debian 12 https://repo.gxde.top/gxde-os/bixie/g/gxde-source/
  1. After installation, run the following commands:
sudo apt update  
sudo apt install gxde-testing-source aptss -y   
sudo aptss update
sudo aptss install gxde-desktop-android -y
  1. Install TigerVNC standalone server: sudo apt install tigervnc-standalone-server -y
  2. Start the dbus-daemon (use the root user inside proot, no need for phone root): dbus-daemon --system
  3. Create a new regular user using adduserand add it to the sudoers list.
  4. Switch to the new user: sudo su username
  5. Export the dbus-launch environment variables: export $(dbus-launch)
  6. Start TigerVNC server: tigervncserver -localhost=no
  7. Now, you can connect using a VNC client. Port is 5901 . Use AVNC can connect to localhost too.

Screenshot:Screenshot_TigerVNC Viewer_20240927174453.png

FAQ:

  • Spark App Store homepage is blank

Add export QTWEBENGINE_DISABLE_SANDBOX=1to /etc/profile, then restart Termux.

  • dbus-daemon --system fails to start due to a pid file in /run/dbus/

Delete the pid file.

  • ACE/Linglong cannot be installed or run:

ACE/Linglong cannot be installed because proot containers do not support bwrap containers/Linglong containers. ACE Bookworm is essentially a Debian 12 container, which is the same baseline as GXDE OS 15, so you don't need to install the ACE compatibility environment.

Reply Favorite View the author
All Replies
2 / 2
To page
神末shenmo
deepin
Spark-App
Solutions Team Moderator
2024-12-29 21:51
#21
186******17

不行输入startdde之后只有桌面和右键菜单,其余的全无

如果要用termux x11不如直接小小电脑了

Reply View the author
UltraBlue
deepin
2025-01-01 21:21
#22

下载deb并在proot-distro内安装

https://mirrors.sdu.edu.cn/spark-store/GXDE-OS/gxde-os/bixie/g/gxde-source/

楼主,请教下,这一步具体是怎么操作的,下面有两个deb,下载到哪儿啊,proot下怎么安装?

Reply View the author
神末shenmo
deepin
Spark-App
Solutions Team Moderator
2025-01-01 22:04
#23
UltraBlue

下载deb并在proot-distro内安装

https://mirrors.sdu.edu.cn/spark-store/GXDE-OS/gxde-os/bixie/g/gxde-source/

楼主,请教下,这一步具体是怎么操作的,下面有两个deb,下载到哪儿啊,proot下怎么安装?

下载版本号更新的就好

在proot里wget下来并用apt安装

Reply View the author
r***n@gmail.com
deepin
2025-06-25 18:21
#24

我將proot debian升級到debian 13 trixie後,用了sudo apt install gxde-source*.deb並添加了源,但到安裝gxde-desktop-android時,卻顯示錯誤:

Solving dependencies... Error! Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming. The following information may help to resolve the situation:

Unsatisfied dependencies: gxde-desktop-android : Depends: gxde-daemon but it is not going to be installed Depends: gxde-desktop but it is not going to be installed Depends: gxde-ocr but it is not installable Depends: gxde-font-installer but it is not going to be installed

Depends: gxde-quick-hash but it is not installable
Depends: deepin-system-monitor but it is not installable
Depends: gxde-control-center but it is not going to be installed
Depends: gxde-file-manager but it is not going to be installed

Error: Unable to correct problems, you have held broken packages.

Error: The following information from --solver 3.0 may provide additional context:

Unable to satisfy dependencies. Reached two conflicting decisions:

  1. gxde-desktop-android:arm64=2025.06.22 is selected for install

  2. gxde-desktop-android:arm64 Depends gxde-ocr

but none of the choices are installable:
[no choices]
Reply View the author
神末shenmo
deepin
Spark-App
Solutions Team Moderator
2025-06-25 18:43
#25
r***n@gmail.com

我將proot debian升級到debian 13 trixie後,用了sudo apt install gxde-source*.deb並添加了源,但到安裝gxde-desktop-android時,卻顯示錯誤:

Solving dependencies... Error! Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming. The following information may help to resolve the situation:

Unsatisfied dependencies: gxde-desktop-android : Depends: gxde-daemon but it is not going to be installed Depends: gxde-desktop but it is not going to be installed Depends: gxde-ocr but it is not installable Depends: gxde-font-installer but it is not going to be installed

Depends: gxde-quick-hash but it is not installable
Depends: deepin-system-monitor but it is not installable
Depends: gxde-control-center but it is not going to be installed
Depends: gxde-file-manager but it is not going to be installed

Error: Unable to correct problems, you have held broken packages.

Error: The following information from --solver 3.0 may provide additional context:

Unable to satisfy dependencies. Reached two conflicting decisions:

  1. gxde-desktop-android:arm64=2025.06.22 is selected for install

  2. gxde-desktop-android:arm64 Depends gxde-ocr

but none of the choices are installable:
[no choices]

先尝试一下aptss update后再试

我这边也排查下

Reply View the author
r***n@gmail.com
deepin
2025-06-25 18:55
#26
神末shenmo

先尝试一下aptss update后再试

我这边也排查下

我把裝不了的套件逐個用apt裝,就只剩gxde-ocr,它提示要amd64的library.

已 aptss update

Reply View the author
r***n@gmail.com
deepin
2025-06-25 18:59
#27
神末shenmo

先尝试一下aptss update后再试

我这边也排查下

我是安裝debian12後再自行升級

Reply View the author
r***n@gmail.com
deepin
2025-06-25 19:15
#28
神末shenmo

先尝试一下aptss update后再试

我这边也排查下

用aptss install gxde-ocr又可以安裝

Reply View the author
神末shenmo
deepin
Spark-App
Solutions Team Moderator
2025-06-25 19:24
#29
r***n@gmail.com

用aptss install gxde-ocr又可以安裝

aptss policy gxde-ocr 看一下

Reply View the author
r***n@gmail.com
deepin
2025-06-25 20:48
#30
神末shenmo

aptss policy gxde-ocr 看一下

原來沒有在一開始沒有打"sudo aptss update",會提示"unable to locate package",即使之後打了也會有错误。

所以應該一開如加上"sudo aptss update"

就是我的見解

Reply View the author
神末shenmo
deepin
Spark-App
Solutions Team Moderator
2025-06-26 10:00
#31
r***n@gmail.com

原來沒有在一開始沒有打"sudo aptss update",會提示"unable to locate package",即使之後打了也會有错误。

所以應該一開如加上"sudo aptss update"

就是我的見解

已经添加,感谢建议

Reply View the author
r***n@gmail.com
deepin
2025-06-26 14:54
#32
神末shenmo

已经添加,感谢建议

感謝指導,也在proot安裝gxde,但畫面異常卡,設定等了30秒也打不開,星火應用商店也消失了.........

Snapdragon 8 Elite不應該這樣吧

Zink 關了也沒用

一加13

Android 15

啟動指令:

MESA_NO_ERROR=1 MESA_GL_VERSION_OVERRIDE=4.3COMPAT MESA_GLES_VERSION_OVERRIDE=3.2 GALLIUM_DRIVER=zink ZINK_DESCRIPTORS=lazy virgl_test_server --use-egl-surfaceless --use-gles &

proot-distro login debian --user bibichan --shared-tmp

rm -rf /run/dbus/pid

sudo dbus-daemon --system

export $(dbus-launch)

rm -rf /tmp/.X*

tigervncserver -localhost=no -geometry 1920x1200

Reply View the author
r***n@gmail.com
deepin
2025-06-26 15:30
#33

需要用pulse audio嗎

Reply View the author
神末shenmo
deepin
Spark-App
Solutions Team Moderator
2025-06-26 15:51
#34
r***n@gmail.com

感謝指導,也在proot安裝gxde,但畫面異常卡,設定等了30秒也打不開,星火應用商店也消失了.........

Snapdragon 8 Elite不應該這樣吧

Zink 關了也沒用

一加13

Android 15

啟動指令:

MESA_NO_ERROR=1 MESA_GL_VERSION_OVERRIDE=4.3COMPAT MESA_GLES_VERSION_OVERRIDE=3.2 GALLIUM_DRIVER=zink ZINK_DESCRIPTORS=lazy virgl_test_server --use-egl-surfaceless --use-gles &

proot-distro login debian --user bibichan --shared-tmp

rm -rf /run/dbus/pid

sudo dbus-daemon --system

export $(dbus-launch)

rm -rf /tmp/.X*

tigervncserver -localhost=no -geometry 1920x1200

https://www.hestudio.net/posts/Solve-32-restrictions-of-Android-12-restrictions.html

Reply View the author
r***n@gmail.com
deepin
2025-06-26 16:42
#35
神末shenmo

https://www.hestudio.net/posts/Solve-32-restrictions-of-Android-12-restrictions.html

Reply View the author
r***n@gmail.com
deepin
2025-06-26 16:46
#36
神末shenmo

https://www.hestudio.net/posts/Solve-32-restrictions-of-Android-12-restrictions.html

Reply View the author
r***n@gmail.com
deepin
2025-06-28 23:46
#37

其實教程中那一個指令是啟動桌面的?我可以改用termux-x11再加端口轉發實現x11遠端連接嗎?

 

但我打startgxde_android時出了問題

 

Reply View the author
神末shenmo
deepin
Spark-App
Solutions Team Moderator
2025-06-29 21:31
#38
r***n@gmail.com

其實教程中那一個指令是啟動桌面的?我可以改用termux-x11再加端口轉發實現x11遠端連接嗎?

 

但我打startgxde_android時出了問題

 

似乎缺少DISPLAY变量

Reply View the author
r***n@gmail.com
deepin
2025-06-30 12:07
#39
神末shenmo

似乎缺少DISPLAY变量

要aptss install spark-store,不然會沒有星火應用商店

Reply View the author
2 / 2
To page