It uses the Remote Frame Buffer protocol to remotely control another computer. It works on the client-server principle: a server shares its output (vncserver) and a client (vncviewer) connects to the server. TigerVNC (Tiger Virtual Network Computing) is a system for graphical desktop sharing which allows you to remotely control other computers. Type the password, which was generated using vncpasswd command.How to Install and Configure VNC Server in CentOS 7 VNC Server While typing the ip address next to it give “ : “ symbol and add the port number for the particular user to whom you want to connect :1 is refers to :5901 port Run the vncviewer command in server and in that pop-up window type the VNC client IP address along with VNC ID to start using the VNC Viewer client. Step 10: To Connect to Remote Desktop Using Client Iptables: Setting chains to policy ACCEPT: filter mangle na Iptables: Saving firewall rules to /etc/sysconfig/iptables: Now save and restart the iptables services. ~]# iptables -A INPUT -m state -state NEW -m tcp -p tcp -dport 5901 -j ACCEPT Step 7: Beginning with TigerVNC Server ~]# /etc/init.d/vncserver startīy using the iptables command we can allow the port on Firewall. When you deal with multiple users, create a vncpasswd for all the user’ s, add the user’ s to the VNCSERVERS line and append a VNCSERVERARGS entry, where ‘ x‘ is the ID number. VNCSERVERS=” 1:linuxhelp” VNCSERVERARGS=” -geometry 1280× 1024&Prime ~]# vim /etc/sysconfig/vncserversĪnd append the below lines to it at the bottom of the file and then save and close it. Now let us create a new VNC Session for linuxhelp with following command where ‘ -geometry‘ is used to define the desktop resolution. Shutting down VNC server: 1:linuxhelp įirst open file /etc/sysconfig/vncservers file in your editor. To do this, it is essential to stop running the VNC service. 1 linuxhelp linuxhelp 654 Apr 16 18:23 xstartupĪfter it is created, you can set a desktop resolution in xstartup file. Next, you have to verify that xstartup script is created under user’ s home directory using ‘ ls -l’ command. Starting applications specified in /home/linuxhelp/.vnc/xstartup You have to create the xstartup script as root user, by starting the VNC server. Now you need to exit from user login and then return to root user login. 1 linuxhelp linuxhelp 8 Apr 16 17:39 passwd You can also check the password file created using following command. vnc directory under user’ s home directory with passwd file within it. The above command will prompt you to provide password twice and also creates. The new password can be used for accessing VNC remote desktop and the password, which we created in step 3 is used for accessing SSH. For this you have to login to the user and run “ vncpasswd” in order to set the VNC password for the user. Now we will be creating a new password for newly created user. Passwd: all authentication tokens updated successfully. Now we will be creating a normal user, which will be used to connect to remote desktop. > Package tigervnc-server-1.1.86_64 will be installed Loading mirror speeds from cached hostfile Loaded plugins: aliases, changelog, fastestmirror, kabi, presto, refresh-packagekit, TigerVNC is a remote desktop control software, which enables you to efficiently connect to remote desktops, to install this, use the following command. ~]# yum groupinstall " X Window System" " Desktop" The GNOME desktop gives a lightweight desktop environment, which works efficiently on remote VNC desktops. You need to install a GUI with GNOME Desktop, if you have installed a minimal version of Operating System.
0 Comments
Leave a Reply. |