mcobit / retrosmc

An easier way to get retropie onto osmc
Other
212 stars 32 forks source link

Start from Launcher fails #43

Open jkiddo opened 6 years ago

jkiddo commented 6 years ago

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

mcobit commented 6 years ago

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.

jkiddo commented 6 years ago

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 commented 6 years ago

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

jkiddo commented 6 years ago

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

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

mcobit commented 6 years ago

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 commented 6 years ago

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

jkiddo commented 6 years ago

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

mcobit commented 6 years ago

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.

jkiddo commented 6 years ago

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 ?

mcobit commented 6 years ago

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

jkiddo commented 6 years ago

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

gitpel commented 6 years ago

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