I'm attempting to run a flaky imac (running 10.8.5) as just an ssh server, headless and without the GUI running.
I've made this work by disabling the
com.apple.WindowServer.plist and enabled
com.apple.getty.plist and adjusting
/etc/ttys to run a console with
console "/usr/libexec/getty std.57600" vt100 on secure
This is fine. No GUI, I can ssh in just fine and if I have a keyboard attached I can log in on the console.
However, even with a
pmset -a displaysleep 1 the display never goes to sleep. I'd like it to be asleep all the time, as I've got the iMac under a desk and only intend to use it over ssh.
Is this possible and I'm just missing a step or am I out of luck?