These solutions appear to involve the Mac Mini getting settled onto a network. Then--while it's connected to a monitor--you read some number or code on that monitor. You enter this code into the other computer and it works.
But what if you don't have a fixed network, and you aren't carrying a separate monitor? Let's say you're traveling with a PC laptop and a Mac Mini and you walk into some random place with WiFi. How do you even get started on the process of entering the WiFi network password on the monitorless Mini?
If there was some sort of "SSH into your Mac over a USB cable" tool then that would presumably be fine. Connect the cable to the laptop, log in, configure the wifi via
networksetup and presumably get the information VNC or TeamViewer need.
Lacking that...in theory I could rig something up where the Mac Mini would check for a USB thumb drive with a particular instruction file. It would perform the instructions and then save the results to another file. If it succeeded, it would give you the necessary information for VNC/TeamViewer.
Any easier way to deal with this problem? :-/