How to use scummvm via SSH?
-
Document about command line interface shown here doesn't seem to apply to the Recalbox scummvm emulator: ScummVM
Any/all syntax documented on this page results in "scummvm" via SSH always terminating with the same message: "Could not initialize SDL: No available video device!"
It's indeed a mystery how it works as the scummvm emulator documentation page just offers no insights. I'd study how Recalbox invokes scummvm to play a ROM, but my best grep efforts from root on down haven't found any relevant information...
-
@unktehila Read the official Recalbox documentation:
-
@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.
Happy hunting!