First: Set your display device in lcd4linux.conf to follow
Display Android {
Driver 'MatrixOrbital'
Port '/dev/csTTY1'
Model 'LCD1641'
Speed 19200
Contrast 160
}
Second: Add redirect to mobile phone
create a script with name solcdforever.sh and replace 192.168.178.70 with your mobile phone ip
while true; do
sudo socat PTY,link=/dev/csTTY1,echo=0,wait-slave TCP:192.168.178.70:17777,retry=5,reuseaddr,forever
done
start the script with
./solcatforever.sh