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

TERMUX__USER_ID: parameter not set #21

Open
AKGamer228 opened this issue Dec 24, 2023 · 4 comments
Open

TERMUX__USER_ID: parameter not set #21

AKGamer228 opened this issue Dec 24, 2023 · 4 comments

Comments

@AKGamer228
Copy link

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
Copy link
Author

AKGamer228 commented Dec 24, 2023

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
Copy link
Owner

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

@AKGamer228
Copy link
Author

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
Copy link
Author

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

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

2 participants