Bug 135925

Summary: connection to nxserver causes error to be streamed to /var/log/messages, slowing the system unacceptably
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Kevin Penrose <kpenrose>
Component: X11 ApplicationsAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED WORKSFORME QA Contact: Adrian Schröter <adrian.schroeter>
Severity: Normal    
Priority: P2 - High CC: wgottwalt
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 142611    
Attachments: with loggin enabled. Nothing strange here.

Description Kevin Penrose 2005-11-29 20:19:43 UTC
Connecting to a running nxserver in opensuse 10.0 causes the error:
ssh-agent[] error:  accept from AUTH_SOCKET: socket operation on non-socket

This error is reported hundreds of times each second, causing the machine to become unacceptably slow.  It appears that the ssh-agent that is started is not used correctly.  And it also appears to only happen if the person logging in via nx is also the person who has logged into the console (with a running x session).  Other users can login via nx without exhibiting the same problem.
Killing the new ssh-agent stops the error reporting, but then the dbus-daemon starts spinning the cpu, making the machine almost unusable.
Comment 1 Christoph Thiel 2005-11-30 11:02:03 UTC
Move to correct product.
Comment 2 Stefan Dirsch 2005-11-30 11:09:42 UTC
IN which logfile can I find this error message?
Comment 4 Kevin Penrose 2005-11-30 11:30:40 UTC
As the subject states, the error message is logged in /var/log/messages.  ;)

I quoted the error verbatim (with the exception of not inserting the pid), would you like me to provide an attachment with a sample?

I can also offer that my home directory was a carry over from another distro install, so perhaps I have config files which are incorrect for ssh or maybe I need to change .profiles or something.
Happy to help how ever I can - I use nx quite a lot.
Comment 5 Stefan Dirsch 2005-11-30 12:00:02 UTC
I cannot reproduce this. Neither by looking at /var/log/messaages nor by turning on logging and looking at /var/log/nxserver.log. I'm running an Xsession on the same machine with the same user. It might help you to enable logging in /etc/node.conf for further investigation.
Comment 6 Kevin Penrose 2005-11-30 13:38:47 UTC
Created attachment 59185 [details]
with loggin enabled.  Nothing strange here.

As per you suggestion - enabled logging.  I see nothing strange here.  I really think it has something to do with my ssh configuration, but I can't find the problem.  I know this has been an issue for other users of freenx (there is a buzilla track on the gentoo forums about it but it didn't seem to get resolved there either) but I can't find a commonality that would provide a clue.
Comment 7 Stefan Dirsch 2005-11-30 13:40:51 UTC
The logfile looks ok to me.
Comment 8 Kevin Penrose 2005-11-30 14:52:57 UTC
One more question:  How many ssh-agent processes are running before and after you start your nx session?  My problems begin when a new ssh-agent is started for the nx session.  Is there a way to stop a new ssh-agent from being started for each session?  Can't the new session use the already running ssh-agent?  Oops, sorry, that's three questions.