Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strange script #84

Open
Fskadi opened this issue Dec 3, 2024 · 1 comment
Open

strange script #84

Fskadi opened this issue Dec 3, 2024 · 1 comment

Comments

@Fskadi
Copy link

Fskadi commented Dec 3, 2024

i followed the tutorial as written, only i changed the username in my username and it didn't want to take the passwd, apart from it i think i followed all

this is what i get after i restarted the phone and got into su

.../local/tmp $ su
:/data/local/tmp # ls
ArchLinuxARM-aarch64-latest.tar.gz
chrootarch
start_arch.sh
startxfce4_chrootArch.sh
:/data/local/tmp # sh startxfce4_chrootArch.sh
killall: termux-x11: No such process
killall: Xwayland: No such process
killall: pulseaudio: No such process
killall: virgl_test_server_android: No such process
killall: termux-wake-lock: No such process
Starting: Intent { cmp=com.termux.x11/.MainActivity }
Error type 3
Error: Activity class {com.termux.x11/com.termux.x11.MainActivity} does not exist.
startxfce4_chrootArch.sh[7]: sudo: inaccessible or not found
startxfce4_chrootArch.sh[9]: termux-x11: inaccessible or not found
startxfce4_chrootArch.sh[13]: pulseaudio: inaccessible or not found
startxfce4_chrootArch.sh[14]: pacmd: inaccessible or not found
startxfce4_chrootArch.sh[18]: sudo: inaccessible or not found
startxfce4_chrootArch.sh[16]: virgl_test_server_android: inaccessible or not found
mount: mounting tmpfs on /data/local/tmp/chrootarch/dev/shm failed: No such file or directory
/usr/bin/startxfce4: X server already running on display :0
xrdb: Connection refused
xrdb: Can't open display ':0'
Environment variable $XAUTHORITY not set, ignoring.
Failed to import environment: Process org.freedesktop.systemd1 exited with status 1
xfce4-session: Cannot open display: .
Type 'xfce4-session --help' for usage.

when i try to install the packages it says they are already installed

what i'm doing wrong? also before this i couldn't open the script with ./ only with sh works, when i use ./ it says no file or directory even when i'm in folder and the file is here and it has necessary permissions
thank you

@Fskadi
Copy link
Author

Fskadi commented Dec 4, 2024

for anyone having the same problem i had to install termux x11 arm64 debug from github,
mkdir -p /data/local/tmp/chrootarch/dev/shm
and it worked, thanks for the tutorial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant