![]() In this case the server is running in port 5901 ( :1), so we’ll stop it with: vncserver -kill :1 Killing Xtigervnc process ID 6677. What is important to note is that when working with VNC servers, :X is a display port that refers to 5900+X.īefore proceeding with the next step, stop the VNC instance using the vncserver command with a -kill option and the server number as an argument. 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. When you run the vncserver command for the first time, it will create and store the password file in the ~/.vnc directory. Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/linuxize/.vnc/passwd :1 to connect to the VNC server. Log file is /home/linuxize/.vnc/debian9.localdomain:1.log Starting applications specified in /etc/X11/Xvnc-session New 'debian9.localdomain:1 (linuxize)' desktop at :1 on machine debian9.localdomain 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. When running the following command: vncserver Once the VNC server is installed, run the vncserver command to create the initial configuration and set up the password. To install TigerVNC on your Debian server issue the following command: sudo apt install tigervnc-standalone-server tigervnc-common We’ll be using TigerVNC, which is an actively maintained high-performance VNC server. Each VNC server has its strengths and weaknesses in terms of speed and security. There are also several different VNC servers available in Debian repositories such as TightVNC ![]() Update the packages index and install Xfce on your Debian server with the following commands: sudo apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utilsĭepending on your system, downloading and installing the Xfce packages may take some time. It is fast, stable, and lightweight, which makes it ideal for usage on a remote server. We’ll use XfceĪs our desktop environment of choice. There are several desktop environments (DE) available in Debian repositories. Our first step is to install a lightweight desktop environment. Prerequisites #īefore continuing with the tutorial, make sure you are logged in as a user with sudo privilegesĬhances are that your Debian server will not have a desktop environment installed. ![]() Virtual Network Computing (VNC) is a graphical desktop sharing system that allows you to use your keyboard and mouse to remotely control another computer. How To Connect to VirtualBox using Remote Desktop Connection ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |