

It’s completely free to download and use. With xrdp installed on a Linux system, users can remotely access the Linux desktop using an RDP client as we shall demonstrate later in this article. Xrdp is an open-source equivalent of Microsoft’s Remote Desktop Protocol ( RDP). You can simply add command below into your rc.local nano /etc/rc.localĮxit 0 SSH Port forward to access VNC securuly ssh -i your-secure-key -p 2222 -L 5901:127.0.0.1:5901 Vncserver -kill :1 VNC Server autostart on system boot Tigervncserver -xstartup /usr/bin/xterm -alwaysshared -geometry 1680x1050 -depth 24 -localhost no

Vncserver -alwaysshared -geometry 1680x1050 -depth 24 -localhost no With our configuration complete, we are ready to start VNC server with the following command: # Start VNC server listen on localhost port 5901 as :1 In order for clients to connect, the VNC server must obviously be running and listening for incoming connection attempts. With those changes made, edit the permissions of the file to make it executable: chmod +x ~/.vnc/xstartup # xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & # Insert the following lines and save your changes Atom, Sublime) to create the following file: # Edit the file Use nano or the text editor of your preference (ex. Next, let’s configure VNC to start the XFCE desktop environment when a client connects. Create a password with this command # for root user under /root/ Install tightvnc server apt install tightvncserverĪfter the packages are done installing, we need to configure a username and password that will be used to connect to the VNC server by a client. # If there are some xxx.desktop, rename them apt install slimĪpt install xfce4 xfce4-goodies gnome-icon-theme It’s designed to be responsive, lightweight and user-friendly. The Xfce desktop environment can be used by itself. Ubuntu-Mate desktop # InstallĪpt remove -y ubuntu-mate-desktop mate-* ubuntu-mate-* plymouth-theme-ubuntu-mate-* lightdmĪpt autoremove -y Xfce desktop (debian preferred) Next, press the Space key to select it then press the Tab key to select OK then hit Enter to install the Ubuntu desktop. Use the arrow key to scroll down the list and find Ubuntu desktop.
