You are not logged in.
Hello everyone,
I'm trying to run Almond assistant (https://flathub.org/apps/details/edu.stanford.Almond) installed with flatpak from my openbox DE.
The command
$ flatpak run edu.stanford.Almondfails with the output:
edu.stanford.Almond:3): Gjs-WARNING **: 11:45:52.324: JS ERROR: Gio.IOErrorEnum: Error calling StartServiceByName for edu.stanford.Almond.BackgroundService: Timeout was reached
_makeProxyWrapper/</<@resource:///org/gnome/gjs/modules/overrides/Gio.js:185:21
main@resource:///edu/stanford/Almond/js/app/main.js:110:13
run@resource:///org/gnome/gjs/modules/package.js:225:12
@/app/bin/edu.stanford.Almond:6:1Which looks like a dbus related error (no expert here). I already faced something similar when initially running Gnome apps in Openbox, and solved all other issues with my current .xinitrc script (launched with startx):
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
export QT_IM_MODULE=ibus
source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
dbus-launch --exit-with-session openbox-sessionOther Gnome apps work flawlessly (gnome-terminal, nautilus, evince,...).
Incidentally I also have a Gnome DE installed, and everything (Almond included) works there.
I launch Gnome with the command startx ./.gnomerc, and this is .gnomerc
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
exec gnome-sessionSince both flatpak and Almond are relatively new and niche software I don't expect to find a direct solution, but rather someone to point me in the right direction to debug/find out what the problem is. What could be the difference between using Gnome and Openbox?
Last edited by maldus (2018-08-26 06:28:00)
Offline
The issue is your xinitrc, read https://wiki.archlinux.org/index.php/Xinit#xinitrc and especiall get rid of "dbus-launch", this isn't supposed to be there since years.
Offline
Using the default .xinitrc (as described in the wiki) solved the issue, thanks!
Offline
Please mark as [SOLVED] by editing the title in your first post. https://wiki.archlinux.org/index.php/Co … ow_to_post
Offline