If you create a second instance with vncserver it will run on the next free port i.e :2, which means that the server is running on port 5902 (5900+2). In our case, the server is running on TCP port 5901 (5900+1). This indicates the display port number on which the vnc server is running. The first time the vncserver command is run, it will create and store the password file in the ~/.vnc directory which will be created if not present. Starting applications specified in /etc/X11/Xvnc-session New ':1 (linuxize)' desktop at :1 on machine usr/bin/xauth: file /home/linuxize/.Xauthority does not exist Would you like to enter a view-only password (y/n)? n You will require a password to access your desktops. If you choose to set up a view-only password, the user will not be able to interact with the VNC instance with the mouse and the keyboard. You will be prompted to enter and confirm the password and whether to set it as a view-only password. Do not use sudo when running the following command: vncserver Now that the VNC server is installed, the next step is to run the vncserver command, which will create the initial configuration and set up the password. Type the following command to install TigerVNC on your CentOS server: sudo yum install tigervnc-server Is an actively maintained high-performance open-source VNC server. We’ll be using TigerVNC as our VNC server of choice. Once the repository is added, install Xfce on your CentOS with: sudo yum groupinstall xfceĭepending on your system, downloading and installing the Xfce packages and dependencies may take some time. If the repository is not enabled on your server, you can enable it by typing: sudo yum install epel-release Xfce packages are available in the EPEL repository It is fast, stable, and low on system resources, which makes it ideal for usage on remote servers. Installing Xfce Desktop Environment #ĬentOS server installations often do not come with a desktop environment installed, so we’ll start by installing a lightweight desktop environment. We will assume you are logged in as a user named linuxize. Prerequisites #īefore continuing with the tutorial, make sure you are logged in as a user with sudo privileges Virtual Network Computing (VNC) is a graphical desktop sharing system that allows you to use your keyboard and mouse to remotely control another computer. Install / Configure VNC Server and XFCE GUI on CentOS7
0 Comments
Leave a Reply. |