One of the first things to do is log into the the RPi via SSH and run raspi-config:
We will:
- Update raspi-config
- Set Localization options
- Change Locale to 'en_US.UTF-8 UTF-8'
- Change Timezone to US-Eastern
- Change Keyboard Layout to match the new locale
- Change Wi-fi Country to 'US United States'
- Under Advanced Options
- Expand Filesystem to use the entire microSD card
But how? Some options:
- From the RPi SSH terminal command line
- By downloading software packages onto the laptop and transferring them to the RPi for installation (WinSCP is good for this):
- Installing via the Rasperry Pi Desktop's Applications Menu -> Preferences -> Add/Remove Software.
- But we are running headless and there's no Desktop GUI!
On your Raspberry Pi, run the following commands to make sure you have the latest versions of software, including VNC Connect:
Now, enable VNC Server by running raspi-config and doing the following:
-
Navigate to Interfacing Options.
- Scroll down and select VNC > Yes.
On the laptop you will need to download and install VNC Viewer so you can connect to VNC Server that is running on the RPi:
Once it is installed, we can start VNC Viewer on the laptop, direct it to the IP address of the RPi and login with our default credentials:
Next steps:
When installing the Raspbian release 2018-04-18, I got errors when attempting to change localization settings with raspi-config
ReplyDelete("locale: Cannot set LC_CTYPE to default locale: No such file or directory")
I was able to fix this by adding a line to /home/pi/.bashrc:
export LC_ALL=C
I then re-sourced the file before doing 'sudo raspi-config'