Ubuntu VNC Server

Поделиться
HTML-код
  • Опубликовано: 30 июл 2024
  • 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).
    Previous Video: • Linux, Apple, Windows ...
    Need help? Join my Discord: / discord
    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
    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: / davidbombal
    Instagram: / davidbombal
    LinkedIn: / davidbombal
    Facebook: / davidbombal.co
    TikTok: / davidbombal
    RUclips: / davidbombal
    ================
    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
    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
  • НаукаНаука

Комментарии • 263

  • @veredictum4503
    @veredictum4503 Год назад +6

    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!

  • @Helleynea
    @Helleynea 3 года назад +19

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

  • @davidbombal
    @davidbombal  3 года назад +2

    Menu:
    Overview: 0:00
    VNC Installation: 1:19
    Mac to Ubuntu Testing: 4:19
    Windows to Ubuntu VNC: 5:01
    Previous Video: ruclips.net/video/mIdF7K3Nmlw/видео.html
    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
    RUclips: ruclips.net/user/davidbombal
    ================
    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!

  • @parthagarwal
    @parthagarwal 3 года назад +4

    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!

  • @EbaleyTheRogue
    @EbaleyTheRogue 2 года назад +5

    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.

  • @wizkidd06
    @wizkidd06 2 года назад

    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!

  • @mhnav
    @mhnav 3 года назад

    Works perfectly, thank you so much David, you're the best!

  • @hyeonilcho6285
    @hyeonilcho6285 2 года назад +3

    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!!!!!!!!

    • @ocnah
      @ocnah Месяц назад

      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!

  • @kayosud
    @kayosud 2 года назад

    You are amazing David!!!!!! Thanks a lot for the step by step tutorial!

  • @mikhailfrantsyzof4827
    @mikhailfrantsyzof4827 11 дней назад

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

  • @aaronboyd2464
    @aaronboyd2464 3 месяца назад

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

  • @denizsevinc9334
    @denizsevinc9334 3 года назад +1

    Everything was very clean and well explained, congratulation, great job.
    Thank you very much David !

    • @bido2050
      @bido2050 3 года назад

      sudo apt update

    • @bido2050
      @bido2050 3 года назад

      $ sudo apt install anydesk

  • @GeorgeWMays
    @GeorgeWMays 2 года назад +1

    Excellent video. Very useful. You saved me a lot of time. It is appreciated. Thank you very much.

  • @ibtissam4165
    @ibtissam4165 3 года назад

    As always ... so clear and so easy to understand ...The best 👏👏👏👏

  • @yadavramahemmady1059
    @yadavramahemmady1059 9 месяцев назад

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

  • @arunsaha890
    @arunsaha890 Год назад +1

    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!

  • @sthill12
    @sthill12 Год назад

    FINALLY got it working, thanks to your instructions! Thank you so much!

  • @Mrmagnodsb
    @Mrmagnodsb 3 года назад

    Great video David. You're the best.
    Waiting for more videos about CCNP Encore

  • @kosak46
    @kosak46 Год назад

    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😊

  • @peterdijkman2556
    @peterdijkman2556 3 года назад +5

    Thank you so much David. Chaging my life here

  • @mridulranjan1069
    @mridulranjan1069 2 года назад +13

    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!!!

  • @HitokiriKinchou
    @HitokiriKinchou Год назад

    out of like 15ish tutorials I found on youtube, this is the only one that worked. Have a like and thanks.

  • @alexstarciuc8832
    @alexstarciuc8832 3 года назад

    Very helpful video ,regards from Republic of Moldova )

  • @timhiggins4939
    @timhiggins4939 3 года назад

    Thanks so much I had been googling for what seems like years, this video did the trick. THANK YOU......

  • @herreradimas
    @herreradimas 3 года назад

    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.

  • @jugglelulz
    @jugglelulz 6 месяцев назад

    Exactly what I needed!

  • @schaskosrooney
    @schaskosrooney 3 года назад

    Nice, nice, nice! Thanks a lot! Best Regards from Brazil.

  • @bmerfan
    @bmerfan 2 года назад

    Superb video, thank you.

  • @ahmadqawariq7212
    @ahmadqawariq7212 3 года назад

    Thank you that was very helpful.

  • @engrkn
    @engrkn Месяц назад

    Thanks David...nice tutorial

  • @djawedbenslimane536
    @djawedbenslimane536 3 года назад +1

    Thanks for sharing your knowledge

  • @gunchag
    @gunchag Месяц назад

    You saved me a lot of time! Thank you!

  • @kevinwong57
    @kevinwong57 3 года назад

    Wonderful great works!

  • @chandlerbing7570
    @chandlerbing7570 4 месяца назад

    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

  • @mritunjaykumar8332
    @mritunjaykumar8332 Год назад

    Awesome explanation !

  • @mohammadhosseindarvish2746
    @mohammadhosseindarvish2746 Год назад

    that was very helpful thank you!!!

  • @erenmeric4891
    @erenmeric4891 3 года назад

    Thank you again for an educational video

  • @oludayod7757
    @oludayod7757 3 года назад

    Thanks for sharing. I appreciate you

  • @evotwouk
    @evotwouk Год назад

    When you are starting out with a new OS it is important that you get clear precise instruction that is easy to understand and has everything needed to succeed. Absolutely brilliant video, clear, easy to understand and works - Thank You I might make progress now towards portainer and docker

  • @randomChannelY
    @randomChannelY Год назад

    Really helpful! Thx!!

  • @charles5077
    @charles5077 3 года назад +4

    just what I was looking for

  • @Cyborg9799
    @Cyborg9799 10 месяцев назад

    Thank you I spent a few hours trying to get this working. The key for me was replacing gnome with the lightdm.

  • @bhargavdasgupta6580
    @bhargavdasgupta6580 3 года назад

    Another great tutorial !

  • @dinachak5057
    @dinachak5057 2 года назад

    Thanks. Really helped me

  • @alexisel.6974
    @alexisel.6974 Год назад +1

    respect super video )

  • @Cinderz88
    @Cinderz88 2 года назад

    Awesome, thank you. Just scared the crap out my users on a display board using Ubuntu by taking remote command :)

  • @enzrmedia79
    @enzrmedia79 2 года назад

    very very good tutorial...
    thank you very much..
    from indonesia

  • @taifunov
    @taifunov 2 года назад

    Thank you, it's very useful!
    But anyway, it's good idea to show how to setup secure connection with ssh also ;)

  • @user-yl1cu3ig5q
    @user-yl1cu3ig5q Месяц назад

    Nice! Thank YOU!

  • @yasserboudahdir6866
    @yasserboudahdir6866 3 месяца назад

    you literally saved my graduations project thnks sir !!

  • @catalinalb1722
    @catalinalb1722 3 года назад

    Great Video! I hope this will work with the Jetson Nano since it dosen´t have the vnc preinstalled as the raspberry pi dose!

  • @myrwon
    @myrwon Год назад

    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.

  • @CarlosBronze
    @CarlosBronze 3 года назад +4

    "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!

  • @Zenobia992
    @Zenobia992 3 года назад +9

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

    • @davidbombal
      @davidbombal  3 года назад +1

      Great suggestion! Thank you.

  • @williamdsp9
    @williamdsp9 Год назад

    Thank you my friend!

  • @thedangvu1374
    @thedangvu1374 2 года назад

    Thank you very much. it done in my PC

  • @teresitodeleon8299
    @teresitodeleon8299 Год назад

    Thank you David!

  • @russfreelancer
    @russfreelancer 6 месяцев назад

    works great on ubuntu 23.04!! thanks a lot!

  • @achhatkumargupta2954
    @achhatkumargupta2954 3 года назад

    Yes sir you great love you 😍😍🔥🔥🔥🔥 love from India

  • @jbraatenii
    @jbraatenii 3 года назад

    Thank you very much!!!

  • @abdullah5ahmad
    @abdullah5ahmad 2 года назад

    no extra talk and directly into the point, plus commands in description. many thanks friend. I wish all RUclips tutorials same as this. 😁

    • @davidbombal
      @davidbombal  2 года назад +1

      Glad the video helped you :)

  • @viniciusuchoas8385
    @viniciusuchoas8385 3 года назад

    Great video (Inception)

    • @davidbombal
      @davidbombal  3 года назад +1

      Thank you! Agreed - how many levels can we go? :)

  • @ramonortega8200
    @ramonortega8200 Год назад

    Con esto pude resolver mi problema en ubuntu 22.04 MUCHAS GRACIAS!!!!!

  • @seanseames3768
    @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

  • @ibrahim_dec05
    @ibrahim_dec05 2 года назад

    such a nice one 👍

  • @bryansproles2879
    @bryansproles2879 2 года назад

    I've always had to fight with VNC to get it to allow me to connect without a user already logged in. Saving these instructions to my NAS, for the next time I have to install Ubuntu.
    Awesome tutorial, very helpful!

  • @umrana5946
    @umrana5946 3 года назад

    You are a Legend )

  • @samiramir91samor78
    @samiramir91samor78 Год назад

    Thank you so much

  • @sadisticnepal9567
    @sadisticnepal9567 2 года назад

    I love you sir...!!! I am interested in IT from non-IT background. Your guide is immemorial to me..!!! Love u sir..!!!

  • @mariusavram7823
    @mariusavram7823 3 года назад +1

    Thank you!

  • @Praveen_Kammar
    @Praveen_Kammar 3 года назад

    Awesome u saved me today

  • @godu1111
    @godu1111 2 года назад +4

    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.

    • @godfather7339
      @godfather7339 2 года назад

      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
      @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.

  • @SinandLerd
    @SinandLerd Год назад +1

    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.

  • @deletedaccount5250
    @deletedaccount5250 3 года назад

    Thank you David

  • @datedatekyal3650
    @datedatekyal3650 3 года назад

    Waiting for many Linux server tutorials

  • @bonafontciel
    @bonafontciel Год назад

    thanks for condensing the video in the notes above

  • @renich6666
    @renich6666 Год назад

    very useful

  • @thomasneemann5618
    @thomasneemann5618 2 месяца назад

    thank you very much, it runs also on debian 12

  • @CPurdiePlays
    @CPurdiePlays 3 года назад

    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.

  • @SilentSolution
    @SilentSolution 3 года назад

    that's great

  • @yaserbasaad7984
    @yaserbasaad7984 3 года назад

    Thank you very much

  • @snn4864
    @snn4864 3 года назад

    Thanks sir.

  • @qweargs123
    @qweargs123 Год назад +1

    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! :)

  • @niveditha3825
    @niveditha3825 3 года назад

    @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?

  • @jamesholley
    @jamesholley 2 года назад

    Hello David. I have it working fine on my Ubuntu 20.04 server with Lightdm but cannot adjust the screen size regardless of what I set the display dimensions to. Any clues?

  • @okaudi
    @okaudi 3 года назад

    Hello David, I ran into an error, it showed as "The connection closed unexpectedly.", I installed x11vnc on Debian 10, I think it's not the configuration error, because every time I type "x11vnc" through the TERMINAL then having the remote login, it is worked. However, after I finish and exit remote login. If I have the remote login again, it will fail and show the error. Can you help me to fix this issue?

  • @rhodium4535
    @rhodium4535 3 года назад +3

    Would love see a quick tutorial on how to make it a secure connection for use outside the LAN:-)

  • @kebeeyong9360
    @kebeeyong9360 3 года назад

    Thanks David

  • @hiavi96
    @hiavi96 2 года назад +1

    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?

  • @mr-retronym
    @mr-retronym 2 года назад

    I tried on my ubuntu 20.04 armhf raspberry pi 4 it is working fine but every time i start my pi without hdmi cable it won't start vnc server although tis

  • @flaviuflueras4439
    @flaviuflueras4439 3 года назад

    How do i make the VNC server not runing on startup but only before I want it to start by a command?

  • @rohanari
    @rohanari 3 года назад

    grate. it work on ubuntu on Raspberry pi4 .

  • @giggsl5011
    @giggsl5011 2 года назад

    Thanks for the vid, I am running ubuntu 20.04LTS, VNC, lightdm, virtual display with intel graphics, in my 20-intel.conf when I set DRI to false, when trying to log in to VNC I see the ubuntu log in window, but after logging in it disconnects , ubuntu is set to auto log in, when I remove the line DRI false from 20-intel.conf then it works fine, I set DRI false to remove the vertical green lines that comes with ubuntu 20 using intel graphics, any ideas?

  • @ozgedurgut
    @ozgedurgut 4 месяца назад

    Can I transfer the screen to the local port of the computer using vnc server? So there won't be any internet connection. Like I will transfer this image to USB or any hardware port.

  • @leodwivedi
    @leodwivedi 2 года назад

    Hi David, I do every method you said on the video, and it works well, but their issue is if I remove the monitor wire and it displays the entire black, nothing shows.
    As I put back on the monitor cable, it vnc start the show again as if that issue never happened.
    Please help to fix that issue. Thanks in advance.

  • @lechsiz1642
    @lechsiz1642 2 года назад

    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.

  • @ion_gredinar
    @ion_gredinar 3 года назад

    Can't understand why I have to install lightdm - I'm using 3-rd party software (choosed it when I was installing Ubuntu) and now I have NVIDIA drivers installed. I'm afraid to get into troubles after installing lightdm while using another display manager - I guess so.

  • @captainobvious7898
    @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?

  • @wolframdanielh.4132
    @wolframdanielh.4132 2 года назад +1

    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!

  • @nitinchandna3016
    @nitinchandna3016 Год назад

    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?