Configure Tigervnc-Server in RHEL6
[root@server ~]#yum install tigervnc-server* -y
[root@server ~]#chkconfig vncserver restart
[root@server ~]#useradd abc
[root@server ~]#useradd bca
[root@server ~]#su -abc
[abc@server ~]$vncpasswd
password:redhat1
retype password:redhat1
[abc@server ~]#exit
[root@server ~]#su - bca
[bca@server ~]$vncpasswd
password: redhat12
retype password:redhat12
[bca@server ~]#exit
[root@server ~]#vim /etc/sysconfig/vncservers
VNCSERVERS="2:abc 1:bca"
VNCSERVERARGS[1]="-geometry 800x600"
VNCSERVERARGS[2]="-geometry 800x600"
:wq!
[root@server ~]#service vncserver restart
GO to client Machine
[root@client ~]#yum install tigervnc
[root@client ~]# vncviewer <serverip>:<user displaynumber>
password:<mention vncpassword here>
you got graphical access same process of second user olny change the screen display number
[root@server ~]#yum install tigervnc-server* -y
[root@server ~]#chkconfig vncserver restart
[root@server ~]#useradd abc
[root@server ~]#useradd bca
[root@server ~]#su -abc
[abc@server ~]$vncpasswd
password:redhat1
retype password:redhat1
[abc@server ~]#exit
[root@server ~]#su - bca
[bca@server ~]$vncpasswd
password: redhat12
retype password:redhat12
[bca@server ~]#exit
[root@server ~]#vim /etc/sysconfig/vncservers
VNCSERVERS="2:abc 1:bca"
VNCSERVERARGS[1]="-geometry 800x600"
VNCSERVERARGS[2]="-geometry 800x600"
:wq!
[root@server ~]#service vncserver restart
GO to client Machine
[root@client ~]#yum install tigervnc
[root@client ~]# vncviewer <serverip>:<user displaynumber>
password:<mention vncpassword here>
you got graphical access same process of second user olny change the screen display number