How to Setup a Raspberry Pi and Access it Remotely! (Headless setup)

Поделиться
HTML-код
  • Опубликовано: 19 июл 2023
  • Hey welcome back, Ben again!
    Today we're going over how to setup a new raspberry pi 4 and then how to access it remotely without the need of plugging anything into the pi!
    Links used:
    Raspberry Pi imager: www.raspberrypi.com/software/
    VNC: www.realvnc.com/en/connect/do...
  • НаукаНаука

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

  • @meithaauliana9940
    @meithaauliana9940 5 месяцев назад +4

    thank you Ben, your video was a lifesaver!!

  • @umeshpawar3731
    @umeshpawar3731 7 месяцев назад

    Thank you Ben mate it worked finally after 6 months!!!

  • @denilsonnascimento975
    @denilsonnascimento975 6 дней назад

    Hello Ben, you are a legend!!
    Thank you so much, i was struggling to connect with my raspberry, this video helped me a lot!!

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

    Very helpful. Just VNC'ed my first pi headlessly with no issues.

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

    Very helpful. Installed everything without any issues

  • @thomasboosinger2758
    @thomasboosinger2758 9 месяцев назад +2

    Thank you Ben. It was super helpful!

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

    Thank you so much for extra ordinary effort to teach such a great thing.

  • @lunagonzalez1470
    @lunagonzalez1470 12 дней назад

    Thank you very much Ben! This video was super useful

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

    One of the few times something was explained well on the internet ...........beautiful explanation

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

    you have saved my life for the second time, thanks a lot

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

    Very useful and you won my sub!

  • @tobyroy336
    @tobyroy336 5 месяцев назад

    Excellent effort - thank you

  • @Dexter101x
    @Dexter101x 4 месяца назад +3

    Whoa, thanks for telling me that I could connect via the command line. I was struggling using PuTTY and Bitvise. The only problem is that VNC now charges for using their software

  • @garynelson9192
    @garynelson9192 11 месяцев назад +1

    Keep up the awesome work!

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

    Spot on Sir. Got me going on my Pi.

  • @user-re8mh7zd3m
    @user-re8mh7zd3m 5 месяцев назад

    Hi ben. it is possible to do that without using router or wifi, just ethernet cable with the both end of the ethernet cable are connected to pi and the other into your pc?

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

    thanks you ben bruh you are life saver

  • @patrickpatrick4549
    @patrickpatrick4549 2 месяца назад +1

    my favourite person of the day

  • @kyangandhi9042
    @kyangandhi9042 2 месяца назад +1

    Hi Ben, I'm wondering how the cloud connection works? My Pi and I are currently at a different location and different network. (the pi is in my team already as I signed in to the vnc account as you showed)

  • @aadyanair2004
    @aadyanair2004 8 месяцев назад +3

    I got an error in VNC saying "unable to connect to vnc server using your chosen security setting" what should I do?

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

    Hey man good job, thanks for the tutorial, cab you also add a part how to connect it remotely via internet? Not local? I want to use 4g usb modem on it. Thanks

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

    Hey Ben, don't know if you are reading this, but awesome video mate! Just saved my life, and probably my college group from flunking our project!

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

    Thanks alot, Def earned my sub 😊👍

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

    Hey Ben, so helpful video. I’m at the terminal and I’m tyiping in the password after I’ve entered the username but it keeps saying password denied. What am I doing wrong?

  • @terryterry1655
    @terryterry1655 5 месяцев назад

    thx for sharing on GUI using vnc

  • @savekillqqpsounds8473
    @savekillqqpsounds8473 10 дней назад

    so quick question ben greenfield. does this also work with a rasberry pi 3 model B+ or just pi 3?

  • @mariocuric6690
    @mariocuric6690 2 месяца назад +1

    2:00 ON NEWER VERSION, DONT FORGET TO TURN ON SSH!

  • @campbellmorrison8540
    @campbellmorrison8540 День назад

    Thank you. Im a newby and have got my Pi working with a connected screen etc but haven't tried remove access yet. I was intending too but found the pi runs like a dog, takes ages to load up google for example so I hate to think what it would be like running under VNC, even if its no better it still would be unusable in my opinion. Is this an issue with pi running a GUI?

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

    Thank You so much, you save me

  • @giostechnologygiovannyv.ri489
    @giostechnologygiovannyv.ri489 2 месяца назад

    Hiiii nice video buddy! One question, do you think this should work without setting up the wireless but connecting the RasPi 5 to a LAN Ethernet cable? Because I already set up the microSD without the WiFi and I was thinking of putting it but I recall I'm at the University and it needs your student password, I'm trying not to put personal info on the RasPi5 as it's going to be used in a project, I'm just setting it up and doing some stuff with a RasPi Camera module. So, please let me know your thoughts on this. Right now I tried the SSH and is not working with my console in the same network.
    Edit: I just realized of my comment is not at all correct, the RasPi needs the password of the network to get into it so it will still be useless with the LAN :((
    2:58 actually is laggy, it happened to me with the time zones, so it's on the software part that is not well done on the scroll bar, we need to put a feedback on RasPi developers ;))
    8:02 I thought the account was mandatory XD you scared me there!!! BTW viewers you don't need it for the connection, just use the software and that's it!! :)) I have no money to pay for that thing XD
    8:44 Thanks God for me it worked at the first try!!! And is good because when I searched for the VNC Resolution I didn't find it, I have the first 2 options D2 D4 not D5 D6 XD so ufffff :))

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

    when I follow all the instructions, VNC server Icon is not showing up on my taskbar and therefore im not quite sure what to do next...any suggestions? VNC and SSH is enabled

  • @phazz2891
    @phazz2891 8 месяцев назад +1

    When I try to connect my Pi to VNC viewer I keep getting an error saying I need to select my encryption parameter to a weaker level or update VNC server. Nothing I've tried worked though...

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

    would this work to connect to the pi or could you connect to the pi right from the command line on another internet or how would you

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

    Thank you.

  • @marcoswwong1
    @marcoswwong1 7 месяцев назад

    There is no sound on the VNC. How can I get the sound from my pi but listen on the VNC? Please kindly advise.

  • @livepolarexnr.1-telescope124
    @livepolarexnr.1-telescope124 5 месяцев назад

    yes yes am in ??? your the best 👍👍 thanks

  • @WZ-qq6eh
    @WZ-qq6eh 25 дней назад

    Hey Ben. This is very helpful! Thank you so much. Would a program run remotely on the Pi if I minimize or close the VNC server? I am just curious before experimenting

    • @LazyTech825
      @LazyTech825  24 дня назад

      Yes you can!

    • @WZ-qq6eh
      @WZ-qq6eh 19 дней назад

      @@LazyTech825 I am having a problem connecting to the pi through ssh. I suspect that the Wifi is not actually established since this particular wifi, when connected, requires some action in a popped up window. I wonder if this is the reason why I cannot establish the connection, or it is because that I have a macbook and the commands are different?

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

    Is that setting comes only for raspberryos ??

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

    What if I want to use ubuntu terminal instead of command prompt?

  • @SteveVickAK
    @SteveVickAK 8 месяцев назад

    What about remote access from another network?

  • @ChatgptChatgpt-xh2ox
    @ChatgptChatgpt-xh2ox 20 дней назад

    thanks a lot

  • @howtodoagame638
    @howtodoagame638 11 месяцев назад +1

    good stuff

  • @Bengemon825
    @Bengemon825 11 месяцев назад +1

    nice tutorial!

  • @lukegrimes2862
    @lukegrimes2862 8 месяцев назад

    Very helpful but I learned mac book airs need an adapter for reading ssd cards

  • @jackierpeel
    @jackierpeel 11 месяцев назад

    Awesome!!!

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

    Nice Tutorial!
    How do I do if I can't login? It does seem to want my password.
    I tried the standard settings (pi and raspberry), as well as changing it the way it is done in the tutorial.
    Any help by any chance? What am I doing wrong?
    Cheers!

    • @purpleshadow2573
      @purpleshadow2573 9 месяцев назад +1

      Yo I had the same problem, not sure why, I believe its because these videos don't show you how to configure the wifi.

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

    Hi, Just wondering if you do freelance work un upwork or fiver?

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

      I don't, but maybe I should??

  • @christaleleria8341
    @christaleleria8341 5 месяцев назад

    What about if the installed OS in raspi is UBUNTU 22.04 is it the same step? Thank you!

    • @LazyTech825
      @LazyTech825  5 месяцев назад

      It should be very similar

  • @jeffmiller7010
    @jeffmiller7010 4 месяца назад +1

    Thank you. I purchased a Rasberry Pi 4B and did not realize it required mini HDMI cable, which I did not have. Now I don't need one and I don't have to sacrifice a monitor, keyboard, and mouse. Many thanks for this great tutorial. Even just having the ability to SSH into it is an excellent option as I may end up doing a lot of Python coding on it an a graphical interface is not necessary but nice to have.

  • @sushantkhattar2598
    @sushantkhattar2598 Месяц назад +1

    Getting the following error when trying on my mac:
    connect to host raspberrypi port 22: Connection refused

  • @Mojtaba-rr1vz
    @Mojtaba-rr1vz 4 месяца назад +1

    Good pro 🎉❤

  • @ramf7673
    @ramf7673 11 месяцев назад +1

    Maybe people will stop complaining about zooming in now XD good stuff

  • @jethanpaul818
    @jethanpaul818 9 дней назад

    thanks that was straight forward, can you set up the pi headless again using kali linux please

    • @LazyTech825
      @LazyTech825  9 дней назад

      I think Kali might be an option you can choose in the imager tool

    • @jethanpaul818
      @jethanpaul818 9 дней назад

      @@LazyTech825 I know that but I can't ssh into it when I use kali OS seems like it's not connecting to the wifi even after setting up the wlan and enabling the ssh in the raspberrypi imager

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

    VNC error "timed out waiting for a response from the computer" how to fix?

  • @kaushlendrapandey5404
    @kaushlendrapandey5404 9 дней назад

    hi @Arth X I am working on the same project can u help me??

  • @Limboo-ur9hd
    @Limboo-ur9hd 2 месяца назад +1

    I had a problem when connecting to putty, i used the name and it said host doesnt exist. And if i used the ip address it still couldn't connect. Any thoughts on this?

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

      same problem here let me know if you figure it out

    • @Limboo-ur9hd
      @Limboo-ur9hd 2 месяца назад

      @@yeyetsisonline8739 turns out for me, it need to used a real wifi and couldn't used hotspot from my phone

  • @AndevOG
    @AndevOG 7 месяцев назад +5

    ben why are you ignoring the comments who encountered problems? I have same problem, unable to connect to vnc server using your chosen security setting, and I changed the security setting to many different ones but none helped, please help

  • @WinstinPaul
    @WinstinPaul 2 месяца назад +1

    even though i have booted my raspberry pi after the flashing the micro sd card its still not connecting, showing host not found
    Any help is much appreciated.
    thanks.

    • @yeyetsisonline8739
      @yeyetsisonline8739 2 месяца назад +1

      im having the same problem

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

      yeah me too

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

      did something worked for you?

  • @theofficialgaro
    @theofficialgaro 27 дней назад

    what happens if you put a country code different from where you are connecting to?

    • @LazyTech825
      @LazyTech825  24 дня назад

      I assume it messes up the time zone and probably other minor things

  • @bvkirangoud1263
    @bvkirangoud1263 5 месяцев назад

    I want to monitor raspberry pi through vnc viewer in which raspberry pi is connected without using wifi which means I am using gsm module which is sim slot and it is connected through mobile network
    Anyone please help me

  • @FilipeIria87
    @FilipeIria87 4 дня назад

    They are charging now... at VNC

  • @user-ez8ov9ce1p
    @user-ez8ov9ce1p 5 месяцев назад

    Ben i need ur help

  • @nicholasdavies168
    @nicholasdavies168 11 месяцев назад +2

    I got and error that says, "Error writing to storage". How can I fix this? It's very frustrating. I've tried different micro sd cards and different computers

    • @LazyTech825
      @LazyTech825  11 месяцев назад

      Is this when you are using the imager tool? You can try launching the imager as an administrator, it’s probably an access error (which I agree is very frustrating)

    • @nicholasdavies168
      @nicholasdavies168 11 месяцев назад

      @@LazyTech825 Yes, I'm using the imager tool. I'm on a Mac. I think it just worked though. I had to quit the application a couple times and try again. I have Raspberry pi 3

    • @nicholasdavies168
      @nicholasdavies168 11 месяцев назад

      @@LazyTech825 Just got ssh working again. Thank you!

    • @LazyTech825
      @LazyTech825  11 месяцев назад

      Glad it all worked out!!! (PS if you have suggestions for more raspberry pi related themes I’d be happy to look into it lolol)

    • @nicholasdavies168
      @nicholasdavies168 11 месяцев назад

      @@LazyTech825 pihole is great if you haven't done a video on it yet, setting up your own website, VPN, twingate, or zerotier with raspberry pi. Those are some ideas :)

  • @user-ez8ov9ce1p
    @user-ez8ov9ce1p 5 месяцев назад

    I need ur help

  • @official_steam
    @official_steam 6 месяцев назад +1

    How do I upload code to the pi?

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

      Multiple ways! You could use GitHub, flash drive, ssh, vnc, etc.. I have a video on my channel on how to transfer files to the raspi remotely!

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

    It is not working for raspberrypi 3 B model,can you tell me how can i do headlesss setup for raspberrypi 3 B model

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

      hi, my raspberry model is 3 B+ and ı do same thing in the video so its work .actually same step which step is problem for your system? is it cmd ?

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

    bricked another sd card with the great imager sucks they have to be fat32

    • @LazyTech825
      @LazyTech825  29 дней назад

      You should be able to reformat the sd card again if something goes wrong

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

    Lol i was trying pi@raspberrypi the whole time
    though my username was not "pi"
    Thanks a lot for clearing the confusion.

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

    Why is this so different for me?

  • @umeshpawar3731
    @umeshpawar3731 7 месяцев назад

    👄

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

    I just nomachine'd into my Rpi