I'm a newbie Ubuntu user. Every time I log in to my OS, I always add:
xhost +si:localuser:root
How can I add Xhost to root permanently?
My kernel version is 4.13.0-46-generic.
I have tried this suggestion on the Arch wiki, to edit something in /etc/pam.d/..., but this doesn't work for me.