Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Sep 24, 2003 11:39 pm 
Offline
Senior Member

Joined: Thu Aug 28, 2003 12:57 am
Posts: 273
When connecting to my Linode's virtual console, there is always a 5 - 10 second delay before I get to the login prompt. I noticed after disconnecting from the screen session the following message:

/usr/X11R6/bin/xauth: timeout in locking authority file /linodes/bji/.Xauthority

I'm not sure exactly why the login session is running xauth; maybe it's because X11 forwarding is turned on in the ssh session on the host? In any case, is there some way to eliminate this timeout? Thanks!


Top
   
 Post subject: Workaround
PostPosted: Thu Sep 25, 2003 12:32 am 
Offline
Senior Member
User avatar

Joined: Fri Aug 15, 2003 2:15 pm
Posts: 111
Website: http://fubegra.net/
Use the -x option for ssh:

ssh -x -l your_login_id yourhost.linode.com

This will stop ssh from trying to establish X forwarding and authorization.

Note that -x (lower case), not -X (upper case).

_________________
Bus error (passengers dumped)


Top
   
 Post subject:
PostPosted: Thu Sep 25, 2003 12:41 am 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
I just changed sshd_config on all the hosts. X11 forwarding and TCP forwarding (ahem) are off. The host login is probably performing a DNS lookup on your address, that might cause a little delay. But in general, its no more than a few seconds at worst for me.

-Chris


Top
   
 Post subject:
PostPosted: Thu Sep 25, 2003 4:07 am 
Offline
Junior Member

Joined: Tue Sep 09, 2003 11:59 am
Posts: 47
Website: http://blog.griffinn.org/
caker wrote:
TCP forwarding (ahem)

:lol: Never thought of trying that...


Top
   
 Post subject:
PostPosted: Thu Sep 25, 2003 1:08 pm 
Offline
Senior Member

Joined: Thu Aug 28, 2003 12:57 am
Posts: 273
caker wrote:
I just changed sshd_config on all the hosts. X11 forwarding and TCP forwarding (ahem) are off. The host login is probably performing a DNS lookup on your address, that might cause a little delay. But in general, its no more than a few seconds at worst for me.

-Chris


Hm, that's odd, I'm still getting the xauth timeout. But the -x option to ssh did the trick.

Glad that at the very least I helped you find the TCP forwarding issue :) ...


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group