Skip to content

WPILib Installer Depends on X11 #605

@GreatGreenStar

Description

@GreatGreenStar

Describe the bug
With x11 fully disabled, the WPILibInstaller fails to open.

To Reproduce
Steps to reproduce the behavior:

  1. Disable x11 and XWayland.
  • Konsole logs:
Unhandled exception. System.Exception: XOpenDisplay failed
  at Avalonia.X11.AvaloniaX11Platform.Initialize(X11PlatformOptions options)
  at Avalonia.AvaloniaX11PlatformExtensions.<>c.<UseX11>b__0_0()
  at Avalonia.AppBuilder.SetupUnsafe()
  at Avalonia.AppBuilder.Setup()
  at Avalonia.AppBuilder.SetupWithLifetime(IApplicationLifetime lifetime)
  at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, Action`1 lifetimeBuilder)
  at WPILibInstaller.Program.Main(String[] args) in /home/runner/work/WPILibInstaller-Avalonia/WPILibInstaller-Avalonia/WPILibInstaller-Avalonia/Program.cs:line 11

Expected behavior
Full WPILib functionality, including installer.

Desktop (please complete the following information):

  • OS: Fedora 43 KDE.
  • Project Information: N/A, occurs in the installer.

Additional context
While XWayland will provide support to applications for a time after x11 is phased out, it is still a security degradation.
This is not for X11 support to be removed for that reason, but Wayland support must eventually be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions