Re: F38 proposal: X Server Prohibits Byte-swapped Clients (System-Wide Change proposal)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2022-12-29 at 13:03 +1000, Peter Hutterer wrote:
> On Thu, Dec 22, 2022 at 09:17:28PM +0100, Björn Persson wrote:
> > Vít Ondruch wrote:
> > > Dne 22. 12. 22 v 9:56 Olivier Fourdan napsal(a):
> > > > When the connection fails, the Xserver returns a reason in
> > > > plain text.
> > > > In that case, the reason for the connection being rejected
> > > > would be
> > > > „Swapped clients prohibited“.  
> > > 
> > > Appreciate that there is at least some explanation, but if I saw
> > > this 
> > > error, I would not be much smarter what is going on and how
> > > should I 
> > > proceed ....
> > 
> > Yes, that's a really bad error message. My reaction would be "What
> > nonsense is that? I haven't swapped any clients." If it had at
> > least
> > said "byte-swapped" it would probably have gotten me searching in
> > the
> > right direction, but if the X server wants to be helpful it should
> > say
> > "big/little-endian mismatch; the option AllowSwappedClients is
> > off".
> 
> Thanks, I've changed the error message to say `byte-swapped`, it
> hasn't
> been merged upstream yet after all. This particular message is
> handled
> in the DDX-independent bits though (shared code for Xorg, Xwayland,
> etc.), the option AllowSwappedClients only exists for Xorg since the
> other X server don't have an xorg.conf.

Could the error message include a URL to documentation about the config
option?  That would really help discoverability.

Dave
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux