Provide DISPLAY environment variable to the D-Bus session bus activation environment

Hello everyone. I just switched from fedora to endeavouros and almost everything has been amazing. I chose no desktop environment and installed niri. The only problem which I can’t figure out is with steam flatpak.

When trying to run it, the following pops up:

The unofficial Steam Flatpak app requires a correctly-configured desktop
session, which must provide the DISPLAY environment variable to the
D-Bus session bus activation environment.

On systems that use systemd --user, the DISPLAY environment variable must
also be present in the systemd --user activation environment.

This is usually achieved by running:

dbus-update-activation-environment DISPLAY

during desktop environment startup.

For more details, please see:
https://github.com/ValveSoftware/steam-for-linux/issues/10554

I visited the link, checked arch wiki, and went to dbus.freedesktop.org but I haven’t been able to figure it out. I would greatly appreciate any help. Thanks in advance.

Welcome to the forum @RafaGlez ,
I followed the way you installed EnOS and niri.
I’m not 100% sure but
yay -S xwayland-satellite
might have been missed.
I also started manually (?)
dbus-launch
Rebooted and both from AUR and flatpak version ie.
flatpak run com.valvesoftware.Steam
seem to work. NO export DISPLAY = :0 is needed.
(WIth Radeon I chose 8,8 with Intel some vulkan but I have to check if it’s important)

1 Like

I did forget to install xwayland-satellite. I feel a little stupid lol. Thank you for the help, you’re amazing!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.