xauth command

I want to use my local machine as the X server over ssh. But when I try to run ssh -X -v user@server1.example.com to the remote machine, I get the following error:

debug1: Remote: No xauth program; cannot forward with spoofing

How do I fix this problem and use X over ssh?

{ 1 comment }