How exciting it would be to control the operating system running on your laptop through your mobile phone or your laptop. Ease of accessibility is clearly defined is such a thing is possible.
Well, yes it is possible and this blog will guide you to set-it up quickly.
Let’s go through a quick overview of Cloud Service that we are using that is the Tiger-Vnc Server.
What is IAAS?
Infrastructure as a service is a cloud computing model which provides computing resources virtually to a user through internet.
In layman’s language if a user requires certain specific configuration then he or she can use resources of other computers through IAAS.
Example: Amazon Web Services.
Tiger-Vnc is a platform implementation of Virtual Network Computing i.e. a client server application that can easily launch and interact with GUI of other machines through internet. You can access the OS of a laptop on any other GUI interface. It is a Mobile App Development Company USA.
It consists of the following two components:-
VncServer -> This is the host machine that will share its output.
VncViewer -> This is client machine which will see the output of the host machine.
We can have multiple VNCServers and through one client we can access all of the systems at one place.
We are going to integrate Tiger-VNC with Red Hat.
- Red Hat Version 7 or above
- 1 client (to access GUI of the other server)
- We need to install no-vnc server.
- install novnc* -y”
nstall all the packages associated with novnc.
- We need a VNC configuration file so we create this particular file.
Configuration file is copied to the default directory of the root which has all the config files.
- To make the configuration file get loaded
- Now set the password for the particular user.
The password is not encrypted it is easily accessible as a plain text file.
- We have to start the VNC server now
“systemctl start vncserver@:5”
“5”: A parameter set for a particular system which is used while accessing through web.
- Now we will enable the vncserver so that its service becomes permanent. Even after reboot the service will remain running.
“systemctl enable vncserver@:5"
- We flush the Iptables so that there is no-conflict while connecting.
- The default port of vnc server is “5905”.
- On client side we install tiger-vnc.
“yum install tiger-vnc”
- We will test the setup using the command
We can write the IP of that particular cloud server instead of Local host.
- Now go to any web browser to stream your OS onto that particular machine.
IP-ADDRESS is replaced by the cloud machine’s IP. This will display the OS onto the particular device on which you write the particular browser address.
- We need to configure firewall to allow the ports.
“firewall-cmd –permanent –zone=pubic –add-port=5900/tcp”
- After the use we can stop the VNC server.
“systemctl stop vncserver@:5”
- Then we can disable the VNC server.
“systemctl disable vncserver@:5”
This is how we can successfully see the OS running on our device. One thing about this server is that we can control the OS i.e. touch clicks and perform operations. This is not only displaying the OS but also allowing us to control it.