RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    How to run RetroPie as a standalone custom Xsession on PC?

    Scheduled Pinned Locked Moved Help and Support
    retropiexsessstandalonecabinet
    2 Posts 1 Posters 467 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      webodan
      last edited by

      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.

      W 1 Reply Last reply Reply Quote 0
      • W
        webodan @webodan
        last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        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.