lidarr/picard on termux

lidar on termux

apt install openssh -y

sshd

 ifconfig to get ip

on pc

ssh -p 8022 192.168.1.73


apt update

apt install proot-distro

proot-distro install alpine

proot-distro login alpine

wget https://github.com/Lidarr/Lidarr/releases/download/v3.1.0.4875/Lidarr.master.3.1.0.4875.linux-musl-core-arm64.tar.gz

tara xf Lidarr.master.3.1.0.4875.linux-musl-core-arm64.tar.gz 

apk add libstdc++

apk add icu-libs

export COMPlus_EnableDiagnostics=0

export DOTNET_gcServer=0

export DOTNET_GCHeapHardLimit=1C0000000

./Lidarr


make lidar.sh

export DOTNET_GCHeapHardLimit=1C0000000

./Lidarr/Lidarr

chmod +x lidar.sh


192.168.1.73:8686

picard on termux to linux

pkg install   x11-repo

pkg install  xorg-xauth


nano $PREFIX/etc/ssh/sshd_config 

# --- Change these lines ---

# X11Forwarding yes

# X11UseLocalhost yes

# --------------------------

pkill sshd && sshd


proot-distro install alpine

apk add xhost picard

debian
sudo apt install x11-xserver-utils openssh-client xwayland
xhost +local:

ssh -Y -p 8022 192.168.1.73

nano piku.sh
export DISPLAY=localhost:10.0
export XAUTHORITY=/data/data/com.termux/files/home/.Xauthority
export XDG_RUNTIME_DIR=/tmp/runtime-root
mkdir -p $XDG_RUNTIME_DIR && chmod 700 $XDG_RUNTIME_DIR
picard

chmod +x piku.sh

extra deps optional
apk add font-noto font-dejavu adwaita-icon-theme
apk add --no-cache harfbuzz icu-libs libxft font-noto font-noto-devanagari font-noto-bengali font-noto-cjk  ffmpeg && fc-cache -fv


picard 


still faster than mounting mtpfs

 apk add tigervnc
apk add xvfb
Xvfb :1 -screen 0 1920x1080x24 &
export DISPLAY=:1
vncpasswd
6 letter pw 

 vncserver :1 -localhost