[Users] switching claws-mail offline with a script run by root

Paul paul at claws-mail.org
Mon Oct 31 09:50:16 UTC 2022


On Mon, 31 Oct 2022 10:57:31 +0300
Boffi Daniele <3daniele03 at gmail.com> wrote: 

> 1. the command "claws-mail --offline" has the expected effect of
> switching offline my active instance of claws-mail.
> 
> 2. If I run the same command from the command line (as user), instead
> of acting on the active claws-mail, it opens a new (offline)
> claws-mail as if the other instance was not existing.
> 
> 3, The same as in 2. if I run the script as root (that is "sudo sudo
> -c myusername ..."). A new offline claws-mail pops up.
> 
> Any hint of what changed after the upgrade?

Nothing changed on this side. Claws Mail uses a socket, by checking for this
socket Claws Mail prevents running more than one user instance at the same
time.

Ubuntu 22 must have changed how these sockets work and where they are stored.

with regards

Paul


More information about the Users mailing list