ssh problem when trying to start an X app.: Can't open display localhost:10.0
I can ssh -X 192.168.1.2 into my server and run terminal applications, but every time I try to run any X application, I get:
X11 connection rejected because of wrong authentication.
Error: Can't open display: localhost:10.0
I've been googling this for over an hour an can't find a solution that works.
"xauth list" on the server returns a blank line.
"xauth list" on my local machine returns SilverPC/unix:0 MIT-MAGIC-COOKIE-1 26aaba5230f1b6c
"xauth list" to another PC from which I can run X applications returns similar results to my local machine
"xauth add :0 MIT-MAGIC-COOKIE-1 26aaba5230f1b6c
Permissions on ~/.Xauthority are 600 with me as the owner.
I'm out of ideas.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu openssh Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- LEGOManiac
- Solved:
- Last query:
- Last reply: