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

Bo Berglund bo.berglund at gmail.com
Sat May 23 20:21:22 UTC 2020


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?

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





More information about the ubuntu-users mailing list