Install the following packages:
yum install pixman pixman-devel libXfont tigervnc-server.x86_64 -y
Edit the file
/etc/sysconfig/vncservers and add the following lines:
VNCSERVERS="6:<LOGIN_NAME>" VNCSERVERARGS="-geometry 1152x864"
In the first line, “6:” means that the vnc server daemon will listen on port 590 and will log into the specified user’s desktop.
Having “5:itai” there will make the server listen on port 590 and connect to itai’s desktop.
Then run in order to make sure
vncserver starts with boot:
chkconfig vncserver on
Then, set a password for that user, run it from the user’s shell (the user you specified in
And restart the daemon:
It seems like you installed only the Desktop packages, as far as I know you will need these as well:
yum -y groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts"
init 5 startx