# Balena electron app

**URL:** <https://forums.balena.io/t/balena-electron-app/368222>\
**Category:** General\
**Created:** [June 28, 2023, 12:16pm UTC](https://forums.balena.io/t/balena-electron-app/368222 "2023-06-28T12:16:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![benjboy](https://avatars.discourse-cdn.com/v4/letter/b/e9a140/32.png) [@benjboy](https://forums.balena.io/u/benjboy)\
**Post date:** [June 28, 2023, 12:16pm UTC](https://forums.balena.io/t/balena-electron-app/368222/1 "2023-06-28T12:16:42Z")

</div>

Hello  
I’m trying to deploy electron app on raspberry pi 4, but I’m having trouble displaying it.

In logs I get this errors:

```auto
[227:0628/120949.574455:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[Logs] [6/28/2023, 14:09:53] [balena-electron] [227:0628/120953.140291:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[Logs] [6/28/2023, 14:09:53] [balena-electron] [227:0628/120953.140774:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[Logs] [6/28/2023, 14:09:53] [balena-electron] [227:0628/120953.210905:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[Logs] [6/28/2023, 14:09:53] [balena-electron] [227:0628/120953.211004:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[Logs] [6/28/2023, 14:09:54] [balena-electron] MESA-LOADER: failed to retrieve device information
[Logs] [6/28/2023, 14:09:54] [balena-electron] MESA-LOADER: failed to retrieve device information
[Logs] [6/28/2023, 14:09:54] [balena-electron] MESA-LOADER: failed to retrieve device information
[Logs] [6/28/2023, 14:09:55] [balena-electron] MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
[Logs] [6/28/2023, 14:09:55] [balena-electron] failed to load driver: kms_swrast
[Logs] [6/28/2023, 14:09:55] [balena-electron] MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)

```

I tried launching glxgears an it displays normally

My setup is similar [to this example project]([GitHub - balena-io-examples/balena-electron: A simple example of how to get an Electron application running on Balena](https://github.com/balena-io-examples/balena-electron)  
Was there any change in electron rendering that this doesn’t work any more?

Thank you,  
Benjamin
