New Raspberry Pi Desktop Setup

Raspberry Pi Logo

Booting for the first time from a desktop/full image obtained from the official Raspberry Pi website. You will find yourself on the desktop with the “Welcome to Raspberry Pi” wizard open.

Change Password

sudo raspi-config
Change User Password Change password for the ‘pi’ user
You will now be asked to enter a new password for the pi user.

sudo passwod
Changing password for pi.
Current password:
New password:
Retype new password:
passwd: password updated successfully

Set Host Name

sudo raspi-config
Network Options > Hostname
Please note: RFCs mandate tha a hostname’s labels may contain only the ASCII letters ‘a’ through ‘z’ (case-insensitive), the digits ‘0’ through ‘9’, and the hphen. No other symbols, punctuation characters, or blnk spaces are permitted.
OK

sudo hostnamectl set-hostname NewHostName

Time Zone

sudo raspi-config

Localistation Options “Set up languagr and regionsl settings to match your” > Change Time Zone >

Select Country
Select City

Current default time zone: 'Country/City'
Local time is now: Wed Jun 31 11:03:10 AEST 2027.
Universal Time is now: Wed Jun 31 01:03:10 UTC 2027.
sudo timedatectl set-timezone Australia/Sydney

Language

??

Set Country

As this is a prerequsite to setting up WiFi. You have have already done this via the WiFi setup.

sudo raspi-config

Localistation Options “Set up languagr and regionsl settings to match your” > Change WLAN Country > Country

Wireless Lan country set to XX

WiFi Network

sudo raspi-config

Network Options “Configure Network Settings” > Wireless LAN >
Select the country in which the Pi is to be used.
<OK>
Wireless LAN country set to XX
Please Enter SSID
WiFi Name
<OK>
Please enter passphrase. Leave it empty if none
<OK>

Update Software

Disable Bluetooth

Raspberry Pi 3

sudo nano /boot/config.txt

Add the following line(s)

#Disable Bluetooth
dtoverlay=pi3-disable-bt

Update

sudo raspi-config

Update

sudo apt update && sudo apt upgrade -y

Reboot

sudo reboot now

Enable SSH

sudo raspi-config

Interfacing Options “Configure Connections to Peripherals” > SSH >
Would you like the SSH server to be enabled?
Caution: Default and weak passwords are a security risk when SSH is enabled!
<Yes>
The SSH server is enabled
<OK>

Create a blank and extensionless file on the SD cards boot partition

touch /media/user/boot/ssh

Enable VNC

sudo raspi-config

Interfacing Options > VNC >
Would you like the VNC Server to be enabled?
Yes

Created symlink /etc/systemd/system/multi-user.target.wants/vncserver-x11-serviced.service → /usr/lib/systemd/system/vncserver-x11-serviced.service.

Set to ask password to login

Enable Camera

sudo raspi-config

Interfacing Options > “Configure Connections To Peripherals” > Camera >
Would you like the camera interface to be enabled?
<Yes>
The Camera Interface is Enabled
<OK>

Setup VPN

WireGuard

Install Applications

sudo apt install -y docker.io nmap tmux

Schedule Automatic Updating

How to Automate Raspberry Pi Updates