I didn't actually re chmod the file on that last step - it was recreated automatically. Not knowing any better, I'd say that the screen res is stored in netinfo. nicl is cli tool. I could be way wrong though.
I solved this by replacing /Library/Preferences/com.apple.windowserver.plist with an empty file and write protecting it. Once rebooted, I made the file writable again by root.
sudo su -
echo > /Library/Preferences/com.apple.windowserver.plist
I've tried renaming/removing with no success.
After 'reboot', the file is created again. I wonder where the actual values are stored - I fear in some ldap repository.
I removed all com.apple.windowserver.plist files.
What method is commonly used to reset the display resolution when it is accidentally set incorrectly for your monitor? It was modified to an invalid setting that the monitor doesn't support. I only have network access, and I can ssh in to modify whatever is needed. What files can I modify to get...