Kodi, OSMC, Raspberry Pi

Kodi on Pi: First boot and set up headless terminal

This is the fourth in a series of posts on how I set up a Raspberry Pi as a Kodi box running OSMC.

In this post I describe what happens when you first boot the Pi with OSMC installed and how to set up headless access to the Pi command line via a terminal window on your PC.

First, download and install PuTTY onto your PC.

Then set up the Pi ready for the first boot:

  • Insert the micro SD card with OSMC installed into the Pi (slot is on underside and the card should ‘click’ in).
  • Plug the Ethernet cable into the Pi and your router/switch
  • Plug the HDMI cable into the Pi and your TV/Monitor
  • Plug your mouse into a Pi USB port (if your using a TV with HDMI-CEC then you may not need the mouse, see below)
  • Plug in the power supply and switch on the power

It takes a couple of minutes for OSMC to install; it will reboot a couple of times on the way so be patient.

Eventually you will see a Welcome screen.

If you have connected to your TV (rather than a monitor) you may be able to navigate the Welcome screen with your TV remote control if you have HDMI-CEC enabled on your TV; otherwise you’ll need the mouse connected to the Pi.

  • Select your Language and confirm.
  • Select your Timezone
  • Accept the default device name as osmc or give one of your own
  • Confirm the license agreement
  • Select the skin as OSMC (Classic is the standard Kodi Confluence skin)
  • Sign up to the newsletter if you want to
  • Click Exit

Some add-ons may get updated at this point; I got a warning that TheAudioDb.com add-on was incompatible so I chose Yes when asked to disable it.

You can now go fully headless and disconnect the Pi from your TV/monitor and disconnect the mouse if used.

Back onto the PC.

At this point you need to find out the IP address that has been assigned to the Pi by your router. I found the easiest way to do this was to log on to my router as the admin user and look at the connected devices; the Pi was shown as a device called osmc.

If you can’t get the IP address from your router you can download and install Advanced IP Scanner which should allow you to get the IP address.

Start PuTTy and enter the following:

  • Host Name : the IP address for your Pi e.g.
  • Check Port is 22 and Connections Type is SSH
  • In Saved Sessions type a suitable name; I used Pi
  • Click the Save button (this saves the IP address for the next time you log in)
  • Click Open
  • Click Yes to the security alert message


A terminal window will open; log in with the following credentials:

login as: osmc
password: osmc

(Optional) If you want to change the default password from osmc type the following command:


Run the following two commands to make sure you have the latest version of everything (answer Y to any prompts):

sudo apt-get update
sudo apt-get upgrade

So now you can make a headless connection from your PC to your Pi. But you can only connect with a terminal window and access the command line. The next step will allow you to see OSMC running on your Pi in a window on your PC by using VNC.

Next step: Set up headless OSMC using VNC


If you have found this useful then I’m glad to be of help. If you have found it REALLY useful you can send me 1 US Dollar by clicking the Donate button!

Donate Button


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s