If I do
xhost +
>access control disabled, clients can connect from any host
su AnotherUser -c xterm
an xterm pops up. However if I do
xhost +SI:localuser:AnotherUser
>localuser:AnotherUser being added to access control list
su AnotherUser -c xterm
I got No protocol specified, I'd like to understand why it doesn't work.
I am in Debian sid amd64