Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Speed up by disabling Screen Sharing' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Speed up by disabling Screen Sharing
Authored by: zeniam1 on Mar 25, '11 07:49:58AM

Hmmm. And these are not disabled via the Sharing pane in System Preferences? Running launchctl, I don't see them listed. But perhaps I'm seeing what you are in your system.



[ Reply to This | # ]
Speed up by disabling Screen Sharing
Authored by: da2357 on Mar 25, '11 08:33:19AM
The three plists referenced are all system daemons that launch the following:

/System/Library/CoreServices/RFBEventHelper.bundle/Contents/MacOS/RFBEventHelperd /System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Support/RFBRegisterMDNS /System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Support/RFBRegisterMDNS

Since the three items are system daemons, you need to be root in order for 'launchctl list' to list them. One my Mac, at this moment, if I run:
[ ~ ]$ ps -ax | grep com.apple.RFBEventHelper
  958 ttys000    0:00.00 grep com.apple.RFBEventHelper
[ ~ ]$ ps -ax | grep com.apple.RFBRegisterMDNS_ScreenSharing.server
  960 ttys000    0:00.00 grep com.apple.RFBRegisterMDNS_ScreenSharing.server
[ ~ ]$ ps -ax | grep com.apple.RFBRegisterMDNS_RemoteManagement.server
  962 ttys000    0:00.00 grep com.apple.RFBRegisterMDNS_RemoteManagement.server
I get the PIDs of these three processes. I suppose one could write a simple bash script that would find the PID of these three processes on-demand and then kill them.

[ Reply to This | # ]
Speed up by disabling Screen Sharing
Authored by: Kalak on Mar 25, '11 09:27:07AM
Those are the PIDs of the grep statement, not the processes you're looking for. You should look at the tip and discussion on Ignoring grep self matching found here
---
--
Kalak
I am, and always will be, an Idiot.


[ Reply to This | # ]