Geany tried to access the unix domain socket of another instance running as another user

Problem :- Geany tried to access the unix domain socket of another instance running as another user

Run bellow command which resolve your issue.

    sudo -H rm ~/.config/geany/geany_socket_*

Problem :- Configuration directory could not be created (Permission denied). There could be some problems using Geany without a configuration directory. Start Geany anyway?

Run bellow command which resolve your issue.

   sudo chown $(whoami)  -Rf ~/.config/geany