Это видео недоступно.
Сожалеем об этом.
Remote Access with SSH and Remote Desktop - Raspberry Pi and Python tutorials p.3
HTML-код
- Опубликовано: 2 апр 2017
- In this Raspberry Pi tutorial, we're going to cover how we can remotely access our Raspberry Pi, both with SSH and with a remote desktop client. We want to eventually be able to remotely access our Raspberry Pi because much of the "value" of the Raspberry Pi is its size, and that it can be put in a variety of places that we might not want to have a keyboard, mouse, and monitor attached to it at all times and we probably don't want to have to carry over all of this stuff when we do want to access it.
Text-based version of this series: pythonprogramm...
/ sentdex
/ pythonprogramming.net
plus.google.co...
Probably the best tutorial I have ever watched
Thanks man, I went to like 5 different tutorials before and none worked. Yours worked flawlessly! big ups
3 yrs later and it still WORKS!!!! YOU DA MAN!!!! Thanks Bro!!
I know the video is a bit dated, but man you explained it perfectly.
Just a bit of note for me.
remote desktop >> GUI
SSH >> Terminal Sharing
1. Both device connected in the local network (E.G - Wifi, Ethernet)
In Raspberry Pi
1. ```Ctrl + Alt + t``` to open up terminal
2. ```ifconfig```
3. Physical connection >> ```eth0```; wifi connection >> ```wlan0```
4. look for ```inet addr``` get the ip address
5. Turn on SSH ```sudo raspi-config```
6. Interfacing options > SSH > Yes
In windows machine
1. Download Putty (Or, use WSL)
Using Putty
1. Host name (or IP address), give the IP address 192.168.0.103
2. username: pi; password: raspberry
In WSL:
1. ```ssh pi@198.162.0.103 (the ip address)
GUI
Microsoft: remote desktop Microsoft
(Pre installed)
Linux: grdesktop
raspberry
1. ```
sudo apt-get remove xrdp vnc4server tightvncserver
sudo apt-get install tightvncserver
sudo apt-get install xrdp
```
Windows
1. Give IP Address
2. Give credential
Thanks Dude, your videos are awesum. You saved me tons of hours or research. i got my AYI voice KIT ( google assitant) and couldn't SSH to my Pi. Found i never installed xrdp. did this and works perfectly!!
thanks so much!
cheers
What a time less video. I seem to always be finding myself coming back LOL . Thank you
Thankyou so much, I had been struggling to ssh from windows for ages, non of the other videos i watched helped, this is the best video by far, thankyou so much
use real vnc viewer
I keep coming back to this video, thankyou
This is the best video I found to date thank you
If I could like this video 1000 times I would. Thanks man, this was simple and straight to the point.
Nice video. Thanks for adjusting the size so that the commands in the terminal window are readable.
thanks, i managed to do the ssh stuff but wasnt sure about the things I needed for a remotedesktop connection, it works perfectly, only thing i changed was xorg instead of xvnc as u did
Mate that was so easy to follow. thank you so much. Will save me now looking at a 3rd screen and using a 2nd keyboard and mouse.
Bro, thank you so much, I thought I was gonna have to plug my Pi into a monitor, keyboard and mouse every time I wanted to make a change
100% work , very simple and easy , i recommande this method for every one
Simple and to the point. Excellent video!
Sweet thanx , I have been heisting my son's mouse now I can just run the pi straight from my pc , you are da Man
Absolute KING, this little kit I ordered off amazon skipped a few steps lol.
Still working! Thank you soo much man! Very helpful, RUclips was made for people like you. :)
Thanks for this! My keyboard wasn't recognised so i was able to get around it using my phone to create an unsecured wifi network, then connecting pi and laptop to it, then following your steps
Works like a charm, I even accessed the pi with android aswell. My nest step will be to use port fowarding to access the pi from outside my wifi network
Great vid. Best explination by far. Keep up the good work man!
I forgot I was watching at x1.25 and holy crap were you typing fast.
So many things to install, delete, refresh, config and much more and I don't understand any of them haha without you I would never know how to install all these stuff. I still don't know 🤣🤣🤣
Thanks heaps for making this so so simple for me to follow along. Legend!
Great video man , did exactly what I needed. Many thanks
Thanks vor the help. Best video on RUclips
Heart Warming Tutorials
Excellent video! Thank you very much
Exactly what I needed and if you disconnect the hdmi it still works
Great video, straight to the point!
Thanks for the great video very easy to follow
Excellent tutorial - worked first time thanks!
Great to hear!
Worked perfectly. Thank you for sharing!
It really helped me. Thanks! Greetings from Belarus!
Thank you bud. Great straight forward work. Were those 39 disikes by strictly mac users?
Good job.
quick and clear.
For me worked that all =D
So just for those Mac users who are completing this tutorial using a Mac with a raspberry pi - you will need to download the remote desktop app from the Mac store, it is called Microsoft Remote Desktop 8.0. Once you have it, create a new connection with the IP address of the raspberry pi and enter the username as "pi" and the password as "raspberry". You will then see the raspberry pi screen on your mac.
It didn't work
Thank you sir. it's masterpiece
Do you have to smash the keyboard everytime you hit enter?
Helped a LOT
Actually, there is an SSH client in Windows 10 since the Fall Creators Update.
To install it:
Settings / Apps / Manage optional features/Add a feature
Select OpenSSH Client
Click Install
Reboot
Thank you.great help.all worked right away.
If you want to get to the config easier. Click on the raspberry at the top left -> Preferences -> Raspberry Pi Configuration
thanks a lot for the easy and clear tutorial! New sub here
Thank you .. you saved my day
I watched your video again and noticed that you had your login module set to sesman-XVnc. In your presentation, you didn't mention which module one needs to select. I left it at the default, which was Xorg, and got nothing. I don't have sesman-XVnc on my list. I have choices like XVNC or sesman-any. With XVNC, I get the startup screen in the upper left hand corner, but then I get error messages as follows. Getting closer. Any thoughts?
------------------------------------------
Connecting to sesman ip 127.0.0.1 port 3350
sesman connection ok.
sending login info to session manager, please wait...
login successful for display 10
VNC started connecting
VNC connecting to 127.0.0.1 5910
VNC error. Problem connecting
Some problem
hi, I had the same problem, the only thing I can think is causing it is the xrdp version, because of the way it looks, I also tried a lot of diferent things but the only thing that worked for me was the way its done in this tutorial, ruclips.net/video/JYKZjUgtOYw/видео.html , the way he does it is a little different but worked without problems for me
Exactly the same problem, I bought the Pi recently..... and in every da*** video no one has XVNC or XORG. I tried everything, removing every single VNC server and no luck.
I used this command to list all VNC servers: "dpkg --get-selections | grep vnc" and removed everything and tried installing tightvncserver and xrdp again and no luck.
@@electric.tlacuache Please do not do this! The connection is unencrypted which can lead to possible interception of data! If you are new to networking this can be very dangerous! I would suggest if you can't get this to work use SSH only as it is secure
@@Dayrider10 thanks man, actually I am very new to networking, fortunately I wasn't doing anything serious with the pi, I was just playing with it, I no longer have the pi but thanks anyway, I will be more careful in the future with my networking stuff hahaha
I had the same problem. I installed vnc4server and it works with Xorg
Thanks, dude, you save my time!!!!!
was working for so long then stopped.... i will get into the xorg login and when i enter my credentials i get a black screen then back to my ip selection page from when i first started the app. i try restarting my pi and the computer I am using to access it remotely. Nothing. I have tried doing the sudo apt-get remove for all of those packages, then installing them. No different. Is there a certain program on the Pi that this is required to run these? because for the sake of storage i went and deleted a bunch of files that came pre installed on it. The ssh and putty still works fine.
Wow 1 and 2 I followed pretty good but on 3 you just went super fast techy, dang!
Love this tutorial, as there are Rasbery kits that don't make users aware the SSH is to allow you to use the device from your laptop so you don't need to setup the Rasbery to an additional keyboard and a screen.
Do you have a video on programming you raspberry Pi from you laptop? So you don't have to go out and buy the screen and keyboard?
Many helps, thank you. I dag out my rasp pi b and making some hobby
big thanks bro that helped me a lot :))))
Thank you very much, happy New Year
thank you so much for this... i've been following along exactly and you're explaining awesomely (even to my low level). FYI: as it's so tiny on the screen at 7:25 i found "xorg" to be the 'Session' drop down option that worked for me on my PC (i have no idea what that means... but i couldnt find one that said 'session-xvnc' (like it does on yours) on my Remote Desktop program. (please let me know if this is wrong!)
i'm looking forward to doing lots of cool things with my Pi (usually i just use an arduino until now i hope :)
Thanks, I was trying to use the closest option to his and it kept not working and I was trying to see what was wrong. Xorg does indeed work, thanks
Hey Dex!! Would you care to explain the last part about the 2 desktops, what they display and the rasp pi camera part you were talking about? I am not able to understand what you're trying to convey. Thanks and that was a great video!
Hi
I am facing connection issues while connecting through ssh if I'd is other than pi
It's showing acess denied
And secondly if I am shutdown configuration is not working through SSH or remote desktop
Please help me out
It's You again!
Thanks you sir.....
I am from india .
Thanks for you help......
Super clean dude nice explanation i recomend this video, btw i have a question that you might know if i do this (any remote for the raspberry) iam exposing my self for hackers? Or is pretty secure still? Also if i do remote control how i can do proxichain or change ip if im using my real ip for the remote ?
Hi, I’m new to the pi. I just came across your article.. Well done . I have done the basics with the pi and magic mirror. I got the time / weather set. How do you adjust for local news ? After you have the basic, how do you add / personal modules.? I have not been able to find directions or any good how to on youtube to make the changes. May be you could do a video/ a step by step to add modules and adjust the news for your local area.
Thanks
Valuable content, thanks!
Hey Aech, Nice video. I'm using the RPi for OctoPrint, and so, installed the OctoPi image (stretch-lite). I spent a lot of time (unsuccessfully) trying to ssh from PuTTY to the RPi. I'm not a bash-master, but I found these two things:
$ sudo apt install openssh-server but even after sudo systemctl enable ssh, I still couldn't get in from PuTTY. I found this on StackExchange:
$ sudo rm /etc/ssh/ssh_host_* && sudo dpkg-reconfigure openssh-server ...worked like a charm - hope it may help others.
p.s. Love the GTA videos... "he'll be fine, barely touched him."
Just hover your courser over the Wifi symbol in the upper right and it will tell you the IP address. I used vnc connect remote with ease
Amazing tutorial!!
Gracias por tu ayuda! de frente al grano como debe de ser!
Thanks, great tutorial
Great videos! It helps
Very useful! How can i use a pc editor and upload the code to the raspberry in order to work better?|
Thanks for your video. I'd tried several times before to connect remotely but never succeeded. This one worked like a charm. Though I've one suggestion, vnc server works better than xdrp server. XDRP was too slow. But I've already installed XDRP server. Can you pls share the command to uninstall it alone. I don't want to remove vnc server.
Great! Helped a lot :)
Followed instructions exactly however when I try to log in through remote desktop connection, remote desktop crashes in the log in screen (when I put user: pi and password: raspberry using the sesman-any) . thoughts? Please let me know!
does raspberry pi also need to be powered on when accessed via putty configuration?
Hello, I am a little confused between the last video and this. Is the laptop you are showing in this video still connected via Ethernet as you did in the last video? Because this was supposed to be done "remotely" in this video. So how did you connect to the Pi via a local IP?
how do you have true screen mirroring? so it shows mouse moving on the actual respberry pi itself
After I got my wifi enabled and connected this worked first time for Remote Desktop. If it works for me, it'll work for anybody. Thanks.
what if it dosent?
Hi, i had a problem with remote desktop. The Pi and pc must be in the same wlan or eth. I had pi on wlan and pc in eth, i did not work. I tried with my laptop in wlan and it worked. Is there a way to use it from eth or even from another network?
You're awesome mate! Thanks
Thank you!! So helpful :)
Enjoyed the tut. Concise and to the point. Wish a few more RUclips videos were the same instead of the excess waffle and loud self indulgent music. I'd like to know how I could use Putty so as to transfer files across from the PC to the Pi if this is possible. I'm a Linux noob but have nearly 3 decades PC experience from the days when a personal computer was of interest only to the electronic hobbyist.
You can download and install BitVise SSH Client www.bitvise.com/ssh-client
It can do SSH and file transfer (SFTP) between your PC and Raspbian.
Many thanks Michael.
i can remote my raspberry pi 4 as you have shown but its showing me the other screen of raspberry and the changes made are not reflecting in actual raspberry pi 4 screen
If I could leave you more than one like, I would.
If I wanted to just continue coding the pi with a keyboard, mouse and monitor is that fine as well?
I'm planning to use the rpi zero (without wifi or ethernet) for a project.
hello,
I have a problem with the vnc server whenever i open my raspberry pi in vnc viewer for few minutes it will be alright and after that i get like attempting to reconnect with the vnc server and the connection was closed remotely. can you please help me out with this and give a solution to it
I tried raspberry as the default password and it didn't work for ssh or vnc. So I changed the password via raspberry pi configuration and that seemed to work.
Hey mate, I couldn't find any answer to my question online. I ask it here as you seem to know it:
I want to connect to a raspberry pi remotely which is connect to a different router (in another city). So I the IP address of 192.168.1.XX does not seem to be the only thing I enter in PuTTY. Can you help me with the setting required for this connection?
Thanks
make sure you have the right ip address a lot of times it will change you need the Pi thats in another city to have static ip address (it wont change)
THANK YOU!
Can I use the remote desktop to control a pi while it's hooked up to another screen and get the screen the pi is actually plugged into to update with the remote desktop? I'm trying to turn the pi into a mobile battle map for D&D
thanks, worked just fine
Hi
thanks so much for the vids, helps alot as a beginner
SSH connection works perfectly via WiFi but i cant seem to use 'xrdp'
Running Win10 OS and downloaded the remote desktop from microsoft store, its a different version then in this vid.
when trying to connect i just get "Couldn't connect".
does anyone have some advice?
Free palestine 🇵🇸☝️🇵🇸☝️🇵🇸☝️🇵🇸
I installed raspberian on windows 10.and after running putty configuration window putty fatal error is coming with a message network error:connection time out so i could not see the login id to enter further.how do i solve this error?
Have you resolved it. I have the exact same error
I installed raspberry to a virtual box.I use windows 10.HOw can I access my SD card through it?How can I make my environment read that SD card from my windows?
I'm a newbie looking for a way to watch movies from KODI through my Raspberry pi 3 B+ to my laptop wirelessly. Which is better SSH or remote desktop and does this require a wireless router or will the onboard Raspberry wifi do it?
Pro tip. On windows 10 you can use PowerShell (built into Windows 10) to SSH
Hi, Thanks for the videos!
there is an option to connect 2 different Raspberry Pi to one Putty program (I mean on one computer)?
i have an error "initializing sound-support failed" which prevents me each time from connecting, any ideas?
What you didn't explain was ahere the command screen came from! Mine is the one associated wth the laptop. How do I get the one associated with the pi?
Where did you get the hoodie from? It's a nice and simple design.
can you mirror remoter terminal windows on all monitors? So that you can see whos working on it and to prevent accidental reboot/shutdown?