Skip to content

gpauth not passing WAYLAND_DISPLAY to browser #486

@bagnaram

Description

@bagnaram

Describe the bug
I use a custom FF profile to provide GP authentication:
~/bin/ff:

echo "$@"
firefox -P globalprotect "$@"

And launching gpauth --fix-openssl vpn.example.com --browser ff

the browser session launches in XWAYLAND instead of detecting the WAYLAND_DISPLAY. I can test this myself by opening about:support and viewing the error:

(#0) Error	glxtest: Could not connect to wayland display, WAYLAND_DISPLAY=(null)

Expected behavior
I expect the GDK backend for my browser to be preserved by my Wayland Session

Screenshots
N/A

Logs
N/A

Environment:

  • OS: Linux bagnaram-pc 6.13.7-arch1-1 Connection Failure #1 SMP PREEMPT_DYNAMIC Thu, 13 Mar 2025 18:12:00 +0000 x86_64 GNU/Linux
  • Desktop Environment: Hyprland
  • Output of ps aux | grep 'gnome-keyring\|kwalletd5' | grep -v grep: n/a
  • Is remote SSH? NS

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions