FAQ | Contact Us  |  Register  |  Login


UC Davis Center for Integrated Computing and STEM Education (C-STEM) --- Research and Outreach
Home > C-STEMbian > Access from Mac OS X

Access from Mac OS X

A Raspberry Pi can run stand alone, connected with a monitor, keyboard, and mouse. However, C-STEM Studio on Raspberry Pi can also be accessed through Windows, Mac, or Chromebook computers  using existing peripheral devices through Virtual Network Computing.

In order to set up your Raspberry Pi for remote access, follow these steps

1. Connect your Raspberry Pi to your laptop using an Ethernet Cable for network access and Micro-USB for power

  • Mac laptops do not have Ethernet ports, so you must use an Ethernet to USB adapter (shown in picture below).

Raspberry Pi to Mac laptop configuration

 

3. Access the Raspberry Pi through Graphical User Interface (GUI)

  1. Download and install VNC software, such as realvnc and tightvnc, from the internet.
  2. Launch a VNC viewer and type raspberrypi.local and hit 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. If it still cannot connect after 10 minutes, you may want to double check if both Bonjour and iTunes have been installed.The first time you connect the Raspberry Pi, a screen will pop up with “Continue Connecting?” Press OK.
  3. In “Authentication,” use the user account “pi” and password “raspberry” to login.

    Step 3

  4. On the desktop login screen, use the user account “pi” and password “raspberry” to login.

Step 4

The next time you connect your Pi, you can start from step 2 (Launch a VNC Viewer).

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. Change your login password

  1. Click the Start Menu (the raspberry icon in the upper left corner)
  2. Click Preferences, then Raspberry Pi Configuration.
  3. Click “Change Password…” and enter your new password.

  

6. (Optional)  Change the hostname of your Raspberry Pi

If you will be using multiple Raspberry Pi’s wirelessly in one room at the same time as described in “Access Wirelessly“, you need to change the hostname of your Raspberry Pi.

  1. Click the Start Menu (the raspberry icon in the upper left corner)
  2. Click Preferences, then Raspberry Pi Configuration.
  3. Edit the text in the box next to “Hostname” (circled in the picture below). Remove the default hostname “raspberrypi” and type in a unique hostname, e.g., cstem1.
  4. Use the new hostname.local, e.g., cstem1.local, to access the Pi (step 2).

 

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

  1. Open a terminal and execute the command “ssh pi@raspberrypi.local” or “ssh pi@cstem1.local”
  2. Type “yes” and hit enter if asking for authorization.
  3. Type in the login password “raspberry” or your custom password if you have changed it.