I also had similar problem.
1. I tried to connect from another machine and try to use the command
xrandr -o normal
but got same error as specified earlier.
so I did one trick. I hope this might help you guys.
I had problem when I tried to login with GNOME. screen led blinks.
Then you have to Press ALT+F2 this will bring up Run command (though nothing will be seen on screen.) and type without making any spelling error.
This bring back screen to normal.