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
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
Best video ever, you solved so many of my problems that I've been stuck on for hours. Thank you.
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.
This is amazing, thank you ! In my case the Port Forwarding it's called "Virtual Service" just in case someone get confused.
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?
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.
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?
awesome you made it simple.. im able to connected now.. I'm trying from many videos this is the perfect one. awesome again
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!!
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.
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
yah im thinking about it a while ago
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.
Best video for Raspberry Pi setup ever. Thank you for sharing.
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 ?
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.
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
I can't connect with remote desktop connection. When I type in my ip a message pops up that says remote desktop cants connect
How can i connect sql server from a server computer to mysql from raspberry pi?
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?
Calm and well delivered explanation. Thanks.
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
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 ?
This worked flawlessly, thanks for the post =)
worked fine, thanks Mr, i am still looking for a way to connect android keyboard and mouse with io controls
my search continues
Thanks for the tutorial!
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?
better to use a VPN connection, opening port 3389 is a big risk.
is it difficult ?
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.
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?
Is there a way to do this just forwarding an ssh connection not the VNC server?
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?
YOU ARE A HERO!
a very big thank you sir!
Hello, its possible to with Orange PI?
in my router I don't have both option for tcp and udp, what should I do?
if it says both use that
I just made two. One for TCP and another for ucp
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.
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.
So in other words, if you have a Pi connected to a portable wifi dongle, you can connect to it remotely via this method ?
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.
if u have dynamic IP it won't work, for this case u will need something like no-ip.com
xclock didn't work... remote desktop connection isn't logging in... what did i do wrong?
sir...
this was awesome...
i tried with tightvncserver too..
but nothing worked.
This worked great with me...WIndows10..
Thanks again.
Do u need static IP for this?
Can the pi desktop be accessed using VNC server from anywhere?
what if i connect the device to a different router? the raspberry pi
2:52 i get at the 7th line "error-problem connecting"
Can somone help ?
same
If you find the answer, please tell mi in the comments...
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".
thanks
Had no success until I tried this, it worked perfectly! Thank you for posting. Bob
Thanks a lot
What is the app on the Mac called equivalent to remote desktop?
i need to use the port 22 is there any way i can do that
Could you please tell me how to connect to putty using raspberry pi 3 with raspbian jessie with pixel for headless mode?
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
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 =(
I checked in canyouseeme.org and the 3389 can't be seen , how can i fix this ??
You really connect to raspberry pi only use wifi? without lan cable? on main pc or connected to the router
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.
+Arthur Klisiewicz hmm, have you configured the /etc/modules and wpa supplicant files for your WiFi connection?
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?
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
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.
you could set up a dynamic dns server.
thanks it worked for me ♥ ♥ ♥
Thx
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.
how can i do this anywhere with internet but with android smartphone?
Just curious, after 6 years, is there another better method? Thanks!
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
how do i change the port so that i can have multiple raspberry pis on the same network?
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
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?
Those are not computers so it is impossible to connect to them, the raspberry pi however is a fully functional Linux computer.
make one video to how to access raspberry pi gpio using mobile app and how to connect both are
is this supposed to be for macs when putty is only for windows?
This was made for windows but the same principals apply when using Terminal on the Mac
Great video. Is your network exposed to the outside world for some one who could try and hack into it?????
When I connect the Pi directly to the laptop how do I find out what the ethernet address of the Pi is please?
ip config
This is only possible if your operator is not behind a proxy server. Many are..
Do I need to complete intial setup of the raspberry in order to do this?
Thanks
Please, can anyone tell me, how can I do that in Mac????
When I type in ipconfig it gives me the message “bash: ipconfig: command not found”
Please help
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
Linux you need to type ifconfig
can you make a vid on how to connect putty?
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.
try to speed up the video to 1.75 and his voice speed becomes normal....
What if the pi has wifi in it?
So ip protocol is basically internet
hmm using a pfsense ?
how to do this remote connectivity using ethernet
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/
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?
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.
well you cant start by already have your paspberry pi terminal
How to bypass audio ??
i cant access it away from home
Why xrdp over vnc?
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 :)
i love you
If you needed this video, we aint friends
when i tried runnng putty, it was blocked...
If it's your first time connecting, there will be a warning that appears. If you click ok, it should let you in
Thanks but my guy, you're so freakin quiet haha
it just says network connection failed
nvrmnd im in. *hitting keyboard hard/heavy hacker breathing* lol jk
Good video but terrible sound, but your sound let you down!
No way you just said terrible sound on a 9 year old video 💀
our wifi router is secured by college authorities. i cant acess router configuration settings, is there any other way?
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.
yeah doesn't work
audio is too low
dont sleep in
What is the point of making a video if it's not audible? -_-
it is audible, you just need 75WRMS/ch and bookshelf speakers lolz!
Can you talk any slower??
"All that's needed is a Raspberry Pi and an ethernet cable or WiFi adapter/dongle." AND ANOTHER COMPUTER!
Invest in a mic
Dislike! Where's the Mac procedure?
Aterrebgnuoy use bootcamp
there is putty for mac
who the f*** care about Mac user ?
you're obviously not a programmer
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?