Solving Flatpak nxegl: Error opening log file in Debian
Hi! This Tip Solve Flatpak nxegl: Error opening log file in Debian GNU/Linux Desktop.
The issue is derived from the presence of a NoMachine Setup on System.

Fixing System to Run Program
Now to Solve nxegl: Error opening log file in Linux
To make a working Launcher
First, make a Script
Eg. for Spotify:With the following content:Copynano ~/bin/spotify.sh
Set it as executable with:Copy#!/bin/bash export LD_PRELOAD="" /usr/bin/flatpak run com.spotify.Client
And after modify the Launcher to Run this Script!Copychmod +x ~/bin/spotify.sh
Instead to Run it just from Terminal it’s enough:
Copyecho 'export LD_PRELOAD=""' >> ~/.bashrc
Copybash
From: Nomachine Documentation