ssh into the server

run sudo killall retroarch

run sudo killall emulationstation

run emulationstation