On some machine (from which I report this bug), gnome-terminal doesn't
work via ssh:
ypig:~> ssh localhost gnome-terminal
Connected to ypig (from ::1)
DISPLAY: localhost:11.0
X11 connection rejected because of wrong authentication.
Error creating terminal: No screen 0 on display "localhost:11.0"
(Adding -X or -Y to ssh doesn't solve the problem.)
No problems with other X applications (xterm, emacs...).
However I can still start gnome-terminal (same version!) on a
different machine:
ypig:~> ssh -X xvii gnome-terminal
Connected to xvii (from 140.77.13.48)
DISPLAY: localhost:10.0
** (gnome-terminal:26876): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-ikMhI42ZkQ: Connection refused
but after quitting gnome-terminal with Ctrl-D, I don't get the prompt:
there's still a "sshd: vinc17@notty" running on the remote machine.