To anyone who doesn't know about what is VNC Software - it is a remote control that let you controls your vps and with gui to easily navigate linux.
FIRST GUIDE IS FOR YOUR VPS:
first get vnc4server and install in your os:
apt-get install vnc4server
next get GNOME and install this may take a while so wait
apt-get install gnome-desktop-environment
next is if you dont have another user aside root yet do the following else SKIP!:
adduser "youruser"
passwd "yourpass"
next if you already have a user which you will be using to start vnc server, switch to your user:
su - "youruser"
then type:
vncpasswd
it will then let you type a new vnc password like this and dont forget your password we will use it to connect your vnc client:
Password: "yourvncpass"
Verify: "yourvncpass"
next is in order for the ".vnc/xstartup" file to appear you will run vnc for the first time:
vncserver :1
<-- NOTE: The :1 here is the id you put next to your ip, so for example yourserverip:1 / yourdomain.com:1
next is you stop your vnc to do this:
vncserver -kill :1<-- NOTE: The :1 is the id that your vnc started, so in order for you to stop you must put the right id
that was running
next is you change ".vnc/xstartup" file to do this:
vi .vnc/xstartup
you can also locate this file in /home/USERXXX/.vnc using FTP..
the code above will lead you to ".vnc/xstartup" file and edit it, you will add below:
# exec /etc/X11/xinit/xinitrc
exec gnome-session &
To Edit: Press "A" so that you can type in the file
To Exit: Press "Esc" and type ":wq" to go back and save.
after all of that run again your vnc using this:
vncserver :1 -geometry 1024x768 -depth 24
TADA!! and your VNC Server is now running!!
NEXT GUIDE IS FOR YOUR PC/MACHINE THAT YOU WANT TO CONNECT TO YOUR VPS:
Download: http://realvnc.com/p...1/download.html from here or Search in: http://www.google.com
Run your VNC it should look like this:
OR
Next is you enter your vnc password in STEP 5 of GUIDE for VPS:
Lastly The GUI inside!!