It causes the VNC server to only allow connections emanating from the server itself. The -localhost argument binds the VNC server to the server’s loopback address (127.0.0.1). Restart the VNC Server, this time with the -localhost flag. Next, make the script executable by assigning execute permissions. Next, create a new configuration file using the text editor of your choice. Next, we are going to edit the xstartup file. To configure the VNC server, first, kill the current VNC server instance. We already have this file in place from the previous step after running the vncserver command. The commands required during startup are located in the xstartup file located in the. You need to specify the graphical environment that VNC will connect to as well as the commands to run when it starts. Step 3) Configure TigerVNC ServerĪfter the installation and initialization of the VNC server, some additional steps are required. In addition, all the necessary VNC Server configuration files will be created and placed in your home directory in the ~/home/user/.vnc path. Thereafter, an instance of the VNC Server will be created on the display port which is port 5901, and referenced by :1 notation. As such, simply decline this option by pressing ‘n’ and pressing ENTER. The view-only password only grants you access to the desktop and does not allow you to interact with the remote desktop using the keyboard and mouse. Next, you get an option to choose whether or not you want to create a view-only password. A password having more than 8 characters will be truncated. NOTE: The password should have a range of between 6 to 8 characters. $ vncserverįirst, you will be prompted to enter an access password. Thereafter, run the vncserver command to create a VNC password to access the remote desktop, create initial configuration files and initialize a VNC server instance. Therefore, install it using the APT package manager as shown. The TigerVNC package is provided by the Official Ubuntu repositories. Next, install the XFCE desktop environment using the following command: $ sudo apt install xfce4 xfce4-goodies In this guide, we will install XFCE which is a lightweight desktop environment and easy on the consumption of system resources.įirst, update the package lists: $ sudo apt update So, the first step will be to install one. Step 1) Install Desktop Environment on Ubuntu Serverīy default, the Ubuntu server does not come with a desktop environment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |