How to Install and Configure VNC on Ubuntu 22.04

Subscribers:
7,600
Published on ● Video Link: https://www.youtube.com/watch?v=Vf1TBfVJI88



Category:
Tutorial
Duration: 6:29
7,922 views
43


⭐️ Full Instructions: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-22-04 (for Ubuntu on Oracle Cloud use the virtual firewall or iptables instead of enabling ufw: https://docs.oracle.com/en-us/iaas/Content/knownissues.htm#ufw)
📺 How to Create the Free Oracle Cloud VPS: https://youtu.be/4642CoP0q7Y (Select VM.Standard.E2.1.Micro as the Shape)
🔗 Oracle Cloud Free Tier VPS: https://www.oracle.com/cloud/free/

Software:
🔗 PuTTY: https://www.chiark.greenend.org.uk/~sgtatham/putty/
🔗 RealVNC VNC Viewer: https://www.realvnc.com/en/connect/download/viewer/

How to check if running as root:
🔗 https://askubuntu.com/questions/700258/

✒️COMMANDS:
(login as non-root user)
sudo apt update
sudo apt upgrade

(may need to reboot)

sudo apt install xfce4 xfce4-goodies
sudo apt install tightvncserver
vncserver
(will ask to set pass 6-8 chars, you'll need this to connect later with VNC Viewer)

vncserver -kill :1
mv ~/.vnc/xstartup ~/.vnc/xstartup.bak
nano ~/.vnc/xstartup

(add text to file:)
#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &

(to save and exit:)
CTRL + X, Y, then ENTER

chmod +x ~/.vnc/xstartup

vncserver -localhost

sudo apt-get install fonts-liberation
cd Downloads
curl -o google-chrome-stable_current_amd64.deb "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
sudo dpkg -i google-chrome-stable_current_amd64.deb

(PuTTY SSH Tunnel Details:)
Source Port: 5900
Destination: localhost:5901

(If you add a firewall rule to only allow SSH connections from your IP, don't add it to OS firewall or you'll lose access to the VPS when your IP changes.)

👍 Thanks for Watching!
💬 Let me know if you have any problems or spot an error in the instructions.

🎵 Music:
Marxist Arrow by Twin Musicom is licensed under a Creative Commons Attribution 4.0 licence. https://creativecommons.org/licenses/by/4.0/

Artist: http://www.twinmusicom.org/

#vnc




Other Videos By EvolvingSoonTV


2022-09-16Jordan Peterson - The Real Slim Shady (Eminem A.I. Cover)
2022-09-10Mr Burns Visits Yale feat. Dr Peterson | The Simpsons #shorts
2022-09-10Jordan Peterson in The Simpsons (Guest Star as Mr Burns)
2022-08-23Jordan Peterson's BRUTAL Response to Dr Mario
2022-08-20Jordan Peterson Cleans Your Room (with nukes) | C&C Red Alert
2022-08-20Jordan Peterson Pushed Too Far By Woke Moralists | C&C Red Alert
2022-08-18Jordan Peterson Playing WoW in 2006 (Gnome Rogue Main)
2022-08-11Jordan Peterson interrupts Soviet General (again) | C&C Red Alert 2
2022-08-07C&C Red Alert: Jordan Peterson's Revenge | The Lobster King Strikes Back
2022-08-03Jordan Peterson Incoming Transmission (C&C Red Alert 2)
2022-08-01How to Install and Configure VNC on Ubuntu 22.04
2022-03-28👽 C H I L L H O P 👽 lofi bart vs space mutants 👽
2022-01-25♪ Rainy day (Prod. by Lukrembo) // lofi chill music - royalty free
2022-01-23♪ Rose (Prod. by Lukrembo) // lofi chill music - royalty free
2022-01-15The Matrix, Simulation, Freedom and A.I. | Top 17 Quotes
2022-01-11Metaphysics, Transcendental Philosophy & Metempsychosis - 17 Manly P. Hall Quotes
2021-11-13[Updated Nov 2021] Fix Steam Error - You do not have enough disk space available to run this game
2021-03-14Create WordPress Site in 5 Minutes! [Beginner WordPress Website Tutorial 2021]
2021-03-06WordPress Static Site Generator Guide [Convert WordPress to Static HTML]
2021-01-30Fix Steam Error - You do not have enough disk space available to run the game
2021-01-28VirtualBox - Cannot enable nested VT-x/AMD-V without nested-paging and unrestricted guest execution!



Tags:
ubuntu
vnc
vps
oracle
realvnc
ssh
putty
ubuntu chrome
ssh tunnel
oracle cloud
free vps
vnc viewer
ubuntu server
tight vnc
xfce
xfce4