Skip to content

Fedora 18 on Raspberry Pi : Things to do after Installation

March 15, 2013

I used fedora 18 as the OS for my raspberry pi. As I have worked with fedora desktop version in my PC for years, and I’m much familiar with it. Also I found out that there are many fedora packages built for ARM architecture which can be installed in the Raspberry Pi. By default fedora for RasPi comes with XFCE desktop but there are packages for other desktops as well.

Installing Fedora 18 on Raspberry Pi

You can download the image from here[1] and follow the instructions here[2] (It’s written for fedora 17 but applicable for fedora 18 also)

Connecting to internet using (Linux) PC’s wireless connection.

If you are using a wireless network connection, you will need to share your PC’s internet connection with your Pi. Using a LAN cable you can share that with the Pi. To do that,

  • Connect the Pi and the PC with a LAN cable.
  • On PC,
    • Go to “Manage Connections”
    • On “Wired” tab select the connection with your Pi.
    • Select edit and go to “IPV4 address” tab
    • Select the connection method as “Shared” and save the changes.
  • On the Raspberry Pi,
    • Follow the above steps as on PC, but select “Automatic DHCP” as connection method.

Now you should be able to enjoy the wireless network connection of your PC from Raspberry pi

Access Ras Pi with SSH (using a LAN cable)

You may find it difficult to use a separate display device (a monitor/TV), keyboard and mouse each time when you need to work with your Pi. Instead you can use your PC and LAN connection to work with your Pi without an additional display device.

One way to access the Pi is using SSH. There you can log into the Pi using the PC’s terminal and do the stuff you like issuing the commands from there.

Following are the steps to access your Raspberry Pi from your PC’s terminal(using SSH).

  • Power on your fedora installed Pi. (No need of connecting a display device, key board or a mouse)
  • Connect it to your PC with a LAN cable

Now the connection should have made between the PC and Pi. However, to access the Pi using SSH we need to know its IP (and user credentials which we know already). Since we don’t have a display to view that IP from the Ras Pi, we should also get that IP from the PC. For that,

  • Open the terminal in the PC
  • Type “ip neigh” and that should show your LAN neighbour’s IP which is the Pi’s IP
  • Now issue “ssh <ras_pi_username>@<ras_pi_ip>” (for example in my machine it was “ssh pulasthi@”)
  • Enter the user password when prompted.
  • If you got all correct you should be logged into the Pi and the terminal should display “<ras_pi_username>@pi”
  • Now you are inside the raspberry pi, you can issue any command for Pi at the PC’s terminal

Also note that if you want to transfer files you can use the “scp” command. The syntax for copying is “scp <src_username>@<src_ip>:<src_file_path> <des_username>@<des_ip>:<des_file_path>”

Note that “src” in the above refers the Computer from which the file should be copied, and “des” refers the computer to which the file should be copied. The username@ip part is not necesary if they are in the same machine.


if Pi has the IP, the following command(on PC’s terminal) copies the file at “/home/piuser/test.txt” of the Pi to the current folder in the PC

PC $ scp piuser@ ./

This copies “/home/pcuser/test.txt” of PC to Pi’s “/home/piuser/” folder

PC $ scp /home/pcuser/test.txt piuser@

Setting up Remote Login

The SSH access gives only a command line interface to work with. But sometime you may need the graphical interface to work with the Pi. Remote desktop can be used to achieve this without using a display, keyboard or a mouse (on an already setup Pi)

  • Turn on the Pi and connect it to PC using a LAN cable
  • Login to the Pi using SSH
  • Install the tigervnc-server package from the terminal (if you haven’t done already). Use the command “sudo yum install tigervnc-server -y” to install it.
  • Install switchdesk (if you haven’t done already). “sudo yum install switchdesk -y”
  • Type “switchdesk xfce” to tell that we are going to use xfce desktop
  • Create a vnc server by “vncserver :1 -geometry 800×600 -depth 16”. The geometry and the depth may be given different parameters if you like. Setup the vnc passwords if prompted.
  • Confirm that the server is created by typing “vncserver -list”. The server you created should be in the list
  • Now in PC, run “Remote Desktop Viewer” application
  • Click connect button and give,
    • “VNC” as the protocol
    • <pi_ip>:1 as Host (e.g.
  • Click connect give the vnc password you setup if prompted. After few seconds you should be able to see the Pi’s desktop from your PC !

[1] (

[2] (


From → Uncategorized

Leave a Comment

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: