PDA

View Full Version : [all variants] .Xauthority not writable



YonyonJohn
January 8th, 2009, 04:38 PM
I'm having this problem when I try to use ssh -X to open an X application remotely.

The error I get upon logging in is:


/usr/bin/X11/xauth: /home/me/.Xauthority not writable, changes will be ignored

then when I try to execute a program, eg gedit I get:


X11 connection rejected because of wrong authentication.

(gedit:17137): Gtk-WARNING **: cannot open display: localhost:10.0

albinootje
January 8th, 2009, 06:16 PM
I'm having this problem when I try to use ssh -X to open an X application remotely.

The error I get upon logging in is:


/usr/bin/X11/xauth: /home/me/.Xauthority not writable, changes will be ignored
[/CODE]
If you're not running the GUI for that user already.. then simply remove the .Xauthority file.
It should be created again.