This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # This assumes you have access to the system via SSH already, and need | |
| # remote VNC access as the same user, and you want only the primary display. | |
| export DISPLAY=:0 | |
| # Encoded password with http://www.motobit.com/util/base64-decoder-encoder.asp | |
| export VNC_PASSWORD="dm5jX3Bhc3N3b3JkNzE=" # vnc_password71 | |
| export VNC_PASSWORD="dm5jX3Bhc3M=" # vnc_password (a character limit is enforced?) | |
| # Sadly many common VNC clients don't support encryption. |