retrosmc icon indicating copy to clipboard operation
retrosmc copied to clipboard

Start from Launcher fails

Open jkiddo opened this issue 6 years ago • 12 comments

I'm getting a openvt: exec: No such file or directory when using the launcher to open retropie on my fresh updated vanilla osmc installation

jkiddo avatar Oct 01 '17 21:10 jkiddo

Maybe a problem with the connection to the ebian repository. Try to start the installation again. Also check if openvt is installed by calling it from commandline via ssh.

mcobit avatar Oct 02 '17 05:10 mcobit

openvt is installed

`osmc@osmc:~$ openvt -help Usage: openvt [OPTIONS] -- command

This utility help you to start a program on a new virtual terminal (VT).

Options: -c, --console=NUM use the given VT number; -e, --exec execute the command, without forking; -f, --force force opening a VT without checking; -l, --login make the command a login shell; -u, --user figure out the owner of the current VT; -s, --switch switch to the new VT; -w, --wait wait for command to complete; -v, --verbose print a message for each action; -V, --version print program version and exit; -h, --help output a brief help message.

` I just tried a reinstall - same error

jkiddo avatar Oct 02 '17 14:10 jkiddo

Is there any log that I can grab for you that might lead to something?

jkiddo avatar Oct 02 '17 14:10 jkiddo

Calling ~/RetroPie/scripts$ ./retropie.sh gives the following result:

chown: cannot access '/usr/bin/emulationstation': No such file or directory

jkiddo avatar Oct 02 '17 15:10 jkiddo

In this case, emulationstation did not get built properly. Please activate a swapfile for the installation process. Refer to the forum thread or the other posts here on how to do that.

mcobit avatar Oct 02 '17 15:10 mcobit

https://discourse.osmc.tv/t/howto-retropie-and-osmc-retrosmc-retrogaming-on-osmc/6671/1253?u=mcobit

mcobit avatar Oct 02 '17 15:10 mcobit

OK - added swapfile as rescribed and rebuilt it all ... seems successful so far. However, when trying to start retropie, screen goes black and after a few seconds it returns to osmc

jkiddo avatar Oct 02 '17 20:10 jkiddo

Can you run the retropie.sh script again from commandline to see if there is any error please.

Also it might be better to have this discussion in the forum.

mcobit avatar Oct 02 '17 22:10 mcobit

osmc@osmc:~$ ./RetroPie/scripts/retropie.sh osmc@osmc:~$

It returns immediately. But then again, the script starts some stuff in the background and pipes the log towards /dev/null ?

jkiddo avatar Oct 02 '17 22:10 jkiddo

Try to start emulationstatipn from commandline after shutting down kodi manually.

mcobit avatar Oct 02 '17 23:10 mcobit

running sudo systemctl stop mediacenter and then emulationstation in the terminal gives no results

jkiddo avatar Oct 04 '17 14:10 jkiddo

I had the same issue, My problem was that I used ssh root account and then changed session to user by su osmc to run the installation script

But using this way you have different $PATH

a)

ssh root@osmc-tv
su osmc
echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

b)

ssh osmc@osmc-tv
echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin:/usr/osmc/bin:/opt/vc/bin

The script works only when you have «osmc» user and $PATH from variant «B» Check the «$PATH» in the «osmc» user before use the script or just connect to ssh with «osmc» user

gitpel avatar Nov 06 '17 21:11 gitpel