Greetings,
Once I launch X11 and terminal loads up, I can run local X11 programs (like xcalc). The problem is, when I try to connect to a remote machine using ssh -X, it will not load the remote X11 application.
I get the following error:
Xlib: connection to "localhost:11.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
xmysqladmin: Can't open display localhost:11.0
--
I modified vi /etc/ssh_config and enabled X11 forwading as well. I also use terminal and exported my display so that I could get local X11 apps to work, but again I get the same problem with terminal and remote X11.
UPDATE:
I just noticed this error message. I did the following from terminal (my shell is bash):
akula@lippisch:~$ DISPLAY=0:0
akula@lippisch:~$ export DISPLAY
akula@lippisch:~$ ssh -l root pegasus
Warning: No xauth data; using fake authentication data for X11 forwarding.
I didn't notice this error message until right now. I do have .Xauthority file in my home dir, so I am not sure what this about.
As far as the machine hostname is conerned, I do not like how in Panther it adds .local for the hostname. I am wondering if this could be causing the problem. How can I set the hostname with out that information at the end?
Hopefully someone has an idea on how to fix this? Thanks