## VNC (Virtual Network Computing) Server ##
Sometimes we need to access remote server.
most times we just ssh otherwise telnet used into them.
if you are required graphically access.
so what now this time used vnc server.
it helps us to login to remote server graphically.
####RPM for VNC Server####
These two packages for vnc server.
I.tigervnc-server....
II.tigervnc....
Now start follow this step.......
1. [root@localhost ~]# yum install tigervnc*
Configuration:
Configuration file is /etc/sysconfig/vncserver. edite this file
2. [root@localhost ~]# vim /etc/sysconfig/vncservers
VNCSERVERS="2:myusername"
VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"
Change “myusername” to to the user id of user who has to login.
Example:
VNCSERVER="1:user1 2:user2"
You can add more user like this.
In the second line, mention the resolution in pixels.
Create vnc password for the users.
Switch to user1
3. [user1@localhost ~]$ vncpasswd
Now service restart
4. [root@localhost ~]# service vncserver restart
5. [root@localhost ~]# chkconfig vncserver on
Now connect to any server vnc viewer from windows/linux machines as server address "server-ip-address:1" for vnc user.
Give the password set in "vncpasswd username".
Now remote desktop will be opened. .
****Enjoy the magic***
Sometimes we need to access remote server.
most times we just ssh otherwise telnet used into them.
if you are required graphically access.
so what now this time used vnc server.
it helps us to login to remote server graphically.
####RPM for VNC Server####
These two packages for vnc server.
I.tigervnc-server....
II.tigervnc....
Now start follow this step.......
1. [root@localhost ~]# yum install tigervnc*
Configuration:
Configuration file is /etc/sysconfig/vncserver. edite this file
2. [root@localhost ~]# vim /etc/sysconfig/vncservers
VNCSERVERS="2:myusername"
VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"
Change “myusername” to to the user id of user who has to login.
Example:
VNCSERVER="1:user1 2:user2"
You can add more user like this.
In the second line, mention the resolution in pixels.
Create vnc password for the users.
Switch to user1
3. [user1@localhost ~]$ vncpasswd
Now service restart
4. [root@localhost ~]# service vncserver restart
5. [root@localhost ~]# chkconfig vncserver on
Now connect to any server vnc viewer from windows/linux machines as server address "server-ip-address:1" for vnc user.
Give the password set in "vncpasswd username".
Now remote desktop will be opened. .
****Enjoy the magic***