You can use remote management while sharing process; just, just go to Apple menu > system preferences click sharing, now click the checkbox