Comments (11)
sudo apt install lxqt.
To use it run dbus-launch --exit-with-session startlxqt
from chroot-docs.
maybe it's better to pack everything together so you don't have to answear to how to install a package....
sudo apt install lxqt.
To use it run dbus-launch --exit-with-session startlxqt
from chroot-docs.
maybe it's better to pack everything together so you don't have to answear to how to install a package....
sudo apt install lxqt.
To use it run dbus-launch --exit-with-session startlxqt
I can't because the rootfs would become too big and it would take me days if not weeks to upload it with my connection if that's what you mean.
For me it is way easier to answer questions like this than packing everything together
from chroot-docs.
LXQt not work
$ linux-deploy start -w
Initializing audio server before startup
Starting the chroot
Checking file system ... done
Mounting the container:
/ ... fail
Binding internal storage
Binding external storage
Loading binfmts entries
Installing the termux-x11 script
CANNOT LINK EXECUTABLE "curl": library "libssl.so.1.1" not found: needed by /data/data/com.termux/files/usr/lib/libcurl.so in namespace (default)
Creating the socket
chmod: cannot operate on dangling symlink '/data/data/com.termux/files/usr/xwayland'
Loading shared library: /data/data/com.termux/files/usr/libexec/termux-x11/starter.apk!/lib/arm64-v8a/libx11-starter.so
Looks like com.termux lacks "Draw Over Apps" permission.
You can grant com.termux the "Draw Over Apps" permission from its App Info activity:
Android Settings -> Apps -> Termux -> Advanced -> Draw over other apps.
res = 0
Activity is started
Got getWaylandFD
socket: Permission denied
Lorie requested fd
Got getLogFD
{ParcelFileDescriptor: java.io.FileDescriptor@4e102bd}
Got finish request
App sent finishing command
chmod: cannot access '/data/local/mnt/tmp/runtime-android': No such file or directory
chmod: cannot access '/data/data/com.termux/files/usr/xwayland/wayland-0': No such file or directory
Starting the Xwayland server in the chroot through the script
:: Starting core/emulator ... skip
:: Configuring core/mnt ...
:: Configuring core/net ...
Debian GNU/Linux 11 (bullseye) [running via Linux Deploy]
-sh: 1: termux-x11: Permission denied
All preparations completed, connecting now
android@localhost's password:
Linux localhost 5.4.61-qgki-g65bf499c101d #1 SMP PREEMPT Thu Aug 19 16:35:21 CST 2021 aarch64
Debian GNU/Linux 11 (bullseye) [running via Linux Deploy]
Last login: Tue Oct 11 17:17:01 2022 from 127.0.0.1
$ dbus-launch --exit-with-session startlxqt
dbus[21872]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/tmp/runtime-android" not available: No such file or directory
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Aborted
from chroot-docs.
LXQt not work
$ linux-deploy start -w
Initializing audio server before startup
Starting the chroot
Checking file system ... done Mounting the container: / ... fail
Binding internal storage
Binding external storage
Loading binfmts entries
Installing the termux-x11 script CANNOT LINK EXECUTABLE "curl": library "libssl.so.1.1" not found: needed by /data/data/com.termux/files/usr/lib/libcurl.so in namespace (default) Creating the socket chmod: cannot operate on dangling symlink '/data/data/com.termux/files/usr/xwayland' Loading shared library: /data/data/com.termux/files/usr/libexec/termux-x11/starter.apk!/lib/arm64-v8a/libx11-starter.so Looks like com.termux lacks "Draw Over Apps" permission. You can grant com.termux the "Draw Over Apps" permission from its App Info activity: Android Settings -> Apps -> Termux -> Advanced -> Draw over other apps. res = 0 Activity is started Got getWaylandFD socket: Permission denied Lorie requested fd Got getLogFD {ParcelFileDescriptor: java.io.FileDescriptor@4e102bd} Got finish request App sent finishing command chmod: cannot access '/data/local/mnt/tmp/runtime-android': No such file or directory chmod: cannot access '/data/data/com.termux/files/usr/xwayland/wayland-0': No such file or directory Starting the Xwayland server in the chroot through the script :: Starting core/emulator ... skip :: Configuring core/mnt ... :: Configuring core/net ... Debian GNU/Linux 11 (bullseye) [running via Linux Deploy] -sh: 1: termux-x11: Permission denied All preparations completed, connecting now
android@localhost's password: Linux localhost 5.4.61-qgki-g65bf499c101d #1 SMP PREEMPT Thu Aug 19 16:35:21 CST 2021 aarch64 Debian GNU/Linux 11 (bullseye) [running via Linux Deploy] Last login: Tue Oct 11 17:17:01 2022 from 127.0.0.1 $ dbus-launch --exit-with-session startlxqt dbus[21872]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/tmp/runtime-android" not available: No such file or directory qt.qpa.xcb: could not connect to display :0 qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Aborted
Kill termux-x11 app then exit the chroot with the exit command and stop the chroot with linux-deploy stop command.
You should be in termux now, download openssl with this command:
pkg install openssl
Once you have done this enter the chroot with linux-deploy start command and type the following commands inside the chroot:
sudo mkdir -p /tmp/runtime-android
sudo chown android:android /tmp/runtime-android
sudo chmod 755 /tmp/runtime-android
Then exit the chroot again and stop it once more.
Now start the chroot with linux-deploy start -w command and when it launches termux-x11 app you have to stay inside the app up until the "Service Created" toast appears, only then you can leave the termux-x11 app and go back to termux.
from chroot-docs.
some errors have been fixed but still not working.
~ $ linux-deploy start -w
Initializing audio server before startup
Starting the chroot
Checking file system ... skip
Mounting the container:
/ ... skip
/proc ... skip
/sys ... skip
/dev ... skip
/dev/shm ... skip
/dev/pts ... skip
:: Starting core/emulator ... skip
:: Configuring core/mnt ...
:: Configuring core/net ...
:: Starting extra/ssh ... skip
Binding internal storage
Binding external storage
Loading binfmts entries
Installing the termux-x11 script
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --100 50 100 50 0 0 205 0 --:--:-- --:--:-- --:--:-- 205
Creating the socket
Loading shared library: /data/data/com.termux/files/usr/libexec/termux-x11/starter.apk!/lib/arm64-v8a/libx11-starter.so
res = 0
Activity is started
Got getWaylandFD
socket: Permission denied
Lorie requested fd
Got getLogFD
{ParcelFileDescriptor: java.io.FileDescriptor@84e1f8}
Got finish request
App sent finishing command
chmod: cannot access '/data/data/com.termux/files/usr/xwayland/wayland-0': No such file or directory
Starting the Xwayland server in the chroot through the script
:: Starting core/emulator ... skip
:: Configuring core/mnt ...
:: Configuring core/net ...
Debian GNU/Linux 11 (bullseye) [running via Linux Deploy]
/bin/sh: 0: cannot open /usr/bin/termux-x11: Permission denied
All preparations completed, connecting now
android@localhost's password:
Linux localhost 5.4.61-qgki-g65bf499c101d #1 SMP PREEMPT Thu Aug 19 16:35:21 CST 2021 aarch64
Debian GNU/Linux 11 (bullseye) [running via Linux Deploy]
Last login: Tue Oct 11 22:09:46 2022 from 127.0.0.1
$ dbus-launch --exit-with-session startlxqt
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Aborted
from chroot-docs.
maybe termux:x11 changed their xdg runtime path. change the path in the script or in the x11 app. also chmod +x termux-x11 in chroot.
from chroot-docs.
some errors have been fixed but still not working.
~ $ linux-deploy start -w
Initializing audio server before startup
Starting the chroot
Checking file system ... skip Mounting the container: / ... skip /proc ... skip /sys ... skip /dev ... skip /dev/shm ... skip /dev/pts ... skip :: Starting core/emulator ... skip :: Configuring core/mnt ... :: Configuring core/net ... :: Starting extra/ssh ... skip
Binding internal storage
Binding external storage
Loading binfmts entries
Installing the termux-x11 script % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --100 50 100 50 0 0 205 0 --:--:-- --:--:-- --:--:-- 205 Creating the socket Loading shared library: /data/data/com.termux/files/usr/libexec/termux-x11/starter.apk!/lib/arm64-v8a/libx11-starter.so res = 0 Activity is started Got getWaylandFD socket: Permission denied Lorie requested fd Got getLogFD {ParcelFileDescriptor: java.io.FileDescriptor@84e1f8} Got finish request App sent finishing command chmod: cannot access '/data/data/com.termux/files/usr/xwayland/wayland-0': No such file or directory Starting the Xwayland server in the chroot through the script :: Starting core/emulator ... skip :: Configuring core/mnt ... :: Configuring core/net ... Debian GNU/Linux 11 (bullseye) [running via Linux Deploy] /bin/sh: 0: cannot open /usr/bin/termux-x11: Permission denied All preparations completed, connecting now
android@localhost's password: Linux localhost 5.4.61-qgki-g65bf499c101d #1 SMP PREEMPT Thu Aug 19 16:35:21 CST 2021 aarch64 Debian GNU/Linux 11 (bullseye) [running via Linux Deploy] Last login: Tue Oct 11 22:09:46 2022 from 127.0.0.1 $ dbus-launch --exit-with-session startlxqt qt.qpa.xcb: could not connect to display :0 qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Aborted
Try to run termux-x11 normally, does it give any error or does it create the socket as expected, aka without any permission denied error.
This may be an error related to the fact that you are using Android 11/12 since this exact same script gives me no error on Android 7
from chroot-docs.
It seems to be working abnormally depending on the Android version.
Could you please give me your backup of termux setting? By executing
termux-setup-storage
AND
tar -zcf /sdcard/profile.tar.gz -C /data/data/com.termux/files ./home ./usr
from chroot-docs.
It seems to be working abnormally depending on the Android version.
Could you please give me your backup of termux setting? By executing
termux-setup-storage
AND
tar -zcf /sdcard/profile.tar.gz -C /data/data/com.termux/files ./home ./usr
I will now try to make a backup of my prefix but depending on how big it ends up I will not be able to upload it since I have a very slow connection and if it's too big it may end up taking serveral days.
As a last resort have you done this:
echo 'allow-external-apps = true' >> ~/.termux/termux.properties
termux-reload-settings
from chroot-docs.
I forked the repo, automated some stuffs, fixed X11 with newer android/termux vesions, added CI to automate the rootfs build and other changes.
It is still experimental but y'all might want to take a look
https://gitlab.azka.li/azkali/linux-deploy-termux-x11-debian
from chroot-docs.
Related Issues (15)
- How to compile mesa + setup virgl? HOT 18
- how is the specific rootfs different from the official one ? HOT 1
- I have problem with termux-x11 HOT 6
- Step to step setup tutorial HOT 6
- Where Did you get rootfs file ? HOT 5
- Virgl in proot distro HOT 3
- Cleanup the guide HOT 1
- Add Turnip Zink Driver installation HOT 1
- Cant launch winetricks HOT 3
- Unable to locate package bindfs
- Cant find xwayland. i already installed it. HOT 1
- script error HOT 5
- your new script doesnt work. cannot stst HOT 24
- Really wont work HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chroot-docs.