[Lazarus] Lazarus on Ubuntu 18.04.4 via VNC cannot find utilities

Michael Van Canneyt michael at freepascal.org
Mon May 25 07:36:55 CEST 2020

On Sun, 24 May 2020, Bo Berglund via lazarus wrote:

> Comment=Lazarus IDE 2.0.8
> Terminal=false
> Name=Lazarus 2.0.8
> Exec=/home/bosse/dev/lazarus/2.0.8/startlazarus

Set this to
/bin/bash -l home/bosse/dev/lazarus/2.0.8/startlazarus --pcp=/home/bosse/.lazarus_2.0.8 %f

and .profile will be read.

I have a similar issue, and that is how I solved it.

> So I wonder if maybe Lazarus has a similar setting?

No, you must set the options on the desktop/menu entry that starts lazarus.

> Or maybe VNC server does?

You must run lazarus not by directly running the startlazarus, but by
invoking the shell with -l option. You can create a script for it.


More information about the lazarus mailing list