I'm trying to configure the X server to use host-based access control rules from /etc/X0.hosts. The contents is a single line, namely "local:". After startup the server won't accept seemingly valid connections; I see this in the log: AUDIT: Mon Mar 14 03:05:16 2005: 24265 X: client 30 rejected from local host Issuing xhost here gives: access control enabled, only authorized clients can connect LOCAL: After typing "xhost + local:" in a terminal in X the same access rules are reported by xhost, only the applications now do work. What exactly isn't working... I've got "/usr/bin/irexec /etc/lircrc"started from an initscript, next when pressing some button the following is executed: "/bin/ps -C xawtv && /bin/killall xawtv || /usr/bin/xawtv -f -display :0 &" Please mail me if you need more info; I won't be monitoring this since I've already found a workaround. Also mail me if it gets fixed :-)
I ran into this exact problem as well. Additional to your workaround: if the server is started with -auth /etc/X0.hosts, then everything works fine. Otherwise, X0.hosts is read and LOCAL: is in the xhost list, but it rejects such connections until it is removed and then re-added using xhost.
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Ciprian Ciubotariu Do you still experience this issue with newer soft ? Please check the status of your issue.
http://sourceforge.net/p/xdm-options/ configures xdm and has host based access control and some tips on use of iceauth and xhost also of running "Xorg -query host", "Xorg -indirect" (phone list of x hosts), and Xnest really a bug submission site is not a linux forum for common application use chatting bad enough are all the 100's of bugs submitted that are user error
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/326.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.