[fpc-pascal] Methods for autoupdating fpc programs?

Bo Berglund bo.berglund at gmail.com
Sun Oct 4 00:36:09 CEST 2015


On Sun, 04 Oct 2015 00:02:01 +0200, Jonas Maebe
<jonas.maebe at elis.ugent.be> wrote:

>> And why is Lazarus running as root?
>
>Because you presumably started it as root. If you start an application 
>as a normal user, it cannot get root permissions (unless your lazarus 
>binary is marked as setuid root, but that's unlikely).

If that is the case then my entire VNC session must be running as root
rather than user pi...

I have no idea how this happens since I only connect on the IP:5900
socket and the desktop is displayed on which I start Lazarus from the
Menu. There is no user login required where the active user is set.

But if I open a terminal from the menu in the VNC window it shows it
is running as root...

I have to check with the RPi forum on this VNC problem.

-- 
Bo Berglund
Developer in Sweden




More information about the fpc-pascal mailing list