I run two machines through a KVM switch. If I boot Machine #2 (while working on Machine #1) it isn't connected to the monitor as it boots, so when I switch over to it the screen shows:
Out of Range
95.1 kHz / 60 Hz
I can drop into tty1 and run sudo service lightdm restart and all is fine, but I'd really like it to start in graphical mode.
I've tried adding:
xrandr --output HDMI-1 --mode 1920x1080
to /etc/rc.local but that doesn't help.