Start emulationstation with ssh
@simondid I just tried this and it works fine. After launching
emulationstationfrom SSH. It displays the tty on my TV, then loads. I can launch ROMs no problem. It just shows the terminal on my TV for a few seconds then launches into the emulator. However, when I try to launch something from the RetroPie configuration menu, the Set-Up Script for eg, it does not show on the TV but on the device I am using to SSH with. I can then use my controller to navigate out of it.
As Emulationstation is rendered with OpenGL and "forced" to output through HDMI (or whatever output you use) and the retropie scripts are "rendered" on the command line, ES shows up on screen and retropie scripts/raspi-config on the console you launched ES with
i just made a post describing my problem a bit more in detail
is there any way to force the system emulator to be launch in a specific x session?
@simondid Pardon my lack of technical knowledge but ES will not run on X or when the X server is running, not on the Pi anyway. I'm just not familiar with RetroPie on other platforms but does it not use SDL?
hmm wired that is not a problem i'm having atm it dos require a kinda special command to launch es from my java program which is launch as part of an x session but i'm no linux expert
@simondid Me neither. I think we might both just be groping in the dark. Hopefully someone more linux-savvy will assist. I only chimed in to say it runs for me using a Pi3.
@AlexMurphy Apologies... Yes it does, I mean it uses SDL, I guess I was irretated by the OpenGL parts in the source code I saw this day
@simondid So your problem is that the retropie script windows, or whatever, are "displayed on the wrong screen" leading to a black screen?
i'm not a 100% on what the problem is but what i think is happning is that the runcommand script which is run when you select a game is missing some kind of launch option just like when i'm launch es with this command
sudo -u pi env DISPLAY=:0 XAUTHORITY=/home/whoever/.Xauthority emulationstation
do you know if there is any way i can get some kinda logfile from the runcommand script ?
@simondid Uhm, no, I'm not 100% sure but I think there is no logging going on
Howitzer99 last edited by
More info here: https://github.com/RetroPie/RetroPie-Setup/wiki/Runcommand
jdewit last edited by
I got it to work using 'screen'
sudo apt-get install screen
$ screen -d -m emulationstation