Run gajim in a Buster of FossaPup container

Moderator: BarryK

Post Reply
libertas
Posts: 146
Joined: Thu Apr 22, 2021 8:35 pm
Has thanked: 31 times
Been thanked: 5 times

Run gajim in a Buster of FossaPup container

Post by libertas »

Hi,

I can't get Gajim in EasyOS to be able to send and receive OMEMO messages.
So, I tried to run Gajim from a Buster or FossaPup container to see if it would work fine.

After installing Gajim and its OMEMO package in both containers. and trying to run Gajim, it's not possible because it refuses to run as root.

Configured in EasyContainers to add the spot user for the containers.
In a terminal, did:
su - spot
then
gajim

But there's a GTK warning saying that gajim cannot open a display.
Tried something as 'env GDK_BACKEND=x11 gajim', but got the same error.
How can I run Gajim it any of these containers?

User avatar
BarryK
Posts: 2959
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 158 times
Been thanked: 819 times

Re: Run gajim in a Buster of FossaPup container

Post by BarryK »

If you try in a daedalus container, and install Gajin via PKGget, it should ask if you want to run as non-root.

Otherwise, in daedalus container, with Gajim already installed, to run as root only, try this in a terminal:

Code: Select all

# setup-client gajim=true
# gajim

...or whatever the name of the executable is. It will run as user "gajim"

libertas
Posts: 146
Joined: Thu Apr 22, 2021 8:35 pm
Has thanked: 31 times
Been thanked: 5 times

[solved] Re: Run gajim in a Buster or FossaPup container

Post by libertas »

I managed to be able to run Gajim in EasyOS, so didn't have to run it in a Buster or FossaPup container.

There's on package that was not considered as a dependency, but that was necessary: python3-cffi-backend.

Post Reply

Return to “Containers and VMs”