Solved Electron app doesn't launch

Solved issue

tinfoil-hat

Active Member
Joined
Oct 24, 2021
Messages
347
Reaction score
173
Credits
2,407
Hi, I have used my "Element" Matrix client in another window manager and now it refuses to start with cinnamon. I tried to delete the folder
Code:
.var/app/im.riot.Riot
and start the program again. But I can't launch it.

Here's the error Message:
Bildschirmfoto vom 2023-05-01 02-56-43.png

It just says "Element is wrong configured"
 


Maybe I should add, that it's a Flatpak under Mint 21.1
 
Just launch the Flatpak from the terminal and see what errors you get in your output, so something like this.
Code:
flatpak run com.valvesoftware.Steam
 
Maybe this helps:
Code:
-> % flatpak run im.riot.Riot                                            
[3:0501/100036.297058:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
/home/anon/.var/app/im.riot.Riot/config/Element exists: yes
/home/anon/.var/app/im.riot.Riot/config/Riot exists: no
LaunchProcess: failed to execvp:
xdg-settings
Gtk-Message: 10:00:36.588: Failed to load module "xapp-gtk3-module"
[3:0501/100036.635611:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
[3:0501/100036.635651:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
Starting auto update with base URL: https://packages.element.io/desktop/update/
Auto update not supported on this platform
Fetching translation json for locale: en_EN
Changing application language to de
Fetching translation json for locale: de
Resetting the UI components after locale change
Resetting the UI components after locale change
Changing application language to de
Fetching translation json for locale: de
Resetting the UI components after locale change
 
I'm getting the same, since Flatpaks should run without you having to do anything the only option would be to create an issue for the maintainer.
 
Hmm, the git issue is kinda dead. Maybe someone here has now an idea
 
Maybe this helps:
Code:
-> % flatpak run im.riot.Riot                                           
[3:0501/100036.297058:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
/home/anon/.var/app/im.riot.Riot/config/Element exists: yes
/home/anon/.var/app/im.riot.Riot/config/Riot exists: no
LaunchProcess: failed to execvp:
xdg-settings
Gtk-Message: 10:00:36.588: Failed to load module "xapp-gtk3-module"
[3:0501/100036.635611:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
[3:0501/100036.635651:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
Starting auto update with base URL: https://packages.element.io/desktop/update/
Auto update not supported on this platform
Fetching translation json for locale: en_EN
Changing application language to de
Fetching translation json for locale: de
Resetting the UI components after locale change
Resetting the UI components after locale change
Changing application language to de
Fetching translation json for locale: de
Resetting the UI components after locale change
Looks like xapp-gtk3-module is failing to load.

Run this command to find out if it's installed.
Code:
dpkg -L xapp-gtk3

 
Looks like xapp-gtk3-module is failing to load.

Run this command to find out if it's installed.
Code:
dpkg -L xapp-gtk3

Ty, I think we are on the right track here. it gives me unresolved dependencies:
Code:
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 xapp : Hängt ab von: libxapp1 (= 2.2.8-1) aber 2.4.2+vera soll installiert werden
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
 
That's a simple translation
Code:
xapp : Depends on: libxapp1 (= 2.2.8-1) but 2.4.2+vera should be installed
 
Could it be a Problem with Wine-Staging or Brave Browser apt repos? These are the only apt repos I have that are non official
 
Could it be a Problem with Wine-Staging or Brave Browser apt repos? These are the only apt repos I have that are non official
Until the dependency issue is satisfied it wouldn't make sense to install xapp.

If they are the only repos that you have enabled on that system then yes it's most likely the problem. APT can't can't install and satisfy packages or dependencies if it can't find them.

Check your sources list, and add other repo's that your distro can pull from.
 
Assuming your running Ubuntu....Look in:

/etc/apt/sources. list And, /etc/apt/sources. list. d/
Adding repository information manually into the sources.list file is not a recommended practice. Instead, you should use the add-apt-repository command as it is safer and reliable.

 
I am using Linux Mint 21.1 Cinnamon
and I have to correct myslef for the sources.list.d/xyz
Code:
deb http://packages.linuxmint.com vera main upstream import backport
deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Code:
deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_19.x jammy main
deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_19.x jammy main
deb http://repository.spotify.com stable non-free
Types: deb
URIs: https://dl.winehq.org/wine-builds/ubuntu
Suites: jammy
Components: main
Architectures: amd64 i386
Signed-By: /etc/apt/keyrings/winehq-archive.key
 
The sources, seem all to be reachable
Code:
anon@navi [18:45:05] [~] 
-> % sudo apt-get update      
[sudo] Passwort für anon:          
OK:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
OK:2 http://archive.ubuntu.com/ubuntu jammy InRelease                          
OK:3 http://repository.spotify.com stable InRelease                            
OK:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease                  
OK:5 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                  
OK:6 https://deb.nodesource.com/node_19.x jammy InRelease                      
OK:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease                
OK:8 https://brave-browser-apt-release.s3.brave.com stable InRelease      
Ign:9 http://packages.linuxmint.com vera InRelease
OK:10 http://packages.linuxmint.com vera Release
Paketlisten werden gelesen… Fertig
 
You should be good to go.

Do you have the closest mirror to where you are selected?
 
You should be good to go.

Do you have the closest mirror to where you are selected?
Speed shouldn't matter, till the mirrors have all the same contents and load correctly with other software. I should be able to install xapp if it wasn't for the dependency issue
 
Speed shouldn't matter, till the mirrors have all the same contents and load correctly with other software. I should be able to install xapp if it wasn't for the dependency issue
Agreed, unmet dependencies are a problem until they are fixed.
Believe me I know...been running Slackware a long time:-

Try opening Synaptic and fix your broken packages--


I looked for libxapp1 2.4.2+vera_amd64.deb which is what the command-line is complaing about in post #10 and couldn't find it.
At best I found 2.2.15 here:
 

Staff online

Members online


Latest posts

Top