cheadrian / termux-chroot-proot-wine-box86_64

Repo with instruction about how you can setup Proot / Chroot using Termux and GPU acceleration for Box86, Wine, etc.
264 stars 22 forks source link

TERMUX__USER_ID: parameter not set #21

Open AKGamer228 opened 10 months ago

AKGamer228 commented 10 months ago

OS: Android 13

App: Tested both with the newest termux & termux monet. Tried removing and downloading the script a couple of times.

Script (error): Install Termux:X11 APK. Open APP installer. /data/data/com.termux/files/usr/bin/termux-open: 43: TERMUX__USER_ID: parameter not set install_termux_x11_pkg_app encountered an error. Please use the 'cd termux-chroot-proot-wine-box86_64', './Scripts/Addons_Menu.sh' and select remove script or delete Termux App data and try again. Error can be from network, incompatibility, outdated 'X11_APK_LINK', 'X11_COMPANION_LINK' or script problem due Termux / Android updates.

AKGamer228 commented 10 months ago

Temporal fix: Install the apk manually, open Stage_1_Install_Proot_VirGL_Box86_Wine.sh with nano or any other editor, Then remove termux-open Termux-X11-app-universal-debug.apk } Line, save the file and reopen the file with ./Getting_Started /Stage_1_Install_Proot_VirGL_Box86_Wine.sh

Also the same thing has to be done with widget

cheadrian commented 10 months ago

Did you skip setting up ssh? I'll investigate further.

AKGamer228 commented 10 months ago

Doesn't matter, if you skip or don't skip ssh.

And yes, ssh installed correctly if I selected to install it, there is no internet connection errors and the script downloads the apk correctly the only issue is with installing said apks.

In other termux scripts that install stuff as apks they usually copied the APK onto the phone's storage (in temp? Maybe) so maybe if you copy it onto the storage first it will work?

Everything works if you remove the termux-open lines.

AKGamer228 commented 10 months ago

So far everything works besides playonlinux that outputs an error "Wine has stopped" I'll take a look on that later.