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

Bo Berglund bo.berglund at gmail.com
Sun May 24 06:23:00 UTC 2020


On Sun, 24 May 2020 07:45:14 +0200, Bo Berglund
<bo.berglund at gmail.com> wrote:

>So is there a problem inside the GUI when starting a Terminal session
>in a VNC session?
>
>Will that not call ~/.profile at all???

Fur future searches:

I managed to find an old (from 2013) comment on
StackExchange/AskUbuntu, which directed me to a configuration item
solving the problem:

https://askubuntu.com/questions/161249/bashrc-not-executed-when-opening-new-terminal

Basically:
Start Terminal in the GUI
Menu: Edit/Profile_Preferences/Title_and_Command/Command
Check the item "Run command as a login shell"
Close Terminal and start it again.

Now the ~/bin dir is included in PATH!


-- 
Bo Berglund
Developer in Sweden





More information about the ubuntu-users mailing list