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!
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!
"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!
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!
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!!!!!!!!
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!
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.
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.
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.
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!!!
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
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!
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.
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.
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
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!
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😊
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.
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.
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
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.
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.
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.
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.
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?
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! :)
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?
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?
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.
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 ?
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.
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?
Hi David in your Wireshark course you said that if you want more knowledge about networking so you will mail me then I mail(that you say In your course) but there is no response from your team please help🥺🥺🥺
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?
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.
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.
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?
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?
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.
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.
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?
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?
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
Sort of works but is a terrible experience. After reboot all I got was black screen and I had to recover through terminal. When VNC works it is very laggy, basically only really usable for text anyway.
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!
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!
Thank you for the no frills instruction. Short intro,good explanation during the video,notes in description.
Really, thanks.
Thank you!
"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!
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!
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!!!!!!!!
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!
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.
Glad it helped Dan!
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.
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.
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!
i'd like to see OPENVPN server and client tutorial.
Keep up the good work
Great suggestion! Thank you.
Superbly explained.
Followed your steps and now I can connect successfully to my Ubuntu 23.04 PC from Windows 11 PC
FINALLY got it working, thanks to your instructions! Thank you so much!
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!!!
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
yes i ran into this problem too. don't know why he didn't cover this black screen
thank you!
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!
Same problem
Short and sweet, as always! Tks for you work😊
Thank you David for the detailed tutorial. Worked like a charm!
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.
It's just one time, also if you are complaining about this, pls leave tech, lazy dumb people like you will ruin everything.
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.
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
Thank you so much for this!
Thank you so much David. Chaging my life here
You're welcome Peter
out of like 15ish tutorials I found on youtube, this is the only one that worked. Have a like and thanks.
Everything was very clean and well explained, congratulation, great job.
Thank you very much David !
sudo apt update
$ sudo apt install anydesk
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!
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
you literally saved my graduations project thnks sir !!
You are amazing David!!!!!! Thanks a lot for the step by step tutorial!
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😊
respect super video )
Works perfectly, thank you so much David, you're the best!
Very helpful video ,regards from Republic of Moldova )
Thank you I spent a few hours trying to get this working. The key for me was replacing gnome with the lightdm.
Great video David. You're the best.
Waiting for more videos about CCNP Encore
Thank you Magno!
Excellent video. Very useful. You saved me a lot of time. It is appreciated. Thank you very much.
As always ... so clear and so easy to understand ...The best 👏👏👏👏
Thank you Ibti
Nice, nice, nice! Thanks a lot! Best Regards from Brazil.
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.
Im curious to as I like GDM better than lightdm
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.
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
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.
Awesome, thank you. Just scared the crap out my users on a display board using Ubuntu by taking remote command :)
For those who want to enable keys autorepeat, add ... _ExecStart=/usr/bin/x11vnc -repeat_ ..., in the video at 2:50, may help.
You saved me a lot of time! Thank you!
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.
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.
Thanks David...nice tutorial
just what I was looking for
Glad to hear that!
very very good tutorial...
thank you very much..
from indonesia
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.
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?
Thanks so much I had been googling for what seems like years, this video did the trick. THANK YOU......
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! :)
did you solved that ? @qweargs123
did you solved that ? @qweargs123
"SSH connection should be encrypted". Is there a way to be able to do this?
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?
Easy and clear .. Respect ..
Thanks 👍
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?
Thanks for the guide. A question. Can you add an followup video on how to add encryption.
I used this goude and disconnected tha monitor to the computer and now i just get a black screen. Any tips that could help?
Exactly what I needed!
works great on ubuntu 23.04!! thanks a lot!
Yes sir you great love you 😍😍🔥🔥🔥🔥 love from India
Thank you Achhat!
In addition to this, you need to install firewalld in the server then do this:
sudo firewall-cmd --add-service vnc-server
Thank you for this tutorial David!
Is the procedure the same for Kali Linux?
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.
Thanks for sharing your knowledge
Superb video, thank you.
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 ?
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.
How can you have the Ubuntu server initiate a desktop session when only logging in remotely? I feel that is a core usecase that wasn't covered here.
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?
Hi David in your Wireshark course you said that if you want more knowledge about networking so you will mail me then I mail(that you say In your course) but there is no response from your team please help🥺🥺🥺
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?
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.
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.
Do you have a video on Apache Guacamole remote desktop? - It uses the browser to connect to devices. Seems pretty cool.
Wonderful great works!
Unfortunally, i have some trouble to use signs like "@" from my mac keyboard in writing or controling a headless ubuntu server.
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?
Thank you, it's very useful!
But anyway, it's good idea to show how to setup secure connection with ssh also ;)
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?
Great Video! I hope this will work with the Jetson Nano since it dosen´t have the vnc preinstalled as the raspberry pi dose!
Thank you that was very helpful.
Sorry for dumb question but this is for all network or only LOCAL network ?
Would love see a quick tutorial on how to make it a secure connection for use outside the LAN:-)
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.
Your one of the best teachers ever ❤ I also understand u dad ❤
Thank you Tariq
Another great tutorial !
Thank you Bhargav
@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?
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.
Thank you again for an educational video
You're welcome Eren!
Nice! Thank YOU!
I love you sir...!!! I am interested in IT from non-IT background. Your guide is immemorial to me..!!! Love u sir..!!!
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?
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?
this does not seem to work for a headless installation, when connecting i just get a blank screen
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
Sort of works but is a terrible experience. After reboot all I got was black screen and I had to recover through terminal. When VNC works it is very laggy, basically only really usable for text anyway.
Con esto pude resolver mi problema en ubuntu 22.04 MUCHAS GRACIAS!!!!!
I can’t seem to connect via guacamole. IP, port, username and password are all correct it’s just always trying to make the connection
You are a Legend )
Thank you Umran!