![]() ![]() 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. Learn more about our affordable VPS hosting solutions and be sure to check back with us again for updates and further tutorials, like Using VNC to Access a Cloud Server.You need to install a GUI with GNOME Desktop, if you have installed a minimal version of Operating System. Thank you for following along with this how to install your own VNC server on a Fedora or CentOS cloud server. In this example, I am connected to a private cloud server with GNOME installed. Notice I am connecting using the server IP and the VNC window that I declared earlier. Try connecting with a VNC client of your choice. You can check current active VNC windows with the “vncserver –list” command. Start the VNC server, create a window (session), and choose output resolution: vncserver :1 -geometry 1024x768 -depth 24 (Optional) If you want to set the VNC password for another user: su vncpasswd If using a newer version of Fedora, use the DNF package manager: dnf install tigervnc-server -y For information on TigerVNC, visit the following site: yum install tigervnc-server -y PrerequisitesĪ Fedora or CentOS VPS with root permissions.Ī Desktop Environment (GUI) such as GNOME or KDE This will allow you to connect and view common Linux desktop Graphical User Interfaces such as GNOME and KDE. In this guide, we will go over how to install your own VNC server on a Fedora or CentOS virtual private server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |