To use Raspberry as thinclient, connect VNC to another machine, first install ssvncviewer, and create shell script below:
connect.sh
#!/bin/bash
echo <password> | ssvncviewer -scale 1350x600 -autopass <ipaddress>
Resolution 1350×600 is the best for 1366×768 screen, you can change it for your need