Access Your Raspberry Pi Desktop from Anywhere with Internet

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Access Your Raspberry Pi Desktop from Anywhere with Internet
    In this video, I'll show you how to access your Raspberry Pi desktop with a remote connection. You can use this to log in to your Pi from any other computer that is connected to the internet. All that's needed is a Raspberry Pi and an ethernet cable or WiFi adapter/dongle.
    Get a Raspberry Pi here: www.amazon.com/...
    See the full tutorial here: www.circuitbas...
    Check out the Circuit Basics blog for articles and tutorials on the Raspberry Pi, Arduino and other DIY electronic projects! www.circuitbas...
    Facebook: / circuitbasic
    Twitter: / circuitbasics
    Instagram: / circuitbasics

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

  • @Circuitbasics
    @Circuitbasics  9 лет назад

    How to Access the Raspberry Pi Desktop from any PC or Mac
    In this video, I will show you how to access the Raspberry Pi desktop with a remote connection. All that is needed is a Raspberry Pi, a PC or Mac, and an ethernet cable.
    Read the full tutorial on my blog: www.circuitbasics.com/?p=461
    Discover more about electronics at the Circuit Basics blog: www.circuitbasics.com

  • @mitchellhenry478
    @mitchellhenry478 6 лет назад +16

    Best video ever, you solved so many of my problems that I've been stuck on for hours. Thank you.

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

    Even better: Try to use a service like DynDNS on the Pi! What it does, is to forward your external address to that service and then tie it to a domain that belongs to you. You would then only have to visit that domain to get to your Pi. Since the Pi keeps running from your home it would just keep informing DynDNS about potential IP-address changes automatically.
    This approach here breaks as soon as either the local or the external address changes and that could happen within a day.

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

    This is amazing, thank you ! In my case the Port Forwarding it's called "Virtual Service" just in case someone get confused.

  • @rushabhoswal8280
    @rushabhoswal8280 8 лет назад +6

    I have a dlink router and when I open port forwarding it is showing me this option
    usual service name:_
    user defined service name:-
    protocol :-
    wan setting :-
    wan interface :-
    wan port :-
    LAN open port:-
    LAN ip address :-
    what should I type here?

  • @bendiegel5127
    @bendiegel5127 4 года назад

    Right now I'm in quarantine, but now I can open the desktop on my Raspberry Pi from my desktop, awesome video that helped me a lot. Very clear step by step instructions. A little slow and quiet, but I just turn up the audio and playback speed.

  • @SteveOfWarr
    @SteveOfWarr 8 лет назад +4

    Does audio from the Pi work when remote accessing it?
    I'm wanting to record footage from the Pi but so far haven't found an answer that doesn't involve a capture card, and though screen capture via rdp might be the answer?

  • @yoursatyam
    @yoursatyam 7 лет назад +2

    awesome you made it simple.. im able to connected now.. I'm trying from many videos this is the perfect one. awesome again

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

    Thank you so much. AQm new to raspberry pi which is running Pihole along with my Synology NAS. Couldn't cat 6 it to my router and wanted to log into it without swapping wires. You made it so easy. Again, Thank you!!

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

    Hi sir, I have a query. I want to remotely connect to my jetson nano from my windows PC. My jetson nano is connected to a 4g dongle and so is my PC. Therefore, I have two 4g dongles. Both are of the same sim cards, with the same ISP and data plan. May I know if you have any solution to this? Thank you, would be of great help.

  • @rz1359
    @rz1359 7 лет назад +11

    but don't forget that your public ip will change any time and you need to know it every time . for this reason we are using a ip stack that no-ip is one free one

    • @rodneylobo2321
      @rodneylobo2321 6 лет назад +1

      yah im thinking about it a while ago

  • @jacobendure262
    @jacobendure262 7 лет назад

    This may be obvious to many of you but it was not to me. Using the xrdp works fine on my private IP when I'm at home, but does not work with my public IP at home ! I had to test it at my friend's place and then it worked great.

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

    Best video for Raspberry Pi setup ever. Thank you for sharing.

  • @abishekpss7254
    @abishekpss7254 7 лет назад +3

    Sir this Public IP keeps changing and also if you in Paris how will you know the public IP of the Raspberry Pi which is in US ?

  • @rikys91
    @rikys91 10 месяцев назад +1

    I’ve a question. Why I have to connect inserting the Ip address of my windows PC rather than the Ip address of my raspberry pi?
    In my case I have the raspberry directly connected to the modem by LAN cable.

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

      You have 2 IPs, the local IP and the public IP (internet IP), all devices on your local internet connection network will have the same public IP. Best to get a static IP otherwise IP will change every day

  • @nokellsrealty
    @nokellsrealty 6 лет назад +7

    I can't connect with remote desktop connection. When I type in my ip a message pops up that says remote desktop cants connect

  • @Fasshow28
    @Fasshow28 6 лет назад

    How can i connect sql server from a server computer to mysql from raspberry pi?

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

    But, what if my Raspberry pi is an IoT device, connected to the internet via a 4G dongle and I want to access it from my phone or computer. Then what to do? I should find a dongle with port forwarding and makes sure my ISP is allowing it? Is there another way?

  • @gregf9160
    @gregf9160 5 лет назад

    Calm and well delivered explanation. Thanks.

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

    i get a black screen when i connect? from 3 different pcs, and i cant connect via the browswer. any help will be great thanks.. good video

  • @MrIMacro
    @MrIMacro 4 года назад

    At 08:20
    Was that your pi desktop ?
    if so, we will get into the trouble of LAG .
    it will be like using Google Chrome remote desktop.
    Do you have any other faster way please ?

  • @SladderBux
    @SladderBux 8 лет назад +1

    This worked flawlessly, thanks for the post =)

  • @roninviking
    @roninviking 7 лет назад +1

    worked fine, thanks Mr, i am still looking for a way to connect android keyboard and mouse with io controls
    my search continues

  • @woolfy02
    @woolfy02 4 года назад

    Thanks for the tutorial!

  • @user-yu1bn8wo5h
    @user-yu1bn8wo5h 6 лет назад

    i just bought a Huawei mobile wifi E5573, and i connected my raspberrypi to it, but when i tried to open google, youtube or any browser it says no internet connection. Is there any idea on how to solve this or how to connect my raspberrypi to a mobile data/mobile wifi router?

  • @RobertPriestley
    @RobertPriestley 7 лет назад +7

    better to use a VPN connection, opening port 3389 is a big risk.

    • @mr.es1857
      @mr.es1857 6 лет назад

      is it difficult ?

    • @topsecret1837
      @topsecret1837 5 лет назад

      MR.ES1
      It’s not difficult, it’s that once you do that every person and their mother with access to the internet will have some method of accessing your computer. Hence using a VPN will keep the connection secure.

  • @sudeshnaguharay5187
    @sudeshnaguharay5187 4 года назад

    hello
    when i tried to enter the default ip in web browser ,it read cant connect.
    it there any permissions that i required to give?

  • @nickgooch6928
    @nickgooch6928 5 лет назад

    Is there a way to do this just forwarding an ssh connection not the VNC server?

  • @MolbOoOfficial
    @MolbOoOfficial 8 лет назад

    Hi man, when i connect the raspberry to the wifi and i remove the ethernet from him i lose the connection from the raspberry... I need the ethernet cable plugged in the raspberry or i can use him only with wifi?

  • @akshayd211
    @akshayd211 5 лет назад

    YOU ARE A HERO!

  • @aeros39
    @aeros39 4 года назад

    a very big thank you sir!

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

    Hello, its possible to with Orange PI?

  • @rushabhoswal8280
    @rushabhoswal8280 8 лет назад +1

    in my router I don't have both option for tcp and udp, what should I do?

    • @leobrown3329
      @leobrown3329 7 лет назад +1

      if it says both use that

    • @ivorycoding2208
      @ivorycoding2208 4 года назад

      I just made two. One for TCP and another for ucp

  • @Swanicorn
    @Swanicorn 7 лет назад +1

    Is there any way for Windows/Linux PC to access the pi as a "Computer on LAN"? I want to share files back and forth between the pi and my computer like we do in a LAN, just wireless. That way the pi can also access the printer attached to my PC.

    • @TreBros
      @TreBros 6 лет назад

      Swagat Suryawanshi yes you can setup your raspberry pi to be a NAS server. I used samba and webmin. That'll do the trick. There is also python that has some home server libraries for you.

  • @diegofung95
    @diegofung95 5 лет назад

    So in other words, if you have a Pi connected to a portable wifi dongle, you can connect to it remotely via this method ?

  • @tomtreacy6767
    @tomtreacy6767 8 лет назад

    Will this allow me to access the pi from anywhere that my home computer and the pi have Internet? Say the pi is at work and I am at home....Sorry I'm new to this stuff.

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

    if u have dynamic IP it won't work, for this case u will need something like no-ip.com

  • @einrail
    @einrail 7 лет назад

    xclock didn't work... remote desktop connection isn't logging in... what did i do wrong?

  • @AbhishekMishraabhirules27
    @AbhishekMishraabhirules27 8 лет назад +1

    sir...
    this was awesome...
    i tried with tightvncserver too..
    but nothing worked.
    This worked great with me...WIndows10..
    Thanks again.

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

    Do u need static IP for this?

  • @mk_annan22
    @mk_annan22 7 лет назад

    Can the pi desktop be accessed using VNC server from anywhere?

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

    what if i connect the device to a different router? the raspberry pi

  • @granulats484
    @granulats484 7 лет назад +5

    2:52 i get at the 7th line "error-problem connecting"
    Can somone help ?

    • @eloibonneville
      @eloibonneville 7 лет назад +1

      same

    • @granulats484
      @granulats484 7 лет назад

      If you find the answer, please tell mi in the comments...

    • @P0L0G0D
      @P0L0G0D 7 лет назад +3

      Hey, to fix this error type in your command line once you've accessed your headless pi, "sudo apt-get install vnc4server", followed by either a reboot or a "sudo service xrdp restart".

    • @tanishbansal1058
      @tanishbansal1058 7 лет назад

      thanks

    • @r1273m
      @r1273m 7 лет назад

      Had no success until I tried this, it worked perfectly! Thank you for posting. Bob

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

    Thanks a lot

  • @KevinsCaninesAndAquatics
    @KevinsCaninesAndAquatics 5 лет назад

    What is the app on the Mac called equivalent to remote desktop?

  • @leobrown3329
    @leobrown3329 7 лет назад

    i need to use the port 22 is there any way i can do that

  • @muddassirghoorun4322
    @muddassirghoorun4322 8 лет назад +1

    Could you please tell me how to connect to putty using raspberry pi 3 with raspbian jessie with pixel for headless mode?

    • @TreBros
      @TreBros 6 лет назад

      Muddassir Ghoorun in your raspberry pi terminal type ifconfig. It'll give you info on what your raspberry Pi's IP address is. Write it down, open putty and put your IP address in the hostname/IP address area. Select port 22 and SSH. Save your session by naming it then click open and you should be on your way to log in with putty. Username is Pi and password is rasberry

  • @LukeHwarang
    @LukeHwarang 5 лет назад

    That's a greate video. Is is possible to change the port to another number? I configured the file in /etc/xrdp/xrdp.ini and changed the port to 3333, and also did the port fowarding to 3333, but it didn't work =(

  • @mr.es1857
    @mr.es1857 6 лет назад

    I checked in canyouseeme.org and the 3389 can't be seen , how can i fix this ??

  • @VovanP-ge9on
    @VovanP-ge9on 8 лет назад

    You really connect to raspberry pi only use wifi? without lan cable? on main pc or connected to the router

  • @ArthurKlisiewicz
    @ArthurKlisiewicz 8 лет назад

    This is excellent tutorial - thank you.
    This works for me on LAN, but WAN connection does not. I get single line few strange characters and that's all. I user RT-AC66U Asus router. Did the port forwarding etc.... but no luck.

    • @Circuitbasics
      @Circuitbasics  8 лет назад

      +Arthur Klisiewicz hmm, have you configured the /etc/modules and wpa supplicant files for your WiFi connection?

  • @WerdOriginss
    @WerdOriginss 7 лет назад

    Do you know any solution for the message "network error: connection refused" when trying to access the pi terminal in Putty with the Wifi IP?

    • @furqankhan7716
      @furqankhan7716 7 лет назад +2

      bro i know just go to your raspberry pi desktop,click on raspberry logo,then click on preference,then click on rpi configuration,then u will see a box which have some several option click on interfaces and enable ssh and vnc

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

    I'm looking for a way to know when the IP address of my network changes so I can always use my Raspberry remotely. I don't want a static ip address.

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

      you could set up a dynamic dns server.

  • @hansatharuka94
    @hansatharuka94 6 лет назад

    thanks it worked for me ♥ ♥ ♥

  • @jacobkoz1835
    @jacobkoz1835 4 года назад

    Thx

  • @madhukeshnp
    @madhukeshnp 6 лет назад

    Please make a tutorial on port forwarding for blynk local server ( raspberry pi3 ) . There is no particular tutorial on it. It would be awesome if you do one.. Thank you in advanced.

  • @daroak1
    @daroak1 6 лет назад

    how can i do this anywhere with internet but with android smartphone?

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

    Just curious, after 6 years, is there another better method? Thanks!

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

    Shit don't work.
    Laptop's IP: 192.168.0.164
    Rasperry Pi IP: 192.168.0.137
    Connecting with putty don't work and connecting with remote desktop don't work.. I have no idea why
    I tried to ping the Pi IP address from my laptop and this works.. I dont get it

  • @branor04
    @branor04 4 года назад

    how do i change the port so that i can have multiple raspberry pis on the same network?

    • @anonymous-xo5py
      @anonymous-xo5py 4 года назад

      Change the hostname from using sudo raspi-config and that'll make it so you can connect to that hostname if you're on the network, if you're outside, just use the public IP if you have port forwarded it, and if you want to specify which pi to connect to from the public IP I think you'll have to specify which one I honestly forgot specifically how but I know you can with ports or a name

  • @maykelfarronay
    @maykelfarronay 7 лет назад

    Hi, Great video! question how does one know which port number to use for their specific device to connect? say I wanted to connect an ESP8266, or an arduino or something else, how does one determine which port number to use?

    • @dudejoe8705
      @dudejoe8705 7 лет назад +2

      Those are not computers so it is impossible to connect to them, the raspberry pi however is a fully functional Linux computer.

  • @tusharrathod5660
    @tusharrathod5660 6 лет назад

    make one video to how to access raspberry pi gpio using mobile app and how to connect both are

  • @Awesomekid2283
    @Awesomekid2283 8 лет назад

    is this supposed to be for macs when putty is only for windows?

    • @Circuitbasics
      @Circuitbasics  8 лет назад

      This was made for windows but the same principals apply when using Terminal on the Mac

  • @cjlowe1650
    @cjlowe1650 5 лет назад

    Great video. Is your network exposed to the outside world for some one who could try and hack into it?????

  • @MikeMcRoberts
    @MikeMcRoberts 9 лет назад

    When I connect the Pi directly to the laptop how do I find out what the ethernet address of the Pi is please?

  • @JimCoupeTQ
    @JimCoupeTQ 6 лет назад

    This is only possible if your operator is not behind a proxy server. Many are..

  • @party10277
    @party10277 7 лет назад

    Do I need to complete intial setup of the raspberry in order to do this?
    Thanks

  • @RakibFiha
    @RakibFiha 6 лет назад

    Please, can anyone tell me, how can I do that in Mac????

  • @KevinsCaninesAndAquatics
    @KevinsCaninesAndAquatics 5 лет назад

    When I type in ipconfig it gives me the message “bash: ipconfig: command not found”
    Please help

    • @colinhabursky9037
      @colinhabursky9037 5 лет назад

      Kevin Leong if u need the ip go to your router settings and go to attached devices. After that you should see “raspberry pi” it will have a pi next to it

    • @get_1_juked
      @get_1_juked 4 года назад

      Linux you need to type ifconfig

  • @caidenbritton5481
    @caidenbritton5481 7 лет назад

    can you make a vid on how to connect putty?

  • @a.yashwanth
    @a.yashwanth 4 года назад

    lol, I just wanted to check the time while watching the video on the full screen. I looked at the bottom right corner and it's 8:58pm and when I checked on my laptop it's 8:59pm.

  • @avedistchamitchian1369
    @avedistchamitchian1369 5 лет назад +2

    try to speed up the video to 1.75 and his voice speed becomes normal....

  • @ianpratt4792
    @ianpratt4792 5 лет назад

    What if the pi has wifi in it?

  • @XxxCR1SPYxxX
    @XxxCR1SPYxxX 4 года назад

    So ip protocol is basically internet

  • @--Tanjumul
    @--Tanjumul 3 года назад

    hmm using a pfsense ?

  • @karthikprem1207
    @karthikprem1207 8 лет назад

    how to do this remote connectivity using ethernet

    • @Circuitbasics
      @Circuitbasics  8 лет назад

      If you want to connect with an Ethernet via your router, you would use your Ethernet IP address to connect.
      But to connect via Ethernet directly, there are a few easy steps, check out this post: www.circuitbasics.com/how-to-connect-to-a-raspberry-pi-directly-with-an-ethernet-cable/

  • @viva7642
    @viva7642 5 лет назад

    Nice. But what happen if you don't have access to a router (ie. at work)? Best answer would be to install Team Viewer. :( I am not a fan of TV but no alternative at the moment. Anybody?

  • @JamesBond-fg6bt
    @JamesBond-fg6bt 5 лет назад

    Thanks homie this video is fucking tight, everything worked as you said, except i couldn't RDP from my own network to the RPI through the forwarded port, but I could do it from an outside network.
    Also, my router/modem (zyxel brand) has a Translation Port range you need to enter under the forwarded port range, I put the same thing and it works from an outside network.
    Merry fucking new year to you.

  • @venomgaming8562
    @venomgaming8562 7 лет назад

    well you cant start by already have your paspberry pi terminal

  • @amanullahaman9245
    @amanullahaman9245 6 лет назад

    How to bypass audio ??

  • @raghavnuckched5760
    @raghavnuckched5760 8 лет назад

    i cant access it away from home

  • @mmcnama4
    @mmcnama4 9 лет назад

    Why xrdp over vnc?

    • @Circuitbasics
      @Circuitbasics  9 лет назад

      I'm sure VNC is an equally good solution if you can get it to work, but I never could... It seems my network firewall blocks it and I can't get it to allow the connection. XRDP worked the first time so I stuck with it :)

  • @richarballesteros5442
    @richarballesteros5442 6 лет назад

    i love you

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

    If you needed this video, we aint friends

  • @novzy7784
    @novzy7784 8 лет назад

    when i tried runnng putty, it was blocked...

    • @Circuitbasics
      @Circuitbasics  8 лет назад

      If it's your first time connecting, there will be a warning that appears. If you click ok, it should let you in

  • @zachwhelpley661
    @zachwhelpley661 5 лет назад +2

    Thanks but my guy, you're so freakin quiet haha

  • @venomgaming8562
    @venomgaming8562 7 лет назад

    it just says network connection failed

    • @venomgaming8562
      @venomgaming8562 7 лет назад

      nvrmnd im in. *hitting keyboard hard/heavy hacker breathing* lol jk

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

    Good video but terrible sound, but your sound let you down!

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

      No way you just said terrible sound on a 9 year old video 💀

  • @krupeshanadkat8606
    @krupeshanadkat8606 6 лет назад

    our wifi router is secured by college authorities. i cant acess router configuration settings, is there any other way?

    • @adityaanand1480
      @adityaanand1480 6 лет назад

      As far as I know if you are not able to configure the port forwarding on your router then its not possible to connect to your Pi via the internet. 'Case the router when it gets the request for RDP, then using port forwarding it figures out that its your Pi the connection has to be established with. If you are adamant about it then set it up on your phone (android) there are apps that allow you to carry out port forwarding.

  • @Alistar1992
    @Alistar1992 8 лет назад

    yeah doesn't work

  • @lthakur92411
    @lthakur92411 4 года назад

    audio is too low

  • @Geistie1337
    @Geistie1337 8 лет назад +4

    dont sleep in

  • @sabbella13152
    @sabbella13152 8 лет назад

    What is the point of making a video if it's not audible? -_-

    • @RinksRides
      @RinksRides 7 лет назад

      it is audible, you just need 75WRMS/ch and bookshelf speakers lolz!

  • @jedbenhod
    @jedbenhod 4 года назад

    Can you talk any slower??

  • @DeanoEssex
    @DeanoEssex 4 года назад

    "All that's needed is a Raspberry Pi and an ethernet cable or WiFi adapter/dongle." AND ANOTHER COMPUTER!

  • @racerx6384
    @racerx6384 5 лет назад

    Invest in a mic

  • @Aterrebgnuoy
    @Aterrebgnuoy 8 лет назад +2

    Dislike! Where's the Mac procedure?

  • @rushabhoswal8280
    @rushabhoswal8280 8 лет назад

    I have a dlink router and when I open port forwarding it is showing me this option
    usual service name:_
    user defined service name:-
    protocol :-
    wan setting :-
    wan interface :-
    wan port :-
    LAN open port:-
    LAN ip address :-
    what should I type here?