Amazon Contextual Product Ads

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
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"


[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



    Install skype on Centos 6.3 version

    Please follow

  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.