Building a Custom Retrogaming PC with RetroPie and Ubuntu Minimal

From Wiki
Revision as of 13:48, 10 December 2019 by Jay (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


In this video, Jay shows how to build a custom RetroPie installation, an an Ubuntu Minimal install with the intent for it to be a dedicated retro-gaming machine.

Relevant Links
Original Video

Install Ubuntu Minimal

Available for download here:

Consider opting for samba and openssh when asked to choose a list of features

Once logged into your new install, make sure you're up to date

sudo apt update && sudo apt dist-upgrade

Install prerequisites

sudo apt-get install -y git dialog unzip xmlstarlet

Create a directory for downloading the RetroPie setup script via git

mkdir git

Clone the RetroPie setup script repository

git clone --depth=1

Change into the RetroPie-Setup directory and run the script

 cd Retropie-Setup
 sudo ./

Choose the "basic install" option and wait, can take up to an hour or more

Install LightDM and Openbox

 sudo apt install lightdm lightdm-gtk-greeter openbox

If you have a proprietary video card, such as Nvidia, install the Ubuntu drivers helper tool

 sudo apt install ubuntu-drivers-common
 sudo ubuntu-drivers autoinstall

Add automatic login for your user

 sudo nano /etc/lightdm/lightdm.conf

Add Samba configuration (optional)

 sudo apt install samba
 sudo nano /etc/samba/smb.conf
 server string = Retropie Gaming Console
 workgroup = MYWORKGROUP
 security = user
 map to guest = Bad User
 name resolve order = bcast wins
 include = /etc/samba/smbshared.conf
 sudo nano /etc/samba/smbshared.conf
 path = /home/<user>/RetroPie
 force user = <user>
 force group = <user>
 create mask = 0664
 force create mode = 0664
 directory mask = 0777
 force directory mode = 0777
 public = yes
 writable = yes

Note: Make sure that once RetroPie launches, go into the setup script and enable automatic login