I was trying to reinstall xmonad after copying backup files. I restarted and now it seems to be working. Not sure I understood what happened but working now.
The X server, when configured normally, expects X clients (anything that wants to display something like a window) to authenticate. Anything relevant for that is normally stored in an .Xauthority file, only readable by the user running the X session. The location of the file is expected in the XAUTHORITY environment variable. You can list the contents with xauth list.
Starting some X client if you're missing the XAUTHORITY variable or don't have access to the file it points to will therefore never work (unless you switch your X server to allow everything, e.g. with xhost +, but don't do that ...).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.