Setting up you Raspberry Pi : UI Screen Resolution, SSH & Update

Once you have successfully install the OS of your choice on your Raspberry Pi, now it’s time to configure it.

UI Setting

To do this, open a new Terminal window. Call the configuration tool, using this command

sudo raspi-config

A new graphical user interface (UI) will open. Navigate inside to adjust the right parameters.

Set language, clock, keyboard, and localisation in /Localisation Options

Set the audio output in /Advanced settings

Once done, your Raspberry Pi will restart itself, in order to take your input in consideration.

Screen Resolution

To adjust the screen resolution, go at this link. If you don’t know what is the best for your screen, press its auto-adjusting button, the ideal resolution size will be displayed.

Find quickly the right parameter to associate your ideal screen resolution using the Search in the page tool of your internet browser. Note the values for these two parameters.


Now, from a Terminal window on your Raspberry Pi, type

sudo nano /boot/config.txt

You will now use nano, a basic texte editor, a tool you will very often when setting up something new on your Pi.

Goes to the lines with “hdmi_group” & “hdmi_mode”.

Erase the “#” in front of these two parameters, and re-adjust the values with the rights values you have previously selected for your screen. Then press Ctrl + O to save, then Ctrl + X to exit nano, the text editor.

Type a restart command make your changes appear :

sudo reboot

Congrats, you just set the screen resolution.

SSH Setting

In this step, we will set a SSH access for our Pi, so its Terminal will be accessible from all the devices connected to the network it is connected to.

From the Desktop, connect now your Raspberry Pi to the Internet, using an RJ45 cable or via Wi-Fi (antenna embedded in Raspberry Pi 3 Model B).

Start a new Terminal window


sudo raspi-config

This time, goes to /Interfacing Options, then Select /P2 SSH, and activate the SSH function.

Once done, type


Please note the IP address of your Pi. Write it somewhere.

Now take your favorite computer. You can even work now from your couch. From your Mac, or your Linux computer, open a terminal and type

ssh pi@IP-address-of-your-pi
//example : ssh pi@

(If you’re using windows, here is a solution for you)

The default password is raspberry. You can always change it from the raspi-config tool we have previously used.

If you’re encountering any SSH-connection troubles with your machine and your Pi, it may help you to type this reset command :

ssh-keygen -R IP-address-of-your-pi

Now that you have the control on your Raspberry Pi from a place where you feel comfy, now we can start the long and boring part of updating without becoming impatient.

Raspberry Update

In this step, we will set update everything on the Raspberry Pi, from all its packages to its kernel. It can take some times. Don’t worry, it’s alright, you can do it remotely, and chill out.

From your connected SSH-remote device, type

sudo apt-get update
sudo apt-get upgrade

This command will list all the package presents on your Pi, in order to check if there is a new version available. Once done, type

sudo apt-get dist-upgrade

This takes (a lot of) times...

To force the Kernel update (in case it had not been performed automatically with the last command), type

sudo rpi-update

Now you have a working Raspberry Pi, up to date, ready for your first steps. Good job ;-)