Have VPS server. Trying to set the display variable. Have always had problems with the correct value.
setenv $DISPLAY = :0.0
Tring to get xinit not to fail due to no VT being set or found. xhost + and setting the $DISPLAY variable will allow all X Sessions to run and any gui will come up. I am 3 weeks into CentOs and come from a Unix environment so for the bash shell what is the correct way to get gui's up for CentOs 6.8-x_64.