outrun icon indicating copy to clipboard operation
outrun copied to clipboard

remote outrun failed to start

Open priyasiddharth opened this issue 5 years ago • 4 comments

Hello,

I am trying to start outrun but get the following error. How can I get more details about what's happening?

xxx@pop-os:~/.local/lib/python3.8/site-packages/outrun$ outrun user@xxx ls
Password:
Verification code:
bash: outrun: command not found
2020-08-14 22:26:39,767 - ERROR - failed to run command: remote outrun failed to start

thanks Siddharth

priyasiddharth avatar Aug 15 '20 02:08 priyasiddharth

I met same problem

lumanyu avatar Aug 16 '20 14:08 lumanyu

Make sure that you installed outrun globally on xxx. The SSH session started by outrun won't find local Python modules based on configuration in .bashrc/.zshrc/etc. This will be improved in the future.

Overv avatar Aug 17 '20 20:08 Overv

I've faced the same issue, and the problem comes from the fact that ssh [-tt] host command will not create a login shell, which means that config files like .bashrc and friends won't be loaded, which is what usually configures additional user's locations for PATH.

On the other hand, running the pip3 install outrun command, just as instructed in the Readme, will have pip install binaries under the user's home in /home/username/.local/bin/. The problem is as mentioned, that this location is not in the PATH by default and won't be for non-login shells.

My workaround, after running the pip3 install as per the Readme:

sudo ln -s ~/.local/bin/outrun /usr/local/bin/

This is simple enough and should probably be mentioned somewhere in the instructions (e.g. installation steps, or in a "troubleshooting" section).

j1elo avatar Mar 19 '21 03:03 j1elo