FAQ | Contact Us  |  Register  |  Login

UC Davis Center for Integrated Computing and STEM Education (C-STEM) --- Research and Outreach
Home > C-STEMbian > Getting Started with Windows, Mac, Chromebook, iPad, etc. > Access from Chromebook

Access from Chromebook

You can use Chromebook to access the Raspberry Pi, then run C-STEM Studio to program and control robots directly. However, extra setups need to be done on the Pi through Windows or Mac first. Therefore, before you move forward to the following tutorial, you should make the Pi work with either Windows or Mac. You can find the tutorials for Windows and Mac on the side menu.

1. Set up Wi-Fi with Static IP Address for a single Raspberry Pi or a classroom set of Raspberry Pis in Windows or Mac

This step will be done on Windows or Mac. So it assumes that you have done other tutorials and made your Raspberry Pi work with Windows or Mac. If you are setting up a classroom set of Raspberry Pis, you must complete these steps 1-7 for each Pi individually.

  1. Log into your Raspberry Pi as described in Access from Windows,  Access from Mac or Access Wirelessly. Your  wireless connection shall displayed as follows.

  2. Put your mouse on the icon for Wi-Fi for a second (without clicking)
  3. Write down the IP address (e.g. associated with wlan0 in the float window
  4. Right click on the Wi-Fi icon and select “Wireless & Wired Network Settings” 
  5. In the first pulldown menu next to “Configure:” select SSID. In the second pulldown menu, select the Wi-Fi network you are using on your Raspberry Pi (In the picture below, we are using the wireless network “C-STEM”).
  6. For “IP Address:” input the IP address you wrote down earlier (Step 3).
  7. Click “Apply”

2. Access the Raspberry Pi from Chromebook through Graphical User Interface (GUI)

Follow these instructions to access the Raspberry Pi from a Chromebook through graphical user interface.

  1. Install VNC Viewer from the Chrome Web Store. Click “Add to Chrome”
  2. After downloading, VNC Viewer will now be in your apps on your Chromebook. Click the white circle in the lower left corner of your desktop to access your apps. Then click the icon circled below to launch VNC Viewer.
  3. Launch a VNC viewer, type the IP address in from the Step 1, and click Connect
    • The first time you connect the Raspberry Pi, your machine may take some time to recognize it. If the VNC viewer gives an error message “Cannot establish connection,” please wait a few minutes and try again.
  4. In “Authentication,” use the user account “pi” and password “raspberry” to login.
  5. On the desktop login screen, use the user account “pi” and password “raspberry” to login.

3. If your screen is too big or flickering, you may need to adjust the resolution

  1. Open the Applications Menu (in top right corner of screen)
  2. Click “Preferences”
  3. Click “Raspberry Pi Configuration”
  4. Click “Set Resolution…”
  5. Choose an appropriate resolution for your monitor. (for example: CEA mode 16 1920×1080 60Hz 16:9)
  6. It will ask you to reboot. Click Yes.


4. Click the icon on the top left as shown below to launch C-STEM Studio.

C-STEM Studio in Raspberry Pi is the same as that in Windows and Mac OS X.

5. For Advanced Users: Access the Raspberry Pi through Command Line Interface (CLI)

This tutorial will teach you how to access the Raspberry Pi from a Chromebook through command line interface. Before you start the following instruction, make sure you have connected the Pi with Wifi and you have the IP address written down.

  1. Before you can access the Pi through the CLI, you must enable ssh. To do so,
    • Click the Start Menu (the raspberry icon in the upper left corner)
    • Click Preferences, then Raspberry Pi Configuration.
    • Click on the Interfaces tab
    • Next to SSH, check “Enabled”
  1. Install “Secure Shell” from Chrome Web Store
  2. Open “Secure Shell” after installation
  3. Type a nick name for your Pi in the box on the first line
  4. Type your username (“pi” by default) in the first box on the second line
  5. Type the IP address you found from last instruction in the second box on the second line
  6. Type 22 as the port in the last box on the second line
  7. Press Enter to connect
  8. Type yes and press enter when it is asking for authenticity for the first time
  9. Type in the password (“raspberry” by default)
  10. You have successfully logged into the Pi when you see a line “pi@raspberry:~$”
  11. (Optional) Type in “sudo passwd” to set up a new password instead of the default one for security consideration