I'm trying to install vnc server on my VPS to remote control it
to avoid security issues, i'm trying to do it as non privileged user but it's not working (everything works perfectly with root)
this is how i think things should be :
sudo apt-get update
sudo apt-get install xfce4
sudo apt-get install software-center
sudo apt-get install tightvncserver
vncserver -geometry 800x600 -depth 16
I get an error on line 7 (sudo apt-get install tightvncserver) of Permission denied
I thought it was because the user is limited so i went to etc/sudoers and added nonPrivilegedUser with all privileges, rebooted and still the same error ...
I wasted 2 days trying to deploy securely vncserver .. HEELPP ..