Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support empty DISPLAY in xauth #128

Closed
wants to merge 1 commit into from

Conversation

ah-
Copy link

@ah- ah- commented Dec 14, 2024

Currently x11bridge is broken on Gnome, because Gnome seems to create the wildcard entry in xauth with an empty DISPLAY. For example:

asahi/unix:  MIT-MAGIC-COOKIE-1  90e94fb5b89d6c1f5e512d58a1c6b8d3
#ffff#6173616869#:  MIT-MAGIC-COOKIE-1  90e94fb5b89d6c1f5e512d58a1c6b8d3

x11bridge then filters it out, resulting in an empty xauth file.

This makes x11bridge accept the Gnome entry, fixing X11.

I searched around a bit why Gnome is doing this, only thing I could find is https://xorg.freedesktop.narkive.com/zzRJsYVZ/is-xauth-entry-without-display-number-valid.

Currently x11bridge is broken on Gnome, because Gnome seems to create
the wildcard entry in xauth with an empty DISPLAY, and x11bridge then
filters it out, resulting in an empty xauth file.
This makes x11bridge accept the Gnome entry, fixing X11.
@slp
Copy link
Collaborator

slp commented Dec 16, 2024

Superseded by #129

@slp slp closed this Dec 16, 2024
@teohhanhui
Copy link
Collaborator

This might be just a formality, but this PR was submitted 5 minutes before #129.

So personally I think we should rather say, I'm sorry that we missed this PR and stacked our approvals on the other one instead, even though the change was exactly the same.

@slp
Copy link
Collaborator

slp commented Dec 17, 2024

Oops, you're right, @teohhanhui. Sorry @ah-, we should have reviewed and merged this one instead of #129.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants