Install TigerVNC -
$ sudo apt install tigervnc-standalone-server
Configure VNC Server by running
Getting Started
Table of Contents
| #!/usr/env python3 | |
| ######################################################################## | |
| # | |
| # Simple HTTP server that supports file upload for moving data around | |
| # between boxen on HTB. Based on a gist by bones7456, but mangled by me | |
| # as I've tried (badly) to port it to Python 3, code golf it, and make | |
| # It a little more robust. I was also able to strip out a lot of the | |
| # code trivially because Python3 SimpleHTTPServer is a thing, and the | |
| # cgi module handles multipart data nicely. | |
| # | 
| property AIRDROP_FOLDER : "Path:to:AirDrop:Folder:in:Alias:format" | |
| property QUARANTINE_KEY : "59" | |
| property GET_QUARANTINE_COMMAND_START : "ls -l -@ '" | |
| property GET_QUARANTINE_COMMAND_END : "' | tr '\\n' ' ' | sed 's/.*com\\.apple\\.quarantine\\s*\\(\\d*\\)/ \\1/' | awk '{$1=$1};1'" | |
| on adding folder items to this_folder after receiving added_items | |
| repeat with i from 1 to length of added_items | |
| set current_item to item i of added_items | |
| set quarantine_type to getQuarantineType(POSIX path of current_item) | 
| // -sp-context: browser | |
| /* This Source Code Form is subject to the terms of the Mozilla Public | |
| * License, v. 2.0. If a copy of the MPL was not distributed with this | |
| * file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
| * | |
| * | |
| * xseei.export-all.js | |
| * =================== | |
| * code-revision 3 | |
| * https://gist.github.com/nohamelin/6af8907ca2dd90a9c870629c396c9521 | 
On my iMac 5k (iMac15,1) since the update on macOS 10.12.4 sudo is very slow.
It takes about 5 minutes to the password prompt.
The problem is not on my MacBook Pro (MacBookPro13,1) with the same operating system 10.12.4.
With 10.12.3. I had no problems on the iMac.
| #!/usr/bin/env python | |
| """Simple HTTP Server With Upload. | |
| This module builds on BaseHTTPServer by implementing the standard GET | |
| and HEAD requests in a fairly straightforward manner. | |
| """ |