On Wed, Nov 10, 2010 at 5:35 PM, dhk <dhk...@optonline.net> wrote: > Lately I've been getting this MIT-MAGIC-COOKIE error. It only happens > when I'm logged into my home amd64 box from my office x86 box. I use > ssh -X ip.add.res.s to log in. Everything seems to work and save fine > except for the error message and not being able to run an x-application > remotely. > > The first error occurs when I try to run an x-application remotely. > $ jpilot > Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key > (jpilot:16276): Gtk-WARNING **: cannot open display: localhost:11.0 > > The second error occurs after I exit a file from a text editor. > $ vi file.txt > Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key > > I've been doing this for years without any problems and this probably > started in the last month or so. > > I've seen a few things on line, but nothing that looks right. I also > don't want to run the xhost+ command. > > Any ideas?
I think you need to use xauth to check the permissions. Did your remote machine name or something else like that significantly change recently?