Problem:
I am using my Mac Mini without a keyboard and mouse and when I connect via VNC I get a dialog searching for Bluetooth keyboard.

Solution:
Disable the Bluetooth Setup Assistant.
Open System Preferences - Click Bluetooth
- Click Advanced…
- Uncheck Open Bluetooth Setup Assistant at startup if no keyboard is detected
- Uncheck Open Bluetooth Setup Assistant at startup if no mouse or trackpad is detected
- Click OK