Friday, May 27, 2011

Configure Tigervnc-Server in RHEL6

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







2 comments:

  1. http://vrditservices.com/vrditser/install-skype-on-centos-6-3/

    Install skype on Centos 6.3 version

    Please follow vrditservices.com

    ReplyDelete
  2. When i try to put more than 1 account in the /etc/sysconfig/vncservers file, then trying to start the vncserver service will always fail and say 2: is already started. no matter how i try it will not be able to start. Putting only 1 account is alright.

    ReplyDelete