This lesson is not needed if you have everything working correctly with VNC.
You can skip and go directly to the next section.
However, I will introduce here another way to connect to your Raspberry Pi desktop.
And I'm doing this for two reasons.
First, it looks quite promising and easy to use.
And second, well, if somehow you got completely stuck with VNC and you still don't have access to
the desktop interface, well, this is an alternative way you can try and very basically put, what
we will do is we will set up something on the Raspberry Pi, and then we will be able to access the
desktop from a web browser.
Okay.
So anywhere you have a web browser.
So if you have Linux, Mac or Windows, well you can have a web browser in any of those.
So you should be able to connect to your Raspberry Pi from any operating system and actually from any
device.
So it could be a phone, it could be a tablet anywhere you can open a web browser, you should be able
to access to the Raspberry Pi desktop.
Okay, so now I'm going to show you how to configure that.
Just note that for the following of this course I will still use VNC, but you may just try it, test
it and do as you want.
And the second note is that this only works with Raspberry Pi, OS bookworm and more recent operating
system.
So if you are still using an old operating system on the Raspberry Pi, well, flash the new one.
Okay, it's only going to work with the new versions.
So first of all, you can open a web browser and just search for Raspberry Pi Connect.
Okay.
And you should get to a page like this.
So as of today as I'm recording this, it's still in beta mode okay.
It's probably going to go out of beta soon.
So you can get access to this here.
And you can just sign in to Raspberry Pi Connect.
So you create an account here.
I have just linked my Google account to it.
So you create an account and then you should get to this dashboard or something similar.
After you have created the account and logged in and the URL that I have here is connect raspberrypi.
Com slash devices.
Okay.
Once you get this account you can put it aside.
We will come back to this just in a few minutes.
And now we need to get access to the Raspberry Pi.
So I'm going to open a terminal here on windows.
And we will connect to the Raspberry Pi with SSH.
So at this point what are the requirements?
The requirements are that the Raspberry Pi is powered on okay.
With the SD card that is connected to the Wi-Fi network.
So pay attention here.
Make sure that it's the same Wi-Fi network that your computer is connected to.
Okay, you should already also have found the IP address, so I'm just going to run my angry IP scanner
here again just to make sure that I have the correct IP address.
Okay.
And it's a bit weird.
I got 29, but I can sort by ping.
You can see.
Well, this time I have my Raspberry Pi here.
So I find the hostname.
If you have too many IP addresses like this and you don't have the hostname, maybe just stop and start
again and maybe you just power off and power on the Raspberry Pi.
Restart your WiFi router.
Okay, but this is the IP address that correspond to my Raspberry Pi.
So let's go.
SSH.
Pi okay 192 168.
Then it was zero.
And then 222 okay.
So the requirements is that your Raspberry Pi and your computer here are connected to the same network,
that you can find the IP address and that you can also get access to it with SSH.
So I'm going to put yes here put the password okay.
And when you are in the Raspberry Pi you will do a sudo apt update.
And then you will do sudo apt upgrade.
Okay.
Here if you have something like this do you want to continue.
You can just press enter.
So you're going to update all packages here I just had one.
So it's going to go quite quick.
But you may have more.
So just wait the time that's necessary for all the packages to get updated.
And then you can run this command sudo apt and install like that and then space rpi dash connect just
like that and press enter.
And actually I had already installed it.
So just make sure that if you have this it means it's you see it's installed.
This is what we need RPI connect so that the Raspberry Pi Connect will work.
After you have this then you can reboot the Raspberry Pi.
Okay, so I'm going to write sudo reboot and press enter.
And you can see now we lose the connection because of course the Raspberry Pi is rebooting.
We're going to wait a few seconds, so maybe 30s and try to connect again.
Okay.
Let's try.
So I use the up arrow to put the same command.
So the SSH command on windows asks the password.
And we are back to the Raspberry Pi.
Now we need to do one more thing.
We are going to use the RPI connect command like that and write sign in.
Okay.
So you write exactly like this.
You press enter, you wait a bit and as you can see you have complete sign in by visiting and it gives
you a URL with here a code so you can copy this.
Okay.
Um, how to copy this?
Well, actually, if you press Ctrl and click, you should be able to go directly.
And then we go here and we're going to sign in with the account that we have created just before.
And we're going to just name our new device.
So this is this is what this is a name just to recognize the new device.
So I'm just going to name it course Raspberry Pi I create the device and sign in okay.
So the device sign in successful.
And then I guess we can just go back to what.
You can just go back to your account and you will see that now okay.
Now you should have this.
You should have the Raspberry Pi.
So with the name course Raspberry Pi, that's the name I gave it.
This one is registered and you will see a button here.
Connect via.
All right connect via.
You can get the remote shell.
So that's just like ssh or you can do screen sharing.
I'm going to click on Screen Sharing.
It opens a new window.
Waiting.
And after a few seconds we are on the Raspberry Pi desktop.
All right.
So that's quite convenient okay.
You can just open from a web browser.
And you can see here we have this icon, uh about Raspberry Pi connect with screen sharing here.
And it's basically the same thing as we had with VNC.
The only differences is that, well, to copy and paste from the Raspberry Pi to your computer, you
might have to click on those buttons.
Okay.
You have extra commands here.
The control alt escape tab okay.
But apart from that this is well, this is the Raspberry Pi OS desktop.
So you can just follow the course and do everything from this interface.
And if you if you want to disconnect you just click on disconnect here and you see that ended.
And note that when you disconnect you don't shut down the Raspberry Pi, you are just disconnected.
The Raspberry Pi is still is still powered on.
It's still working.
So you can reconnect.
Okay.
And you are back.
If you want to shut down the Raspberry Pi, you should go here on this icon, this menu, and then click
on shutdown okay.
And you can shut down the Raspberry Pi.
And of course when you shut down you also lose the connection.
And I'm just going to refresh that page.
And you can see that after the Raspberry Pi has shut down, you don't see the connect button here.
Okay.
You don't see the connect button.
So the connect button is only going to be present when the Raspberry Pi and your computer are connected
to the same network.
And well, that's it for Raspberry Pi Connect.
So as you can see, once you have set it up, it's really easy to use.