==Install and configure TightVNC and xfce desktop==
===Installation: ===
apt install xfce4 xfce4-goodies tightvncserver
===Configure VNC server=== Created a configuration file for VNC startup:
nano ~/.vnc/xstartup
startxfce4 &
Grant *The first command in the file, xrdb $HOME/.Xresources, tells VNC's GUI framework to read the server user's .Xresources file. .Xresources is where a user can make changes to certain settings of the graphical desktop, like terminal colors, cursor themes, and font rendering.*The second command simply tells the server to launch XFCE, which is where you will find all of the graphical software that you need to comfortably manage your server. Granted executable privilege:
sudo chmod +x ~/.vnc/xstartup
Start vnc server===Create a VNC service file===First, opened a new service file in /etc/init.d with nano: sudo nano /etc/init.d/vncserver The first block of data will be where we declare some common settings that VNC will be referring to a lot, like our username and the display resolution. #!/bin/bash PATH="$PATH:/usr/bin/" export USER="user" DISPLAY="1" DEPTH="16" GEOMETRY="1024x768" OPTIONS="-depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY} -localhost" . /lib/lsb/init-functions
==User management==