



+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
# 21JAN2025: 
Instructions for VNC and file logging 
via an ssh tunnel to an ETC 6075 touchscreen
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-


# Login to dev using ssh -X




-------------------------------------------------------
# file Logging
-------------------------------------------------------

To log data files/can 
On dev

dev$ ssh -p 1235 root@localhost "./can_rx | egrep 'O2|F1DF' " >> touchscreen_can_log.txt

This will log to dev data streamed from the touch screen via the shh tunnel.




-------------------------------------------------------
# VNC
-------------------------------------------------------

# This assumes the reverse_tunnel.sh is running on the target touch screen

to get this running log in from dev
dev$ ssh -p1235 root@localhost
# login password....
# 
# more tunnel_vnc.sh
ssh -y -N -l touchscreen -R 1236:localhost:5900 dev.energytechnologycontrol.com
# ./tunnel_vnc.sh &
# exit # back to dev

display a VNC copy of the touchscreen GUI.

$dev vncviewer localhost:1236 

VNC viewer should display. Leave terminal session logged in.



+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
RPC 21JAN2025
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
