06.05.2018 11:21, Peter Suetterlin пишет:
Andrei Borzenkov wrote:
05.05.2018 19:08, Peter Suetterlin пишет:
I can overcome this using xhost si:localuser:vdr
So following the xhost manpage, I put this in /etc/X0.host: si:localuser:vdr local:
the second line is for testing. Because if I start the machine and type xhost, what I get is access control enabled, only authorized clients can connect LOCAL:
So the si entry is ignored :((
What display manager are you using?
That is LXDE/openbox with lightdm as login manager.
Yes, I can reproduce it with different display managers and under Leap as well. Actually, quick search shows similar issues being reported quite a while back for different distributions. Xserver manual page vaguely suggests that "If no other authorization mechanism is being used, this list initially consists of the host on which the server is running as well as any machines listed in the file /etc/Xn.hosts" and today Xwerver is almost universally started with -auth parameter. The lack of server interpreted entries is clear bug - apparently you were the first ever to try them in /etc/Xn.hosts :) There is argument format mismatch when function that adds these entries is called, so they get ignored. This is upstream bug present in current Xorg GIT. Local host access is indeed disabled when -auth parameter is present and content is not empty. Still explicitly added entries are expected to be preserved, which explains why LOCAL: is returned here. What is not clear, why it does not have any effect. It could be some subtle bug as in previous case ... ... OK, I suspect what's going on here (to confirm would require downloading even more Xorg sources). It looks like this explicit entry is effective only when Xserver is listening on TCP/IP socket; in our case server is local. Adding local: manually flips *another* flag that allows unrestricted local connections. What a mess really ... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org