![]() Once the package group is installed, reboot the server: sudo reboot ![]() Our VNC users will use GNOME to interact with the server from its desktop: sudo yum groupinstall -y "GNOME Desktop"ĭepending on the speed of your network, this can take a few minutes. There are other desktop environments like KDE, but GNOME is more popular. GNOME is a collaborative effort: it’s a collection of free and open source software that makes up a very popular desktop environment. Set the password for janevnc: sudo passwd janevnc Next, create an account for janevnc: sudo useradd -c "User Jane Configured for VNC Access" janevnc Passwd: all authentication tokens updated successfully. Once supplied, the account will be ready for login: Changing password for user joevnc. Then run the passwd command to change joevnc’s password: sudo passwd joevnc ![]() Run the following command to add a user account for joevnc: sudo useradd -c "User Joe Configured for VNC Access" joevnc These accounts will remotely connect to our CentOS 7 server from VNC clients. Step 1 - Creating Two User Accountsįirst, we will create two user accounts. This could result in security issues and downtime. Warning: You should not run any commands, queries, or configurations from this tutorial on a production Linux server. To understand how sudo privileges work, you can refer to this DigitalOcean tutorial To follow this tutorial, you should use a sudo user.Resource Requirements: A Droplet with 2 GB RAM.The commands, packages, and files shown in this tutorial were tested on a minimal installation of CentOS 7. We will then test their connectivity to the remote desktop, and finally, learn how to secure the remote connection through an SSH tunnel. We will create two user accounts and configure VNC access for them. To demonstrate how VNC works, we will also install the GNOME desktop on your CentOS server. We will install the TigerVNC server which is freely available from the TigerVNC GitHub repository. In this tutorial we will learn how to install and configure a VNC server on CentOS 7. Like everything else in the networking world, VNC is based on the client server model: VNC server runs on a remote computer - your Droplet - which serves incoming client requests. If you come from a Microsoft Windows server background, VNC is much like the Remote Desktop Service, except it’s also available for OS X, Linux, and other operating systems. VNC also allows clipboard sharing between both computers. It’s like remote controlling an application: the client computer’s keystrokes or mouse clicks are transmitted over the network to the remote computer. VNC or Virtual Network Computing is a platform-independent protocol that enables users to connect to a remote computer system and use its resources from a Graphical User Interface (GUI).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |