LinuxDroidMaster / Termux-Desktops

Collection of scripts to launch Desktops with audio in Termux X11 and how to use hardware acceleration
https://www.youtube.com/@LinuxDroidMaster/videos
GNU General Public License v3.0
514 stars 54 forks source link

Permission denied chroot debian (Pixel 7) #24

Open p0lymatic opened 3 months ago

p0lymatic commented 3 months ago

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 } startxfce4_chrootDebian.sh[9]: sudo: inaccessible or not found startxfce4_chrootDebian.sh[11]: termux-x11: inaccessible or not found startxfce4_chrootDebian.sh[16]: pulseaudio: inaccessible or not found startxfce4_chrootDebian.sh[17]: pacmd: inaccessible or not found startxfce4_chrootDebian.sh[20]: virgl_test_server_android: inaccessible or not found mkdir: '/data/local/tmp/chrootDebian/dev/shm': File exists mkdir: '/data/local/tmp/chrootDebian/sdcard': File exists dbus-daemon[21049]: Failed to start message bus: Failed to bind socket "/tmp/dbus-irFQpEAN6k": Permission deniedEOF in dbus-launch reading address from bus daemon 1|:/data/data/com.termux/files/home #

when I sudo bash'ing it: ~ $ sudo bash startxfce4_chrootDebian.sh termux-x11: no process found Xwayland: no process found pulseaudio: no process found virgl_test_server_android: no process found termux-wake-lock: no process found W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified). E: [autospawn] core-util.c: Home directory not accessible: Unknown error 13 W: [autospawn] lock-autospawn.c: Cannot access autospawn lock. E: [pulseaudio] main.c: Failed to acquire autospawn lockHome directory not accessible: Unknown error 13 No PulseAudio daemon running, or not running as session daemon. mkdir: '/data/local/tmp/chrootDebian/dev/shm': File exists mkdir: '/data/local/tmp/chrootDebian/sdcard': File exists dbus-daemon[23252]: Failed to start message bus: Failed to bind socket "/tmp/dbus-BiXXUElYXA": Permission denied EOF in dbus-launch reading address from bus daemon ~ $

p0lymatic commented 3 months ago

My device don't have /tmp/ directory btw.