problem with termux-am-socket
$ termux-am-socket
Could not connect to socket: No such file or directory
I tried reinstalling termux from scratch but still doesn't work.
I've set "run-termux-am-socket-server = true" in .termux/termux.properties....
local server that plays videos accessible offline
Hello, I need to play a series of videos one after the other inside a folder (the playback just needs to be visible on a local http server, so that there's no way to play/pause/scrub): any ideas?
Here's what I tried:
-
vlc -vvv "~/storage/shared/Download/My Project.mp4" --sout="#standard{access=http,mux=asf,url=192.164.0.64:8080}"
(tried modifying it from https://forum.videolan.org/viewtopic.php?t=70207, but when I try and connect to that url on the same device that's meant to be hosting it on firefox it said "Unable to connect": I can still access the server generated from apachectl
on Firefox though...)...Stuck on "Waiting 5 seconds for lock" on keychain without starting ssh-agent
I am using
keychain
to load my SSH keys between shell sessions on Termux via eval $(keychain --agents ssh --eval)
on my .bashrc
file, but it is having trouble on the locking mechanism with Waiting 5 seconds for lock...
message and did not start up SSH agent. Any advice on how to fix it?How to make ffi bindings to termux api
I want to use it directly in a programming language rather than the shell interface in a shell script.
Is it possible to do? I used the file command on the termux-api file and it said it was a shared object.
I'm hoping someone can give me some pointers on doing it. Can I interface with it through a C FFI? If it's java, do I need to install a jre to use it?...
please help me no such file or dictory
i write $ cd downloads and and writes no such file or dictory
Can't use tsserver on NVChad in Termux
Hi everybody, I has installed tsserver on nvchad by using mason but I cant use it, here is errors. Thanks everybody (sorry because my bad english)

Use RUN_COMMAND intent using adb, requires permission, how do I grant one?
```
❱ adb shell am startservice --user 0 -n com.termux/com.termux.app.RunCommandService \
-a com.termux.RUN_COMMAND \
--es com.termux.RUN_COMMAND_PATH '/data/data/com.termux/files/usr/bin/sleep' \
--esa com.termux.RUN_COMMAND_ARGUMENTS '10' ...
Hide QNetworkInterface/AF_NETLINK warnings
Hey having trouble with this warning constantly spamming when running a script does anyone know how to hide this
I am unsure on how to install playit.gg on an ubuntu server running on an old phone
I am currently attempting to run a minecraft server using an old phone using this tutorial: https://www.youtube.com/watch?v=X8ryI-NYIq4&t=349s
After finishing this tutorial, I am trying to use playit.gg to allow my friends to connect to my server, although I am unsure on how to install it using my phone (samsung note 10 lite). I have seen the "raw binaries page" but am unsure on how to import these into the server, if I have to do that at all. I am very sorry as this is my first time working with a server, and I can easily assume that this is very hard to understand or read.
Linux version might be Linux localhost 4.9.191 (I am so genuinely sorry)...
Installing `lxml` crashes Termux
```bash
pip install lxml -UCollecting lxml Using cached lxml-5.2.2.tar.gz (3.7 MB) Installing build dependencies ... done...
Solution:
Try to install the package using
apt install python-lxml
command.Help me setup samba server
I installed samba package but don't know what to do next.
I want to be able to access the server from Windows file explorer and Kodi.
I tried
smbd -i -D -s smb.conf
with the config attached....Several errors in termux proot right after logging into proot-distro
bash: export: `/aarch64-linux-gnu/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/i386-linux-gnu/': not a valid identifier
bash: export: `-linux-gnu/:/lib/arm-linux-gnueabihf/:/usr/lib/aarch64-linux-gnu/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/i386-linux-gnu': not a valid identifier
bash: export: `/:/usr/lib/x86_64-linux-gnu': not a valid identifier
bash: export: `/aarch64-linux-gnu/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/i386-linux-gnu/': not a valid identifier
bash: export: `-linux-gnu/:/lib/arm-linux-gnueabihf/:/usr/lib/aarch64-linux-gnu/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/i386-linux-gnu': not a valid identifier
bash: export: `/:/usr/lib/x86_64-linux-gnu': not a valid identifier

help with apktool and metasploit
So I'm getting
Error: apktool not found. If it's not in your PATH, please add it.
while running msfvenom
I installed apktool using https://github.com/h4ck3r0/Apktool-termux
Any idea how to fix this?...How can I fix this?
Hiiiii!
A week ago, I switched from play's termux to the one from f-droid.
I used the following commands in backup and restoring:...
Solution:
I will clear termux's data

rotate screen termux
is there any way using termux api to make it rotate the screen? what about mapping stuff like (press volume down twice) to trigger such action if it is even possible?
so manual rotate with double pressing volume down.
i know there are third party apps for this but only termux survives in background to make this thing usable,others die.
edit:and without root as i dont have root access...
gcc eror
Help eror install gcc
Solution:
as twaik said, their repo is pretty much outdated. use clang or install gcc-12 from TUR
