Menu: Overview: 0:00 VNC Installation: 1:19 Mac to Ubuntu Testing: 4:19 Windows to Ubuntu VNC: 5:01 Previous Video: kzbin.info/www/bejne/o3rHd2qBaLOgotk Need help? Join my Discord: discord.com/invite/usKSyzb ================ Commands: ================ sudo apt update sudo apt install lightdm sudo reboot sudo apt install x11vnc sudo nano /lib/systemd/system/x11vnc.service !Copy and paste these commands - change the password [Unit] Description=x11vnc service After=display-manager.service network.target syslog.target [Service] Type=simple ExecStart=/usr/bin/x11vnc -forever -display :0 -auth guess -passwd password ExecStop=/usr/bin/killall x11vnc Restart=on-failure [Install] WantedBy=multi-user.target !Save file and run these commands: systemctl daemon-reload systemctl enable x11vnc.service systemctl start x11vnc.service systemctl status x11vnc.service ================ Great website: ================ Website: bit.ly/2IOJUd8 ================ Connect with me: ================ Discord: discord.davidbombal.com Twitter: twitter.com/davidbombal Instagram: instagram.com/davidbombal LinkedIn: www.linkedin.com/in/davidbombal Facebook: facebook.com/davidbombal.co TikTok: tiktok.com/@davidbombal KZbin: kzbin.info ================ Support me: ================ Join thisisIT: bit.ly/thisisitccna Or, buy my CCNA course and support me: DavidBombal.com: CCNA ($10): bit.ly/yt999ccna Udemy CCNA Course: bit.ly/ccnafor10dollars GNS3 CCNA Course: CCNA ($10): bit.ly/gns3ccna10 ====================== 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. Link: bit.ly/ciscopress50 ITPro.TV: itpro.tv/davidbombal 30% discount off all plans Code: DAVIDBOMBAL Boson software: 15% discount Link: bit.ly/boson15 Code: DBAF15P 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!
@veredictum4503 Жыл бұрын
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!
@Helleynea4 жыл бұрын
Thank you for the no frills instruction. Short intro,good explanation during the video,notes in description. Really, thanks.
@davidbombal4 жыл бұрын
Thank you!
@hyeonilcho62852 жыл бұрын
What an insane tutorial!!!!! 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. Thanks!!!!!!!!
@ocnah6 ай бұрын
Same for me! I spent all sunday afternoon on trying to get this working, for me it was probably x11vnc as a service and the lightdm part that did the trick. 5 star tutorial!
@parthagarwal3 жыл бұрын
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!
@CarlosBronze3 жыл бұрын
"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!
@TasManiatis-u7e3 ай бұрын
Awesome video simple and easy to follow and it just worked. Also the fact that you also included the steps with all commands made it all that much easier. Love your work David.
@EbaleyTheRogue3 жыл бұрын
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.
@davidbombal3 жыл бұрын
Glad it helped Dan!
@matthewcb19702 ай бұрын
Thank you so much for this!
@wizkidd062 жыл бұрын
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!
@frantsyzof5 ай бұрын
Short and sweet, as always! Tks for you work😊
@KevinPawlak-g8f2 ай бұрын
Thank You David. These commands also work with Linux. I had a hard time finding the correct process. I now have it working with Guacamole. Thank you for adding the scripts in the notes, always makes it easier.
@sthill122 жыл бұрын
FINALLY got it working, thanks to your instructions! Thank you so much!
@aaronboyd24648 ай бұрын
Thank you David for the detailed tutorial. Worked like a charm!
@peterdijkman25564 жыл бұрын
Thank you so much David. Chaging my life here
@davidbombal4 жыл бұрын
You're welcome Peter
@yadavramahemmady1059 Жыл бұрын
Superbly explained. Followed your steps and now I can connect successfully to my Ubuntu 23.04 PC from Windows 11 PC
@Zenobia9924 жыл бұрын
i'd like to see OPENVPN server and client tutorial. Keep up the good work
@davidbombal4 жыл бұрын
Great suggestion! Thank you.
@denizsevinc93344 жыл бұрын
Everything was very clean and well explained, congratulation, great job. Thank you very much David !
@bido20503 жыл бұрын
sudo apt update
@bido20503 жыл бұрын
$ sudo apt install anydesk
@alexisel.69742 жыл бұрын
respect super video )
@charles50774 жыл бұрын
just what I was looking for
@davidbombal4 жыл бұрын
Glad to hear that!
@chandlerbing75709 ай бұрын
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
@mridulranjan10692 жыл бұрын
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!!!
@kayosud3 жыл бұрын
You are amazing David!!!!!! Thanks a lot for the step by step tutorial!
@ibtissam41654 жыл бұрын
As always ... so clear and so easy to understand ...The best 👏👏👏👏
@davidbombal4 жыл бұрын
Thank you Ibti
@arunsaha890 Жыл бұрын
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!
@HitokiriKinchou2 жыл бұрын
out of like 15ish tutorials I found on youtube, this is the only one that worked. Have a like and thanks.
@kosak462 жыл бұрын
Thanks a lot! Earlier I have tried some manuals, I did all that was written thereb, but it was still not working. Now, I am enjoing of that what I've learnt from you😊
@MarkFobert3 жыл бұрын
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
@That_G2 жыл бұрын
yes i ran into this problem too. don't know why he didn't cover this black screen
@Pizzarous11 ай бұрын
thank you!
@SriniVaith3 ай бұрын
Was able to enable vnc connection at last. Thanks. You also may have to disable firewall or create a rule to allow the vnc port
@mhnav3 жыл бұрын
Works perfectly, thank you so much David, you're the best!
@GeorgeWMays3 жыл бұрын
Excellent video. Very useful. You saved me a lot of time. It is appreciated. Thank you very much.
@YQLF5 ай бұрын
Easy and clear .. Respect ..
@davidbombal5 ай бұрын
Thanks 👍
@alexstarciuc88324 жыл бұрын
Very helpful video ,regards from Republic of Moldova )
@yasserboudahdir68669 ай бұрын
you literally saved my graduations project thnks sir !!
@AjvarRelishАй бұрын
Loved this! Worked immediately! Do you have a guide for how to use vnc in "headless"? Im running an old mac mini with ubuntu as a home server, I currently have it hooked up to my tv, but i want to move it to a bookcase. I've googled a bit but haven't found anything that works.
@engrkn6 ай бұрын
Thanks David...nice tutorial
@Mrmagnodsb4 жыл бұрын
Great video David. You're the best. Waiting for more videos about CCNP Encore
@davidbombal4 жыл бұрын
Thank you Magno!
@djawedbenslimane5364 жыл бұрын
Thanks for sharing your knowledge
@gunchag6 ай бұрын
You saved me a lot of time! Thank you!
@herreradimas3 жыл бұрын
Great tutorial, remember x11vnc is a mirror of host and this make more bandwidth over Ethernet wire or wifi so I will need your help David for use TigerVnc may be a few forums this more efficient . Thanks for your video.
@enzrmedia792 жыл бұрын
very very good tutorial... thank you very much.. from indonesia
@godu11113 жыл бұрын
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.
@godfather73393 жыл бұрын
It's just one time, also if you are complaining about this, pls leave tech, lazy dumb people like you will ruin everything.
@DM-rc4yu Жыл бұрын
lmao so true. I'm using Ubuntu for the last month or so and this is nowhere near ready for significant adoption on desktop. Not much has changed in a decade really.
@schaskosrooney3 жыл бұрын
Nice, nice, nice! Thanks a lot! Best Regards from Brazil.
@NanookFieryArcticSkyy Жыл бұрын
Thank you I spent a few hours trying to get this working. The key for me was replacing gnome with the lightdm.
@hiavi962 жыл бұрын
David - great video - thank you. While this works great when a physical monitor is connected to the linux device, it doesn't seem to be working when is no screen connected to the linux device. Any suggestions?
@wolframdanielh.41323 жыл бұрын
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!
@alparslanmetehan9678 Жыл бұрын
Same problem
@bmerfan3 жыл бұрын
Superb video, thank you.
@Hasse-swe8 ай бұрын
Thanks for the guide. A question. Can you add an followup video on how to add encryption.
@Hasse-swe8 ай бұрын
I used this goude and disconnected tha monitor to the computer and now i just get a black screen. Any tips that could help?
@achhatkumargupta29544 жыл бұрын
Yes sir you great love you 😍😍🔥🔥🔥🔥 love from India
@davidbombal4 жыл бұрын
Thank you Achhat!
@Cinderz882 жыл бұрын
Awesome, thank you. Just scared the crap out my users on a display board using Ubuntu by taking remote command :)
@jugglelulz Жыл бұрын
Exactly what I needed!
@kevinwong573 жыл бұрын
Wonderful great works!
@bhargavdasgupta65804 жыл бұрын
Another great tutorial !
@davidbombal4 жыл бұрын
Thank you Bhargav
@ahmadqawariq72123 жыл бұрын
Thank you that was very helpful.
@erenmeric48914 жыл бұрын
Thank you again for an educational video
@davidbombal4 жыл бұрын
You're welcome Eren!
@tuxsoftwares4 жыл бұрын
Your one of the best teachers ever ❤ I also understand u dad ❤
@davidbombal4 жыл бұрын
Thank you Tariq
@AndreasBodin2 жыл бұрын
Thank you for this tutorial David! Is the procedure the same for Kali Linux?
@timhiggins49393 жыл бұрын
Thanks so much I had been googling for what seems like years, this video did the trick. THANK YOU......
@qweargs123 Жыл бұрын
Thank you for this tutorial! I got it working when a display is connected to my Linux machine, but not when it's running without a display. My vnc viewer just stays black then. Any idea how to solve this? I'm running ubuntu 22.04lts on a Fujitsu thinclient, where setting up a display is very tricky and not my preferred way. Still I don't wanna switch to ubuntu server as desktop is still way easier for me to handle Hope you can help me! :)
@emirhangirenitlioglu345723 күн бұрын
did you solved that ? @qweargs123
@emirhangirenitlioglu345723 күн бұрын
did you solved that ? @qweargs123
@nitinchandna30162 жыл бұрын
Many thanks for this video. It really helped me in a business project. I have a quick question, what if I don't want username/password prompt. What changes I should do to get a direct login?
@CPurdiePlays4 жыл бұрын
Nice video! I'm curious what the equivalent command for the Restart=on-failure would be on Fedora? Having several machines were the x11vnc server fails on work machines. I can manually get it going again but it would be better to have it Restart on my own.
@darylmorse Жыл бұрын
Great video. Thanks for sharing. I tried to get the tightvnc vnc server working on ubuntu 22.10 with gnome, but was not successful. Have you tried it with gnome?
@myrwon2 жыл бұрын
As many have mentioned...Great Video and to the point....plus still works on 22.04 & 22.10 but with an annoying issue (or it could be just me) - something so simple. copy & paste stops working.
@РоманИванов-ъ8з6 ай бұрын
Nice! Thank YOU!
@3d-illusions2 ай бұрын
will this work if there's no monitor connected to the ubuntu? Also, will the ubuntu use the gpu? I'm on 24.04 using the built in rdp, and the only way I can get the nvidia gpu to be used on the host is if I use remote sharing instead of remote login, but it will only work if I have a monitor connected.
@macster14572 жыл бұрын
Do you have a video on Apache Guacamole remote desktop? - It uses the browser to connect to devices. Seems pretty cool.
@SinandLerd2 жыл бұрын
I can't get the keyboard to work correctly. I have a german keyboard at both ends. I have tried every combination of -xkb/noxkb -modtweak/nomodtweak. At vanilla "Alt Gr" doesn't work. With -noxkb it starts working but "Shift" stops working for most keys.... I don't understand the Man-Page to debug this any further.
@niekschouten1863 жыл бұрын
Hi David, video works nicely. But when connecting from my windows pc I can't copy and paste to the ubuntu pc. Is there anything that I have to change for that?
@oludayod77574 жыл бұрын
Thanks for sharing. I appreciate you
@davidbombal4 жыл бұрын
You're welcome Oludayo
@fredzaphod98335 ай бұрын
Hey David, do you have any videos on SSH encryption for VNC? Options are bit scarce for some use cases, like VNC into linux pc from an iphone but it would be extremely useful to do if it were secure.
@russfreelancer11 ай бұрын
works great on ubuntu 23.04!! thanks a lot!
@bonafontciel2 жыл бұрын
thanks for condensing the video in the notes above
@viniciusuchoas83854 жыл бұрын
Great video (Inception)
@davidbombal4 жыл бұрын
Thank you! Agreed - how many levels can we go? :)
@captainobvious7898 Жыл бұрын
Spent hours trying to get TigerVNC running per multiple web sites. None worked. Did this in 5 minutes and boom! working! The only issue I have is remote Ubuntu system has dual monitors, and when I VNC from the Mac using screensharing app, I get both screens beside each other fit onto my one local screen. How to configure it to only show the primary screen or even possibly have both those screens show up appropriately on my local computer, since it has dual monitors also?
@seanseames3768 Жыл бұрын
I just wanna say I followed this and tried it on Ubuntu 22 and its works great. Only Issue I ran into was my screen was all red after changing the desktop environment, I had to add a the Standard Space -sRGB profile under settings->Color->(my monitor). Overall it works just great
@lechsiz16423 жыл бұрын
I have ssh on phone, and 2 PCs, but am still terrified of getting locked out - mainly by losing my key gen. Is VNC a good backup plan to get into my files to change them - in my scenario? Also, I hope to use micro terminal so I can cut and paste or drag and drop (not sure what is possible yet) and that may require VNC (GUI). This is for a Pi4 set up as a server for what I hope will be a small business website.
@grantckerr2 жыл бұрын
Hi David. This video was really helpful. I successfully setup the remote access to a Raspberry Pi (Ubuntu 22.04) from a Windows 10 computer on my network. I have a monitor connected to the RPi as well in case needed via HDMI. However if I unplug the monitor HDMI cable (either from the monitor or from the RPi), this doesn't work. The VNC link is recognised from the computer and I can login via VNC to show the RPi login screen. After logging in on the RPi, the connect closes and there is a VNC error "Oh no! Something has gone wrong. A problem has occurred and the system can't recover. Please log out and try again." Logging out and retrying makes no difference. Any ideas why the unplugged HDMI cable prevents the remote access?
@CooperateMind3 жыл бұрын
Thanks for the tutorial . Can this method being used to run an ubuntu machine headlessly? In other word does it start automatically during startup on linux side?
@umrana59464 жыл бұрын
You are a Legend )
@davidbombal4 жыл бұрын
Thank you Umran!
@nguyennhat364Ай бұрын
Hello, thank you for your video. I did successfully. I am curious that why with x11vnc on server, I do not need "ssh" to be as tunnel for tightvncviewer/tigervncviewer on client to login ?
@ShopperPlug3 жыл бұрын
1:50 - Is it not possible to use the built-in "GDM" display manager? Why two display managers is needed? Thanks, this worked perfectly for Ubuntu Mate on Raspberry Pi 3B+, I did not install "lightDM" since it is already the distro's default desktop display manager.
@trayjobe6995 Жыл бұрын
Im curious to as I like GDM better than lightdm
@ibrahim_dec053 жыл бұрын
such a nice one 👍
@jbraatenii3 жыл бұрын
Thank you very much!!!
@nagendrarao6313 жыл бұрын
for some reason it's not working for me
@taifunov3 жыл бұрын
Thank you, it's very useful! But anyway, it's good idea to show how to setup secure connection with ssh also ;)
@niveditha38254 жыл бұрын
@David Bombal can you suggest which course we can take to pursue MS in networking or security field so we can have hands on theory practice knowledge?
@catalinalb17224 жыл бұрын
Great Video! I hope this will work with the Jetson Nano since it dosen´t have the vnc preinstalled as the raspberry pi dose!
@hariscoralic858 Жыл бұрын
Sorry for dumb question but this is for all network or only LOCAL network ?
@mrcrackerist4 жыл бұрын
Only have Linux machines at home and some windows vm's, so normally I prefer X11 forwarding over VNC. But one thing I am wondering is there no other way to store the password then in clear text? and also great video :)
@thedangvu13742 жыл бұрын
Thank you very much. it done in my PC
@umairm85954 жыл бұрын
Thank you David is VNC more secure or RDP?
@Rudabaugh4 жыл бұрын
I'd love to know the answer too 👍
@davidbombal4 жыл бұрын
It all depends on which VNC you use and how your configure it: RealVNC / SSH tunnels / tightVNC etc. The way I am doing it here is not very secure, but is a nice simple way to do it for labs. See this: security.berkeley.edu/education-awareness/best-practices-how-tos/system-application-security/securing-remote-desktop-rdp
@ramonortega82002 жыл бұрын
Con esto pude resolver mi problema en ubuntu 22.04 MUCHAS GRACIAS!!!!!
@alparslanmetehan9678 Жыл бұрын
In addition to this, you need to install firewalld in the server then do this: sudo firewall-cmd --add-service vnc-server
@AdmMusicc7 ай бұрын
"SSH connection should be encrypted". Is there a way to be able to do this?
@Praveen_Kammar3 жыл бұрын
Awesome u saved me today
@rhodium45353 жыл бұрын
Would love see a quick tutorial on how to make it a secure connection for use outside the LAN:-)
@sadisticnepal95672 жыл бұрын
I love you sir...!!! I am interested in IT from non-IT background. Your guide is immemorial to me..!!! Love u sir..!!!
@workl64172 жыл бұрын
For those who want to enable keys autorepeat, add ... _ExecStart=/usr/bin/x11vnc -repeat_ ..., in the video at 2:50, may help.
@Fredruiz6223 жыл бұрын
Great video! How about Ubunto to Ubunto, its that posible?