Ubuntu VNC Server

preview_player
Показать описание
Want to control your Mac from a Windows PC? Or Windows from a Mac? Or Ubuntu from Windows? Or Ubuntu from Windows? This is how. (Part 2).

Menu:
Overview: 0:00
VNC Installation: 1:19
Mac to Ubuntu Testing: 4:19
Windows to Ubuntu VNC: 5:01

================
Commands:
================
sudo apt update
sudo apt install lightdm
sudo reboot
sudo apt install x11vnc

!Copy and paste these commands - change the password
[Unit]
Description=x11vnc service

[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -forever -display :0 -auth guess -passwd password
ExecStop=/usr/bin/killall x11vnc
Restart=on-failure

[Install]

!Save file and run these commands:

systemctl daemon-reload

================
Great website:
================

================
Connect with me:
================

================
Support me:
================
Or, buy my CCNA course and support me:

======================
Special Offers:
======================
Cisco Press: Up to 50% discount
Save every day on Cisco Press learning products! Use discount code BOMBAL during checkout to save 35% on print books (plus free shipping in the U.S.), 45% on eBooks, and 50% on video courses and simulator software. Offer expires December 31, 2020. Shop now.

ITPro.TV:
30% discount off all plans Code: DAVIDBOMBAL

Boson software: 15% discount
Code: DBAF15P

vnc
remote desktop
ubuntu
ubuntu 20.04
ubuntu vnc
vnc ubuntu
windows vnc
macos screen sharing
windows
macos
apple mac
linux
ubuntu

Please note that links listed may be affiliate links and provide me with a small percentage/kickback should you use them to purchase any of the items listed or recommended. Thank you for supporting me and this channel!

#vnc #ubuntu #linux
Рекомендации по теме
Комментарии
Автор

This is one of the best "how to" instructions on VNC / remote desktops. I cannot believe how many other videos there are, that show the VNC "client" install, then show connection, WITHOUT mentioning that the target / server machine needs to be configured!!!! Thanks so much!

veredictum
Автор

Thank you for the no frills instruction. Short intro, good explanation during the video, notes in description.
Really, thanks.

Helleynea
Автор

What an insane

I had trouble installing VNC Server on Ubuntu Desktop.
Many guides that I googled didn't work (Tight VNC, Tiger VNC and so on…)
However, I finally made it with your way.


hyeonilcho
Автор

This did it! Was stuck for days on getting realvnc and tightvnc to work with my Mac M1, but X11vnc as a service did the trick! Very simple and responsive, thanks for the tutorial!

parthagarwal
Автор

"And notice I'm controlling the Ubuntu computer from my WIndows laptop. I'm actually jumping from one computer to another; I'm controlling the Windows laptop from my Mac using VNC and then I'm using VNC on the Windows laptop to control the Ubuntu virtual machine (back on the Mac)."

This is textbook "Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should."
Loved it!

CarlosBronze
Автор

Great stuff! I hadn't played with Linux, in earnest, for a few years, but I needed to throw up a server and then screen record a demo, on my Windows PC, in short order. Thanks to your vid I was able to get the VNC server up and running in a few minutes, take it over, and record everything. Much obliged! SUBSCRIBED.

EbaleyTheRogue
Автор

This has got to be one of the best videos ever. Why? No dramatic BS as most users do. No unwanted boasting of your own technical knowledge. To the point, precise, clear commands and description. Absolutely loved it. I hope people knew how to make tech videos like you did. Hats off!!! Great job buddy!!!

mridulranjan
Автор

i'd like to see OPENVPN server and client tutorial.
Keep up the good work

Zenobia
Автор

This worked like a charm. I struggle trying to get VNC server service going for hours searching google and trying different guides. Thank you sir!

wizkidd
Автор

Thank you so much David. Chaging my life here

peterdijkman
Автор

What I love about linux is that everything is so simple !
Such a trivial operation takes just a dozen of text commands, editing a file, 2 reboots and bam, you`re done.

godu
Автор

Superbly explained.

Followed your steps and now I can connect successfully to my Ubuntu 23.04 PC from Windows 11 PC

yadavramahemmady
Автор

Everything was very clean and well explained, congratulation, great job.

Thank you very much David !

denizsevinc
Автор

Short and sweet, as always! Tks for you work😊

mikhailfrantsyzof
Автор

Hi David, I can't get this make work. My Linux is a Zorin OS 16, (I guess based on latest Ubuntu).
Error I receive:
Active: failed (Result: exit-code) since Sun 2021-12-12 09:57:15 CET; 3min 7s ago

Process: 2779 ExecStart=/usr/bin/x11vnc -forever -display :0 -auth uVNCUser -passwd uVNCUser (code=exited, status=1/FAILURE)
Any ideas? Thank you in advance!

wolframdanielh.
Автор

Warning: I was following this tutorial and when I started the lightdm service and tried to login to ubuntu afterwards, it wasn't letting me. You can resolve this by opening a terminal on the login screen (ctrl - alt - F3) and running the following commands:
sudo service lightdm stop
sudo service gdm start

MarkFobert
Автор

you literally saved my graduations project thnks sir !!

yasserboudahdir
Автор

Thank you @David for this tutorial. It worked for me. I have been looking for a VNC solution on Ubuntu for a while and this one is the first complete working solution that I found. Ideally, I was looking for a solution where the VNC session is not necessarily a mirror of the Ubuntu console (head), something where I can have multiple VNC (headless) sessions at :1, :2 etc. If you have any suggestions on that, that will be great too. Thank you again!

arunsaha
Автор

Thank you David for the detailed tutorial. Worked like a charm!

aaronboyd
Автор

Thank you for this. i went from not being able to VNC into my ubuntu PC to not being able to VNC into my ubuntu PC and not being able to SSH into my ubuntu PC forcing me to reinstall. So yes thank you so much for that

chandlerbing