X11RDP-RH-Matic.sh: improve sudo, interrupt and error handling