Hi Forum,

Im a new linux user but have been an IT tech for 15 years now. Im pretty good with Windows but Linux is a whole new world.

Could I get some assistance with this please? Im totally stuck. I have been following guides etc and following the guides exactly. It seems that there is no single guide that gives 100% of the information so I have used bits and pieces from mulitple sources. Here is what I have done:

Kali GNU 2019.4
1. Login as root user
2. apt-get install update
3. apt-get upgrade
4. apt-get install xfce4 xfce4-goodies gnome-icon-theme tightvncserver
5. apt-get install tightvncserver
6. adduser vnc
7. apt-get install sudo
8. gpasswd -a vnc sudo
9. su - vnc
10. chmod 755 /home/vnc/.vnc/xstartup
11. chown vnc /home/vnc/.vnc/xstartup
12. chmod 755 /root/.Xauthority
13. chown vnc /root/.Xauthority
14. vncserver
15. nano .vnc/xstartup (add gnome-session & to the bottom of the file)
16. vncserver -kill :1
17. vncserver :1 -geometry 1280x720 -depth 24 -dpi 96 (same as desktop resolution but not sure about depth and dpi)

When starting the VNC server as the VNC user I get this:
Timeout in locking authority file /root/.Xauthority

When attempting to connect with the client I get "Unable to contact setting server could not connect: permission denied"

So I tried running vncserver as the root user. It doesn't error when starting but I just get a grey screen with a black X as the cursor.

Any suggestions on what I am missing please? Should tightvnc run OK as root? I read somewhere else that it won't run as the root user for security reasons.