Hi,
I just upgraded lazarus to version 2.2.0 but the IDE takes a long time (about 20 seconds) to start on Ubuntu 20.04.3 and Zorin 16 64-bit. I got a 'StartLazarus is not responding' dialogbox, I hit 'Wait' a couple of times and after 20 seconds the IDE would start. Once started it seemed to run fine. The debug log revealed nothing but an
$ strace lazarus
showed that it was waiting here:
sendmsg(11, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0", iov_len=1}], msg_iovlen=1, msg_control=[{cmsg_len=28, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=66572, uid=1000, gid=1000}}], msg_controllen=32, msg_flags=0}, MSG_NOSIGNAL) = 1
sendto(11, "AUTH\r\n", 6, MSG_NOSIGNAL, NULL, 0) = 6
recvfrom(11, "REJECTED EXTERNAL\r\n", 4096, 0, NULL, NULL) = 19
sendto(11, "AUTH EXTERNAL 31303030\r\n", 24, MSG_NOSIGNAL, NULL, 0) = 24
recvfrom(11, "OK e94c642743e04e463f111d8861e79"..., 4096, 0, NULL, NULL) = 37
sendto(11, "NEGOTIATE_UNIX_FD\r\n", 19, MSG_NOSIGNAL, NULL, 0) = 19
recvfrom(11, "AGREE_UNIX_FD\r\n", 4096, 0, NULL, NULL) = 15
sendto(11, "BEGIN\r\n", 7, MSG_NOSIGNAL, NULL, 0) = 7
write(14, "\1\0\0\0\0\0\0\0", 8) = 8
eventfd2(0, EFD_CLOEXEC|EFD_NONBLOCK) = 13
write(13, "\1\0\0\0\0\0\0\0", 8) = 8
write(14, "\1\0\0\0\0\0\0\0", 8) = 8
poll([{fd=13, events=POLLIN}], 1, 25000) = 1 ([{fd=13, revents=POLLIN}])
read(13, "\1\0\0\0\0\0\0\0", 16) = 8
poll([{fd=13, events=POLLIN}], 1, 25000
A Google search on 'lazarus SCM_CREDENTIALS' revealed that this is a known issue that can be resolved by installing the appmenu-gtk2-module package. You have to logout/login after installing the package.
Regards,
GW