Access Your Raspberry Pi Desktop from Anywhere with Internet

  Переглядів 347,200

Circuit Basics

Circuit Basics

9 років тому

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/gp/product/B01C...
See the full tutorial here: www.circuitbasics.com/access-...
Check out the Circuit Basics blog for articles and tutorials on the Raspberry Pi, Arduino and other DIY electronic projects! www.circuitbasics.com
Facebook: / circuitbasic
Twitter: / circuitbasics
Instagram: / circuitbasics

КОМЕНТАРІ: 135
@mitchellhenry478
@mitchellhenry478 5 років тому
Best video ever, you solved so many of my problems that I've been stuck on for hours. Thank you.
@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.
@yoursatyam
@yoursatyam 6 років тому
awesome you made it simple.. im able to connected now.. I'm trying from many videos this is the perfect one. awesome again
@gregf9160
@gregf9160 5 років тому
Calm and well delivered explanation. Thanks.
@cyberwasp461
@cyberwasp461 2 роки тому
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!!
@markspc1
@markspc1 3 роки тому
Best video for Raspberry Pi setup ever. Thank you for sharing.
@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.
@roninviking
@roninviking 7 років тому
worked fine, thanks Mr, i am still looking for a way to connect android keyboard and mouse with io controls my search continues
@SladderBux
@SladderBux 8 років тому
This worked flawlessly, thanks for the post =)
@SteveOfWarr
@SteveOfWarr 7 років тому
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?
@woolfy02
@woolfy02 3 роки тому
Thanks for the tutorial!
@rushabhoswal8280
@rushabhoswal8280 7 років тому
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?
@johanneszwilling
@johanneszwilling 2 роки тому
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.
@Fasshow28
@Fasshow28 6 років тому
How can i connect sql server from a server computer to mysql from raspberry pi?
@abishekpss7254
@abishekpss7254 7 років тому
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 ?
@madhukeshnp
@madhukeshnp 5 років тому
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.
@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.
@rz1359
@rz1359 7 років тому
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 років тому
yah im thinking about it a while ago
@theenthucoder1096
@theenthucoder1096 3 роки тому
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.
@nickgooch6928
@nickgooch6928 4 роки тому
Is there a way to do this just forwarding an ssh connection not the VNC server?
@akshayd211
@akshayd211 4 роки тому
YOU ARE A HERO!
@aeros39
@aeros39 3 роки тому
a very big thank you sir!
@leobrown3329
@leobrown3329 7 років тому
i need to use the port 22 is there any way i can do that
@KevinsCaninesAndAquatics
@KevinsCaninesAndAquatics 5 років тому
What is the app on the Mac called equivalent to remote desktop?
@evanyang1969
@evanyang1969 2 роки тому
Do u need static IP for this?
@hansatharuka9216
@hansatharuka9216 6 років тому
thanks it worked for me ♥ ♥ ♥
@LukeHwarang
@LukeHwarang 4 роки тому
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 =(
@tedz2000
@tedz2000 6 місяців тому
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
@mk_annan22
@mk_annan22 7 років тому
Can the pi desktop be accessed using VNC server from anywhere?
@caidenbritton5481
@caidenbritton5481 7 років тому
can you make a vid on how to connect putty?
@tusharrathod5660
@tusharrathod5660 6 років тому
make one video to how to access raspberry pi gpio using mobile app and how to connect both are
@MrIMacro
@MrIMacro 3 роки тому
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 ?
@Swanicorn
@Swanicorn 7 років тому
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.
@SirMoustache
@SirMoustache Рік тому
Hello, its possible to with Orange PI?
@AbhishekMishraabhirules27
@AbhishekMishraabhirules27 7 років тому
sir... this was awesome... i tried with tightvncserver too.. but nothing worked. This worked great with me...WIndows10.. Thanks again.
@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?
@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?
@muddassirghoorun4322
@muddassirghoorun4322 7 років тому
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
@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.
@MolbOoOfficial
@MolbOoOfficial 7 років тому
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?
@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 років тому
Those are not computers so it is impossible to connect to them, the raspberry pi however is a fully functional Linux computer.
@rikys91
@rikys91 6 місяців тому
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 11 днів тому
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
@shivashiva8021
@shivashiva8021 3 роки тому
Thanks a lot
@cjlowe1650
@cjlowe1650 5 років тому
Great video. Is your network exposed to the outside world for some one who could try and hack into it?????
@RobertPriestley
@RobertPriestley 7 років тому
better to use a VPN connection, opening port 3389 is a big risk.
@mr.es1857
@mr.es1857 5 років тому
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.
@diegofung95
@diegofung95 4 роки тому
So in other words, if you have a Pi connected to a portable wifi dongle, you can connect to it remotely via this method ?
@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
@VovanP-ge9on
@VovanP-ge9on 7 років тому
You really connect to raspberry pi only use wifi? without lan cable? on main pc or connected to the router
@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.
@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?
@CornTrader
@CornTrader 3 роки тому
if u have dynamic IP it won't work, for this case u will need something like no-ip.com
@tstut111
@tstut111 3 роки тому
what if i connect the device to a different router? the raspberry pi
@tdneVmo
@tdneVmo 11 місяців тому
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?
@jacobkoz1835
@jacobkoz1835 4 роки тому
Thx
@nokellsrealty
@nokellsrealty 6 років тому
I can't connect with remote desktop connection. When I type in my ip a message pops up that says remote desktop cants connect
@mysticallego8739
@mysticallego8739 7 років тому
xclock didn't work... remote desktop connection isn't logging in... what did i do wrong?
@amanullahaman9245
@amanullahaman9245 6 років тому
How to bypass audio ??
@granulats484
@granulats484 7 років тому
2:52 i get at the 7th line "error-problem connecting" Can somone help ?
@azertyetbenito7662
@azertyetbenito7662 7 років тому
same
@granulats484
@granulats484 7 років тому
If you find the answer, please tell mi in the comments...
@P0L0G0D
@P0L0G0D 7 років тому
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 6 років тому
Had no success until I tried this, it worked perfectly! Thank you for posting. Bob
@mr.es1857
@mr.es1857 5 років тому
I checked in canyouseeme.org and the 3389 can't be seen , how can i fix this ??
@RakibFiha
@RakibFiha 6 років тому
Please, can anyone tell me, how can I do that in Mac????
@daroak1
@daroak1 6 років тому
how can i do this anywhere with internet but with android smartphone?
@gclintj
@gclintj 2 роки тому
Just curious, after 6 years, is there another better method? Thanks!
@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 років тому
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
@rushabhoswal8280
@rushabhoswal8280 7 років тому
in my router I don't have both option for tcp and udp, what should I do?
@leobrown3329
@leobrown3329 7 років тому
if it says both use that
@ivorycoding2208
@ivorycoding2208 4 роки тому
I just made two. One for TCP and another for ucp
@venomgaming8562
@venomgaming8562 7 років тому
well you cant start by already have your paspberry pi terminal
@richarballesteros5442
@richarballesteros5442 6 років тому
i love you
@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
@ianpratt4792
@ianpratt4792 5 років тому
What if the pi has wifi in it?
@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.
@JamesBond-fg6bt
@JamesBond-fg6bt 4 роки тому
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.
@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/
@raghavnuckched5760
@raghavnuckched5760 7 років тому
i cant access it away from home
@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
@MikeMcRoberts
@MikeMcRoberts 8 років тому
When I connect the Pi directly to the laptop how do I find out what the ethernet address of the Pi is please?
@tgdevaney
@tgdevaney 6 років тому
ip config
@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 :)
@viva7642
@viva7642 4 роки тому
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?
@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
@--Tanjumul
@--Tanjumul 3 роки тому
hmm using a pfsense ?
@avedistchamitchian1369
@avedistchamitchian1369 5 років тому
try to speed up the video to 1.75 and his voice speed becomes normal....
@XxxCR1SPYxxX
@XxxCR1SPYxxX 4 роки тому
So ip protocol is basically internet
@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
@zachwhelpley661
@zachwhelpley661 4 роки тому
Thanks but my guy, you're so freakin quiet haha
@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
@Alistar1992
@Alistar1992 7 років тому
yeah doesn't work
@venomgaming8562
@venomgaming8562 7 років тому
it just says network connection failed
@venomgaming8562
@venomgaming8562 7 років тому
nvrmnd im in. *hitting keyboard hard/heavy hacker breathing* lol jk
@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
@lthakur92411
@lthakur92411 4 роки тому
audio is too low
@emmanueljaramba5325
@emmanueljaramba5325 5 місяців тому
Good video but terrible sound, but your sound let you down!
@mrredstonia
@mrredstonia Місяць тому
No way you just said terrible sound on a 9 year old video 💀
@Geistie1337
@Geistie1337 8 років тому
dont sleep in
@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.
@DeanoEssex
@DeanoEssex 4 роки тому
"All that's needed is a Raspberry Pi and an ethernet cable or WiFi adapter/dongle." AND ANOTHER COMPUTER!
@sabbella13152
@sabbella13152 7 років тому
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??
@racerx6384
@racerx6384 4 роки тому
Invest in a mic
@Aterrebgnuoy
@Aterrebgnuoy 8 років тому
Dislike! Where's the Mac procedure?
@thunderzone1152
@thunderzone1152 6 років тому
Aterrebgnuoy use bootcamp
@MichaelPetersenprideboy
@MichaelPetersenprideboy 6 років тому
there is putty for mac
@canibalcorps
@canibalcorps 6 років тому
who the f*** care about Mac user ?
@helmgimble1258
@helmgimble1258 5 років тому
you're obviously not a programmer
@rushabhoswal8280
@rushabhoswal8280 7 років тому
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?
Access your PCs from ANYWHERE with REMOTE DESKTOPS (Linux, Mac, and Windows)
15:09
The Linux Experiment
Переглядів 131 тис.
McDonald’s MCNUGGET PURSE?! #shorts
00:11
Lauren Godwin
Переглядів 24 млн
Raspberry Pi Travel Router - RaspAP (2024)
15:06
Everyday Tech
Переглядів 74 тис.
Access Raspberry Pi ports from anywhere in the world without port forwarding using Remote.it
14:59
How to Access your Raspberry Pi via SSH over the Internet (port forwarding)
8:13
Connect Raspberry Pi to Microsoft Remote Desktop | Step-by-Step Guide
11:29
IT Samurai Teacher
Переглядів 8 тис.
Connecting to Wi-Fi and Using SSH - Raspberry Pi for Developers
6:24
Sam Meech-Ward
Переглядів 38 тис.
Better than Disney+: Jellyfin on my NAS
14:44
Jeff Geerling
Переглядів 1,1 млн
Raspberry Pi Projects
11:57
TJ FREE
Переглядів 1,7 млн
How to Remote Desktop Into Your Raspberry Pi (VNC/RDP)
4:34
Data Slayer
Переглядів 24 тис.
3 HACKING gadgets you have to TRY!!
19:34
NetworkChuck
Переглядів 1,4 млн
План хакера 🤯 #shorts #фильмы
0:59
BruuHub
Переглядів 990 тис.
Как должен стоять ПК?
1:00
CompShop Shorts
Переглядів 631 тис.
МОЙ ПЕРВЫЙ ТЕЛЕФОН - Sony Erricson T280i
18:02
ЗЕ МАККЕРС
Переглядів 66 тис.
Как должен стоять ПК?
1:00
CompShop Shorts
Переглядів 631 тис.
Result of the portable iPhone electrical machine #hacks
1:01
KevKevKiwi
Переглядів 7 млн
Я Создал Новый Айфон!
0:59
FLV
Переглядів 1,6 млн