VNC (Virtual
Network Computing) server is a utility which provides remote desktop
accessibility over the network.
 
 
 
This article
describes How to Configure VNC Server on CentOS 7 TigerVNC.
Step 1. GUI installation: Follow the article
How
to install Gnome GUI on CentOS 7/RHEL 7 for Graphical User Interface (GUI)
installation if it is already not installed on system.
Step 2. Package installation: Run the following command
to install TigerVNC server:
[root@linuxcnf
  ~]# yum install tigervnc-server tigervnc 
Loaded
  plugins: fastestmirror 
………………… 
Installed: 
  tigervnc.x86_64 0:1.8.0-17.el7                                                 
  tigervnc-server.x86_64 0:1.8.0-17.el7 
Dependency
  Installed: 
  dejavu-fonts-common.noarch
  0:2.33-6.el7                 
  dejavu-sans-fonts.noarch 0:2.33-6.el7 
…………………… 
  xorg-x11-server-utils.x86_64
  0:7.7-20.el7               
  xorg-x11-xauth.x86_64 1:1.0.9-1.el7                   xorg-x11-xinit.x86_64
  0:1.3.4-2.el7 
  xorg-x11-xkb-utils.x86_64 0:7.7-14.el7 
Complete! 
[root@linuxcnf
  ~]# 
 | 
 
Step 2. Starting Service: Run the following
command to start the VNC service for the current user i.e. root user:
[root@linuxcnf
  ~]# vncserver :1 -rfbport 5901 
You
  will require a password to access your desktops. 
Password: 
Verify: 
Would
  you like to enter a view-only password (y/n)? n 
A
  view-only password is not used 
New
  'linuxcnf:1 (root)' desktop is linuxcnf:1 
Creating
  default startup script /root/.vnc/xstartup 
Creating
  default config /root/.vnc/config 
Starting
  applications specified in /root/.vnc/xstartup 
Log
  file is /root/.vnc/linuxcnf:1.log 
[root@linuxcnf
  ~]# 
 | 
 
Use the option –rfbport
to run the VNC server on a specific port number. Now connect with the server IP
address and given port number.
Done!!! TigerVNC
server installation is completed.
No comments:
Post a Comment