Launching Sourcegit in Distrobox XOpenDisplay failed

I want to use Sourcegit (https://github.com/sourcegit-scm/sourcegit) as my Git client and installed it via a distrobox (fedora rawhide) where I have git lfs and credential manager installed. When Launching it via Terminal it will throw the error Authorization required, but no authorization protocol specified and doesn't launch. (Also does not Launch when exported) The same error occurs when launching the AppImage of Sourcegit. The logs say the following:
Crash::: System.Exception: XOpenDisplay failed

----------------------------
Version: 2025.27.0.0
OS: Unix 6.15.6.105
Framework: .NETCoreApp,Version=v9.0
Source: <unknown>
Thread Name: Unnamed
User: <MyUsername>
App Start Time: 23/07/2025 14:37:33
Exception Time: 23/07/2025 14:37:34
Memory Usage: 26 MB
----------------------------

System.Exception: XOpenDisplay failed
at Avalonia.X11.AvaloniaX11Platform.Initialize(X11PlatformOptions) + 0x7e4
at Avalonia.AppBuilder.SetupUnsafe() + 0x50
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder, String[], Action`1) + 0x34
at SourceGit.App.Main(String[] args) + 0xe0
Crash::: System.Exception: XOpenDisplay failed

----------------------------
Version: 2025.27.0.0
OS: Unix 6.15.6.105
Framework: .NETCoreApp,Version=v9.0
Source: <unknown>
Thread Name: Unnamed
User: <MyUsername>
App Start Time: 23/07/2025 14:37:33
Exception Time: 23/07/2025 14:37:34
Memory Usage: 26 MB
----------------------------

System.Exception: XOpenDisplay failed
at Avalonia.X11.AvaloniaX11Platform.Initialize(X11PlatformOptions) + 0x7e4
at Avalonia.AppBuilder.SetupUnsafe() + 0x50
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder, String[], Action`1) + 0x34
at SourceGit.App.Main(String[] args) + 0xe0
(I just noticed that the Time is incorrect, I launched it at 16:37 not 14:37) I really want to use Git Lfs for Gamedev. Help is appreciated
GitHub
GitHub - sourcegit-scm/sourcegit: Windows/macOS/Linux GUI client fo...
Windows/macOS/Linux GUI client for GIT users. Contribute to sourcegit-scm/sourcegit development by creating an account on GitHub.
1 Reply
Xaver
XaverOP2mo ago
Reposting in Container Help.

Did you find this page helpful?