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

arch linux kde script not working

Open amiral794 opened this issue 1 year ago • 2 comments

In arch linux kde script $DISPLAY is not set or cannot connect to the X server. There is an error, how can I fix it?

amiral794 avatar Nov 28 '24 14:11 amiral794

Make new sh script and insert this

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 13:01 Kris123454

I have the sam problem with debian kde. When i try to run your first script i get setenforce: Max 1 argument (see "setenforce --help")

panoskpv avatar Nov 03 '25 08:11 panoskpv