IPADDR=$(ip addr show | grep -E '^\s*inet' | grep -m1 global | awk '{ print $2 }' | sed 's|/.*||')
Use IPADDR:5900 as the address.
bash ipad_monitor.sh
Get ipad_monitor.sh from https://kbumsik.io/using-ipad-as-a-2nd-monitor-on-linux
IPADDR=$(ip addr show | grep -E '^\s*inet' | grep -m1 global | awk '{ print $2 }' | sed 's|/.*||')
Use IPADDR:5900 as the address.
bash ipad_monitor.sh
Get ipad_monitor.sh from https://kbumsik.io/using-ipad-as-a-2nd-monitor-on-linux