Termux-Desktops icon indicating copy to clipboard operation
Termux-Desktops copied to clipboard

Bad system call

Open TimmyTurner51 opened this issue 1 year ago • 3 comments

Hello there, I have bad system call errors with the start.sh script. It seems to be related to BusyBox commands within the script. On android 14. Screenshot_20241211_205319 Screenshot_20241211_205459

TimmyTurner51 avatar Dec 12 '24 02:12 TimmyTurner51

You didn't follow the tutorial correctly and you don't have root...

FZXO11 avatar Jan 08 '25 21:01 FZXO11

Actually they don't mention it in the tutorial that this command needs to be run as sudo, or alternatively use tsu command before the sh command.

skbtwiz avatar Jan 16 '25 08:01 skbtwiz

Make new sh script and insert this (replace archlinux with your distro name)

setenforce 0 sh /data/data/com.termux/files/usr/bin/termux-x11 & busybox mount --bind /data/data/com.termux/files/usr/tmp /data/local/chroot-distro/archlinux/tmp setenforce 1 chroot-distro command archlinux "export PULSE_SERVER=127.0.0.1" chroot-distro login archlinux

Then save it and chmod +x it As root run it and then run (or make a new sh script to make it easier later) export DISPLAY=:0 PULSE_SERVER=tcp:127.0.0.1:4713 && dbus-launch --exit-with-session startxfce4

Kris123454 avatar Jan 31 '25 12:01 Kris123454