The first time we run the vncserver, it will automatically create a new configuration directory. The user who logs in to the server using a view-only password will not be able to control the mouse and keyboard. Log file is /home/vncuser/.vnc/vm068.local:1.logįor view-only password, you can enable or disable it do hit y or n. Starting applications specified in /home/vncuser/.vnc/xstartup New 'vm068.local:1 (vncuser)' desktop is vm068.ae.local:1Ĭreating default startup script /home/vncuser/.vnc/xstartupĬreating default config /home/vncuser/.vnc/config Would you like to enter a view-only password (y/n)? n You will require a password to access your desktops. You’ll be asked for the vnc server password – enter your password, this can by the same or any other. Now initiate the vnc configuration for vncuser using the following command: vncserver This step will generate the vnc configuration for the vncuser. The Mate desktop workspace with TigerVNC has been deployed. That takes a while, wait until the installation is complete. Yum -y install tigervnc-server tigervnc-server-minimal Now we are ready to deploy the Mate desktop workspace and TigerVNC server by running yum below: yum -y install epel-release you can have more than just one desktop environment on your system.īefore installing the Mate desktop, add the EPEL repository. Mate desktop is a lightweight and a continuation of Gnome desktop that is well suited for a server environment. In this guide, we will be using the Mate desktop as VNC desktop workspace. Linux provide several desktop environments such as Gnome, KDE, LXDE, XFCE and many more. usermod -a -G wheel vncuserĪfter all done, login as vncuser and then run sudo su: su - vncuserĮnter the password for vncuser and make sure you elevated root: 2. Now add the user to wheel group able to gain root access. Belong we choose the username vncuser he will get this job: useradd -m -s /bin/bash vncuser The VNC desktop will be available for a non-root user, thus we create a new user and add it to the wheel group for root access.Īdd a new user using the following command. Contentsīefore deploing the VNC server, update your CentOS using the Yellowdog Updater Modified – yum: yum update -y The server installation are based on Linux Mate workspace, however setup and configure VNC server using TigerVNC. This guide explain on how to set up a VNC server on CentOS 7 prepare with minimal installation and running as virtual machine. A VNC server redirects the keyboard and mouse entry from the client computer ( VNC viewer) to the host computer, like known from Windows Remote Desktop Protocol RDP also known as Remote Desktop Services RDS. VNC or Virtual Network Computing is a graphical desktop that allows to control a host computer (Terminalserver) remotely from a client computer. Virtual Network Computing – This tutorial describes how to deploy vncserver on Fedora, CentOS and RHEL.
0 Comments
Leave a Reply. |