@unktehila said in How to use scummvm via SSH?:
"scummvm" via SSH always terminating with the same message: "Could not initialize SDL: No available video device!"
I'd study how Recalbox invokes scummvm to play a ROM…
Hi there, I’m replying without my Recalbox handy to check exact file names/paths but, to help with your questions….
The SDL error from trying to start SCUMMVM over SSH is due to the fact that, within the ssh session, there is no graphical “display” available and therefore the scummvm “window”/interface can’t be displayed. This is pretty normal when using ssh because it’s designed for command line work and not graphical programs. There’s a lot more detail and nuance here but essentially “running in ssh session” means no graphics.
To see how Recalbox launches scummvm, check the file “es_systems.cfg”. It’s somewhere in the default folder you login to upon connecting via ssh. In there you will see a reference to I believe it’s called “configgen.py” which is the script that ultimately runs the emulators and therefore has the full command line parameters used to launch scummvm with a particular game. My guess offhand is that the SDL video device (from the error) is one of the parameters supplied by the .py Python script.