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

tmux new-session - not working #117

Open
clasher113 opened this issue Oct 13, 2022 · 3 comments
Open

tmux new-session - not working #117

clasher113 opened this issue Oct 13, 2022 · 3 comments

Comments

@clasher113
Copy link

clasher113 commented Oct 13, 2022

I'm trying to create new tmux session and run another script in it, but when trying to connect to this session it says that no sessions.
I am 100% sure that the boot script is working, because him starts ssh which I can to connect to + all commands in the script are executed if you run the script manually
termux-wake-lock && sshd && whoami && nmap localhost && sv-enable ftpd && sv up ftpd && tmux new-session -d && tmux send-keys ./start-ubuntu20.sh C-m && tmux send-keys ./start.bash C-m
Termux 0.118.0
Termux:Boot 0.7
LG K8 (2017) M200E Android 8.1.0

@Grimler91
Copy link
Member

Please provide information about your device and termux-boot version, and share the boot script (see bug report template)

@Grimler91
Copy link
Member

Grimler91 commented Oct 16, 2022

Add a shebang to your boot script, and make sure the start-ubuntu20.sh script has a valid shebang (i.e. /data/data/com.termux/files/usr/bin/sh instead of /usr/bin/sh for example)

@clasher113
Copy link
Author

Add a shebang to your boot script

Still "no sessions", though i see the start-ubuntu20.sh script executed and start.bash is running

@termux termux deleted a comment from JLeMy1 Dec 13, 2022
@termux termux deleted a comment from Rwadxvv Dec 13, 2022
@termux termux deleted a comment from Anonimingo02 Apr 1, 2024
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