Update monitor-hotplug.sh

Tiny modification to make the script work if the X session has not been started using the current user id