easily install vnc

easily install vnc

Want to easily install VNC within Ubuntu so you can manage your VPS from your computer quickly? If so, here is a quick tutorial on how to easily install VNC within Ubuntu Linux. Type the following to get started:

First, install apt-get with the following: “sudo apt-get update -y”
Then install the latest version of Ubuntu Desktop “sudo apt-get install ubuntu-desktop -y”
VNC for your server: “sudo apt-get install vnc4server -y”
And finally the graphical interface: “sudo apt-get install gnome-panel -y”

Easily Install VNC Within Ubuntu Desktop

Once these commands have finished you should have Ubuntu Desktop successfully installed. Make sure each command has enough time to finish processing so that there is no overlap in the installation as this could cause corruption in the system.

Now you will need to type: “vncserver”

Now enter your 8 digit password twice. Once you have done this you will need to kill the process. To kill the VNC server process type in the following:

vncserver -kill :1
Now edit the VNC server:

vi .vnc/xstartup

Add the following:

# Uncomment the following two lines

# exec /etc/X11/xinit/xinitrc
gnome-session –session=gnome-classic &

press ESC then type “:WQ” to save the file

and then start the vncserver

Type: “:- vncserver”

Now you’re done! Now you will connect the VPS with the tigervnc viewer. You can download the viewer here: https://github.com/TigerVNC/tigervnc/

Now you will need to enter the IP address of your VPS server. Now add the port: 5901

And that’s it, you have successfully installed VNC viewer within Ubuntu! Now you can easily manage your Ubuntu desktop from Windows. You now have a secure VNC server and viewer up and running on your Ubuntu VPS server. You can manage your files and install software. You’re done, go have some fun within your new VPS environment.

To view our other tutorials you can visit https://hack.training/category/tutorials/