patch NX and vncviewer to avoid dialogs

Description

We drive both nxproxy and vncviewer from our own code and the user has no knowledge of what ports/username/passwords are used, so showing them dialogs is not helpful, we should just exit with an error code and catch that in our own code.
vncviewer --Dialog=no 192.168.0.1:1234