I am trying to enable remote X access to my server but it seems that I need a .Xauthority file to be able to connect to the server. I can ssh without any problem and I already enable all the X11 options under the sshd_config file:
X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes
Do I have to use the xauth or xhost command to generate the Xauthority file
and how do you assign the display?