Site Tools


peri:termux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
peri:termux [2025/10/01 18:33] – created - external edit 127.0.0.1peri:termux [2025/10/01 20:40] (current) – [Termux-x11] 147.32.8.31
Line 1: Line 1:
- 
 ====== SSH ====== ====== SSH ======
  
 +<code>
 pkg install openssh pkg install openssh
- 
-passwd 
- 
 ifconfig ifconfig
- 
 whoami whoami
 +</code>
  
 +<code>
 sshd sshd
 +</code>
  
 +==== from pc to mobile ====
  
-from pc to mobile +<code>
-------------------- +
 ssh -Y -p 8022 u0_255@10.0.0.2 ssh -Y -p 8022 u0_255@10.0.0.2
 +</code>
  
 +==== from mobile to server====
  
-from mobile to server +<code> 
----------------------- +ssh -f -N -T -R 0:2222:localhost:8022 user@server 
- +</code>
-ssh -f -N -T -R server:2222:localhost:8022 user@server +
  
 on server : on server :
  
-ssh -p 2222 u0_a255@server+<code> 
 +netstat -lntp | grep 2222 
 +ssh -p 2222 u0_a255@127.0.0.1 
 +</code>
  
 +==== .ssh/config ====
  
-.ssh/config +<code> 
------------ +Host mobile
- +
-Host mobil+
     HostName server     HostName server
     User u0_a256     User u0_a256
Line 40: Line 40:
     IdentityFile ~/.ssh/id_rsa     IdentityFile ~/.ssh/id_rsa
     ForwardX11 yes     ForwardX11 yes
 +</code>
  
 +==== X11 =====
 +
 +mcedit $PREFIX/etc/ssh/sshd_config
 +
 +X11Forwarding yes
  
 ====== Qt Creator ====== ====== Qt Creator ======
  
 +<code>
 pkg install x11-repo pkg install x11-repo
 pkg install qt-creator pkg install qt-creator
  
 pkg install qt5-qtbase qt5-qttools qt5-qmake pkg install qt5-qtbase qt5-qttools qt5-qmake
 +</code>
  
 +https://github.com/JesusChapman/simple-calculator-qt
  
-====== termux-x11 ======+====== Termux:X11 ======
  
 https://github.com/termux/termux-x11 https://github.com/termux/termux-x11
Line 56: Line 65:
 https://termux-x11.en.uptodown.com/android/download https://termux-x11.en.uptodown.com/android/download
  
 +pkg install xfce4
 +
 +termux-x11 :1 -xstartup "dbus-launch --exit-with-session xfce4-session"
 +
 +export DISPLAY=:1 ./simple-calculator-qt/calculator-qt
  
  
peri/termux.1759343603.txt.gz · Last modified: 2025/10/01 18:33 by 127.0.0.1