Bugzilla – Bug 135925
connection to nxserver causes error to be streamed to /var/log/messages, slowing the system unacceptably
Last modified: 2005-11-30 14:52:57 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.
Move to correct product.
IN which logfile can I find this error message?
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.
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.
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.
The logfile looks ok to me.
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.