How to Restart Emulation Station and RetroArch from SSH on Retropie

ssh into the server

run sudo killall retroarch

run sudo killall emulationstation

run emulationstation