I am pretty sure this topic has been dealt with before, but all solutions I could read on the Internet failed.
My current setup is a Raspberry Pi with NoIR, running the latest Raspbian, and a Mac having XQuartz 2.7.7.
I usually access the Pi with the command
Code: Select all
$ ssh pi@raspberrypi.local -YCode: Select all
Warning: No xauth data; using fake authentication data for X11 forwarding.Code: Select all
$ gpartedAnd calling
Code: Select all
$ sudo gpartedCode: Select all
X11 connection rejected because of wrong authentication.
(gpartedbin:3187): Gtk-WARNING **: cannot open display: localhost:10.0
References read:
http://dvisagie.blogspot.ca/2012/08/fix ... x-108.html Only deals with the issue between Macs, but not Linux. Paths are different.
http://unix.stackexchange.com/questions ... -data?rq=1 Lacks details on proper locally-forwarded connection. Adding pi@ to the Pi address, and user1@ to the Mac one failed to work.
http://serverfault.com/questions/422908 ... n-data-for None of the proposed solutions worked.
Any ideas how to tackle this pesky issue?