Should not ~/bin be included in path when running via VNC?

Sheemon Lists sheemon.lists at gmail.com
Sat May 23 21:38:32 UTC 2020


On Sat, May 23, 2020, 16:22 Bo Berglund <bo.berglund at gmail.com> wrote:

> I am baffled by a strange situation:
> Laptop with Ubuntu 18.04.4 LTS with the Mate desktop
>
> If I access the system through PuTTY all executables inside ~/bin are
> available for use.
>
> But when I access the machine via VNC and use a Terminal window on the
> desktop, then ~/bin is strangely not on path so none of the
> executables are directly accessible. I have to always include the
> ~/bin/ in front of them.
>
> What causes this?
>

Profile vs. bashrc, in /etc, in tilde.
PATH is a convention, and different people at different times arrive at
different interpretations.


> Note: On Raspbian via VNC this works as it should, i.e. a terminal
> window on the GUI has ~/bin on path like PuTTY has.
>
>
> --
> Bo Berglund
> Developer in Sweden
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20200523/217c894c/attachment.html>


More information about the ubuntu-users mailing list