Dell PowerEdge R710 no VGA display but iDRAC works fine

All of the sudden VGA ports stopped working on the R710 server I bought from eBay.  Researched a lot but could not solve for weeks and I was thinking to return the server for a replacement until I tried these rcadmin commands.
iDRAC was working normally and even that was a problem to get it working as latest Java run times are more secured and will not launch the console w.o having a right certificate.  So I switched down from one JRE to another, Java 7 JRE worked (jre-7u80-windows-64).
Once I am able to launch the server using iDRAC Java console, then I know that server is booting fine.  I tried SSH into the same IP address of iDRAC.  I saw the certificate import message (it tells SSH is enabled), used the same username and password (default root/calvin if not changed) but it was saying permission denied.  Not sure why it is saying though the same password worked fine to login iDRAC web server.  Logged into iDRAC web server, clicked on iDRAC Settings -->Network/Security -->SSH, turned off SSH (uncheck and click Apply button at the bottom). Tried SSH, it did not even prompted for password (as I turned off SSH service).  Waited for 10 seconds and enabled SSH again.  Waited for 15 seconds.  Went back to my mac terminal window and tried SSH again with the same username and password I used to login iDRAC web console.  Ola!  it worked this time.
I have tried this command as in this posting,
racadm getconfig -g cfgRacTuning -o cfgRacTuneLocalServerVideo
it returned 0
then I ran this command, 
racadm config -g cfgRacTuning -o cfgRacTuneLocalServerVideo 1
it returned 1
then I see the the VGA working and I can see the console screen.