I would like to use the vncviewer automatic connect via:
SESSION_#_TYPE_SERVER=someiporhostwithdynamicport
But is it possible to use a shell script or similar to "calculate" my connection port dynamically?
For example:
My Thinstation has gotten an IP-Address via DHCP: 172.16.99.110
This station needs to connect via VNC to 172.16.99.9:10 (Display 10/Port 5910)
another Thinstation has gotten an IP-Address via DHCP: 172.16.99.120
This station needs to connect via VNC to 172.16.99.9:20 (Display 20/Port 5920)
and so on...
Also I don't need a window manager at all. Just the vncviewer.
Any way that this is possible (e.g. via bash (std)output?)
I would like to use the vncviewer automatic connect via: SESSION_#_TYPE_SERVER=someiporhostwithdynamicport
But is it possible to use a shell script or similar to "calculate" my connection port dynamically?
For example: My Thinstation has gotten an IP-Address via DHCP: 172.16.99.110 This station needs to connect via VNC to 172.16.99.9:10 (Display 10/Port 5910)
another Thinstation has gotten an IP-Address via DHCP: 172.16.99.120 This station needs to connect via VNC to 172.16.99.9:20 (Display 20/Port 5920)
and so on...
Also I don't need a window manager at all. Just the vncviewer. Any way that this is possible (e.g. via bash (std)output?)
Thank you in advance.