mouse direction setting on headless (mouse less) mac
You can do it from Terminal using 

defaults write -g com.apple.swipescrolldirection -bool FALSE


TRUE to reverse that call &amp; set back to 'natural'

You can test the current value using 

defaults read -g com.apple.swipescrolldirection


credit goes to Topher Kessler