Xhost access control list


I have a remote Red Hat box that I have to log on to, to test software in the company where I work. I am logging on from OpenSuse. Is there a way to permanently add the Red Hat host to my xhost access control list? At the moment I have to add it every time before I log on.


I am logging on with:

ssh -X me@redhat

I have enabled X Server to listen on TCP on OpenSuse. I can’t start a GUI on the Red Hat machine unless I first do:

xhost redhatmachine

on OpenSuse

Put it in your profile.