[Lazarus] Mysterious crash with Lazarus on RPi4B running PiOS bookworm 32 bit
Bo Berglund
bo.berglund at gmail.com
Thu Dec 7 18:34:57 CET 2023
On Mon, 04 Dec 2023 19:18:28 +0100, Bo Berglund via lazarus
<lazarus at lists.lazarus-ide.org> wrote:
>Has anyone here managed to get Lazarus 2.2.6 running on a headless Raspberry
>Pi4B with 32 bit PiOS bookworm and using VNC to access it?
So the mystery remains even after I have done this on my RPi4B:
- Stopped and disabled the existing RealVNC server as well as setting it to not
start in raspi-config
- Installed xrdp as a new remote desktop server not using VNC
- Erased all remnants of previous installs of fpc/lazarus from source including
the desktop menu entry in ~/.local/share/applications
- Installed via apt: sudo apt install fpc lazarus (got 3.2.2 and 2.2.6)
Now the new Lazarus appears in my main menu below Programming.
When I start Lazarus from the menu shortcut it starts up seemingly normally.
So now I headed to Tools/Options/Editor/Display/Colors
Waited a while for a crash but nothing happened.
After half a minute I clicked on the item "abc Comment" in order to change to my
usual color (green).
And at that very moment the remote connection crashed, the whole window
disappeared with all its content!
When I reconnect RDP all looks normal except when I start Lazarus agin the
window arrangement has been screwed up, all windows are not there anymore.
But the exact same behaviour happens.
What in the world could trigger a total and sudden crash of the whole remote
session now with a completely different handler (xrdp vs VNC)???
What is the thing done in Lazarus when one clicks the "abc Comment" item in the
selector list that is so major?
I will make a new attempt by starting over from scratch on a new system disk and
just install fpc/lazarus and of course xrdp so I can use the desktop on the
headless system. But it will take some time to reach the same point...
3rd or 4th time I do this...
--
Bo Berglund
Developer in Sweden
More information about the lazarus
mailing list