How to start Emulationstation, that was installed manually from the RetroPie script, on Raspbian, for Raspberry Pi 2/3 (updated 7/26/16).
This post is in reference to my post on installing a Retro Gaming System on the Raspberry Pi 3. Click Here to read it.
So let’s say you are a beginner like me and you installed RetroPie on your Raspberry Pi 2 or 3, through Raspbian using the manual setup script. And, you are trying to figure out how to start it up so you can play some games. Well, you would think that after installing it, there would be some sort of icon or way to launch it from the desktop on Raspbian. Or you could go to the LX terminal, located on the desktop, and type “sudo” something, right?
Unfortunately, it doesn’t work like many other programs you installed on your Pi through the terminal. RetroPie is built on a program called Emulationstation (ES), and you have to start ES to run RetroPie. But, ES can’t be started through the LX terminal on your desktop either with “sudo something”. I tried that, it will give you an error and say you must stop X, and there is no launch icon. It can only be started from root. And no, not the root folder on your desktop. I mean, outside of Raspbian, through the command line interface (CLI or short).
Here is how to get to the command line interface, so you can run ES.
Go to the Start Menu-> Preferences->Raspberry Pi Configuration.
Then look for “Boot” under the System tab (what it automatically opens to). Switch the “To Desktop”, to “To CLI” and then click ok, then choose Reboot.
Then it will reboot (you will see all the script stuff like in the pic below) to the command line prompt (you may have to log in with your username and password. if you haven’t changed the default username and password, it would be username: pi and password: raspberry).
Then here is where you will type in “emulationstation”. Then you should see the ES logo load up and start RetroPie to a screen to setup your game controller.
To get out of ES and back to your desktop, you can push whatever button on your controller you chose to setup as the “start” button, and select Quit. Then at command prompt type, startx, and it will load the desktop.
That’s It! Took me a while to read between all stuff on all the forums, scratching my head, but I eventually got it. If there is an easier way, please share it with me in a comment, below!
Now, you can get it on like Donkey Kong!…..never mind….sounded good in my head! lol! Have fun playing those old games!
P.S. Once you change the setting under the preferences to boot to CLI, it will boot to that, until you manually change it back. You can just go to your preferences again and change it back to boot to the desktop.