Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Panther X11 Forwading

Panther X11 Forwading
Thread Tools
Mac Enthusiast
Join Date: Mar 2002
Location: north america
Status: Offline
Reply With Quote
Oct 27, 2003, 10:23 AM
 
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
(Last edited by jhunt5247; Oct 28, 2003 at 09:00 AM. )
     
Mac Enthusiast
Join Date: Mar 2002
Location: north america
Status: Offline
Reply With Quote
Oct 27, 2003, 10:36 AM
 
Well it seems it is related to hostname. When I got the hostname just to set to hostname -s, it worked fine.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 10:32 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2