How to run RetroPie as a standalone custom Xsession on PC?
-
I've been trying for the last couple of days to get this working, since I'm making something as close as RetroPie on an SBC, but using PC hardware, but I've just been unable to.
I'm running Mint 19.3 and I've already made my own Xsession in
/usr/share/xsessions
, however I could only get RetroArch itself to run reliably.The closest I got to having EmulationStation as it's run by RetroPie has been on a script like this:
#!/bin/bash openbox & emulationstation killall openbox
This way, after selecting "Quit EmulationStation" in the ES menu will end the session the way I want, but for some reason, when it's run like this, I can't run any game in my list! (ES will simply attempt to load the game, do nothing, and go back to the game selection menu).
I've tried adding it the way it's supposed to run, which is
gnome-terminal --full-screen --hide-menubar -e emulationstation
, but all attempts have been futile, the session either restarts or doesn't start at all.How does one make a fully working Xsession running only EmulationStation and that it's also able to close the Xsession fully (going back to the desktop manager) after quitting ES itself?
Sorry if this is the wrong place to ask for this, but since RetroPie doesn't have an own distro, I don't know where else to ask.
-
@webodan I found my own solution in this github post. All it took was adapting his SwitchToKodi script to kill Xorg after emulationstation was dead instead of having a user switch.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.