Configura o acesso remoto ao teu Raspberry Pi a partir do Windows
If you don’t have a monitor exclusively to your Raspberry Pi maybe you have the need to setup the remote desktop to have always access to your minicomputer.
In this article you will learn how to setup the remote desktop access from your Windows computer in your home network.
Se não tens um monitor exclusivo para o teu Raspberry Pi talvez seja melhor configurares o acesso remoto para poderes controlar o teu minicomputador.
Neste artigo vais aprender como configurar o acesso remoto a partir do teu computador Windows na tua rede doméstica.
Raspberry Pi Setup
Configuração do Raspberry Pi
First you need to install some software on the Raspberry Pi.
- Open your Raspberry Pi terminal prompt.
- Type the following command
- If promoted enter your password (the default is “raspberry”)
- Type “Y” and press enter.
- It will install the xrdp onto your Pi which is the software for the remote desktop connection.
- Once it’s installed restart your Pi, xrdp is going to start up automatically.
- When your Pi has booted open the terminal again, type ifconfig and take note of the IP address, this will be used to connect the Pi from the second machine. In my case the IP is 192.168.1.75
sudo apt-get install xrdp
Primeiro tens de instalar algum software no teu Raspberry Pi.
- Abre a consola do Raspberry Pi
- Escreve o seguinte comando
- Se necessário escreve a tua password (a original é raspberry)
- Escreve “Y” e prime enter
- Este comando vai instalar o xrdp no teu Pi que é o software para o acesso remoto
- Quando a instalação terminar reinicia o teu Raspberry Pi e o xrdp vai-se iniciar automaticamente.
- Quando o arranque finalizar abre novamente a consola, corre o comando ifconfig e toma nota do endereço IP, vais necessitar dele para configurar a ligação no computador Windows. No meu caso o IP é 192.168.1.75.
sudo apt-get install xrdp
Windows Setup
Configuração do Windows
- Open the Remote Desktop Connection
- Type the IP Address from your Raspberry Pi
- Click Connect, if a security warning prompt just click OK
- Now you need to login in your Pi, leave the Module on the default of sesman-xvnc and enter your username and password, the default values are pi and raspberry
- Click OK and after a few seconds you should have access to your Raspberry Pi.
- Abre o Remote Desktop Connection
- Escreve o endereço IP do teu Raspberry Pi
- Clica em Connect, se aparecer algum aviso de segurança clica em OK
- Agora necessitas de fazer login no teu Pi , deixa o Module com o valor sesman-xvnc e introduz o teu nome de utilizador e password (os valores originais são raspberry e pi respectivamente)
- Clica em OK e após alguns segundos deves ter acesso ao teu Raspberry Pi