Script to open Remote Login in "sharing" not working after move to 10.5

Under 10.4 I sued the following script to open Remote Login (tick the box). Under 10.5.6 it does not work.
do shell script "/usr/bin/open /System/Library/PreferencePanes/SharingPref.prefPane"
activate application "System Preferences"
tell application "System Events"
tell process "System Preferences"
click checkbox 1 of row 6 of table 1 of scroll area 1 of tab group 1 of window "Sharing"
delay 3
tell application "System Events"
quit application "System Preferences"
end tell
end tell
end tell
I get the following error:
System Events got an error: Can’t get tab group 1 of window "Sharing" of process "System Preferences". Invalid index.
Anybody know why?

give this a spin
activate application "System Preferences"
tell application "System Events"
tell process "System Preferences"
click button "Sharing" of scroll area 1 of window "System Preferences"
select scroll area 1 of group 1 of window "Sharing"
select static text "File Sharing" of row 3 of table 1 of scroll area 1 of group 1 of window "Sharing"
select checkbox 1 of row 3 of table 1 of scroll area 1 of group 1 of window "Sharing"
click button "Options…" of splitter group 1 of group 1 of window "Sharing"
click checkbox "Share files and folders using FTP" of sheet 1 of window "Sharing"
delay 0.5
select button 2 of sheet 1 of window "Sharing"
keystroke return
delay 0.5
tell application "System Events"
quit application "System Preferences"
end tell
end tell
end tell
-----------------

Similar Messages

  • Remote Desktop & Screen Sharing not  working??

    Hello all,
    I am trying to connect to a friends computer via the Finder's Screen Sharing, I enabled the screen sharing preferences under the System Preferences, put the password, etc and had him do the same and I am not able to connect to his system. I'm sure there is something else I have to do in order to get this to work. In the Windows world I had to use the VNC. But, I remeber reading in a Snow Leopard book that this is all that had to be done in order for this to work.
    Best Regards,
    freesparks

    I know I could never get this working between two macs of the same OS (10.5.8) over the internet with the appropriate Sharing settings set up....
    Im guessing both Screen Sharing and Remote Access through iChat DO NOT work anywhere but in a LAN?

  • Home sharing not working after update to iTunes 12.1

    recenty updated iTunes to 12.1.0.71 64 bit for windows 8.1, and home sharing no longer works with my apple tvs. i have an apple tv 2 with software 7.0.3(6917) and an apple tv 3 aalso on 7.0.3(6917). I have tried the usual troubleshooting. Restoring, restarting, reinstalling itunes, made sure all the neccessary ports are open both on my router and firewall. Still not working. I would appreciate any help.

    I have similar issue and already opened another thread for it...no reply so far. So I'll give it a try in here.
    I'm using a Mac Mini (Mid 2010) with 4GB RAM, Yosemite 10.10.2.
    The Mac is connected by cable to a Gbit Ethernet network switch.
    I hope the following drawing helps to understand the network environment:
    Mac <--> Switch_1 <--> Switch_2 <--> Fire TV
             Switch_1 <--> WLAN Router AVM Fritz!Box 7270 <--> 30MBit Internet connection
    The Mac and the Fire TV (running AirPlay server App) are both connected by Ethernet cable, but to different switches.
    No WLAN enabled on Fire TV.
    The WLAN router is the DHCP server.
    For sure the remote App is running on an iPad (2) which is using WLAN.
    All network addresses are in same network and were provided by same DHCP server (running on WLAN router).
    All my music and internet radio is coming from the Mac.
    I use remote app (latest version from Appstore) on the iPad to connect to iTunes 12.0.1.26 running on my Mac.
    In iTunes I selected the Fire TV as AirPlay receiver.
    Fire TV is playing all music through my AV receiver.
    This is working perfectly fine except one issue which exists since update to Yosemite 10.10.0.
    It remained same with Yosemite 10.10.1 and 10.10.2.
    My problem is that I need to enable WLAN (wireless) on my Mac since update to Yosemite.
    When I disable WLAN remote app does not find my media library anymore and iTunes is unable to connect to the Fire TV.
    When I re-enable WLAN, everything is working fine again.
    Remember, all devices except the iPad are on a cabled 1Gbit Ethernet.
    Before updating to Yosemite I did not need WLAN.
    Any idea what's causing this? IP traffic routing issue?
    Usually, when I disable WLAN on the Mac, it continues to run for 1 or 2 days where the iPad has no problem to find and connect to the media library.
    After a while. running with WLAN disabled, my iPad is not able to "see" the iTunes media library asking me to enable home sharing.
    When I check on my Mac, home sharing is enabled.
    I then disable and re-enabled home sharing in iTunes and after doing so my iPads is able to "see" the iTunes media library but it cannot connect to it.
    I checked routing and arp tables on the Mac but everything looked fine, routing through the Ethernet interface.
    I used "fing" on the iPad to see which devices are online and "fing" on my iPad was only aware of the Mac Ethernet interface. No entry for the disabled Mac WLAN interface.
    I checked on the WLAN router and ensured that both Mac interfaces have unique host names (aliases) on the router.
    To be sure everything is refreshed I rebooted the router.
    No change, my iPad was able to find the iTunes media library through home sharing but was unable to connect to that media library.
    So I enabled WLAN on the Mac and immediately my iPad could connect to the iTunes media library.
    Weird...
    Only mitigation I found so far is to re-enable the WLAN on the Mac.
    So I assume something is broken in Yosemite / iTunes 12 home sharing.

  • Really tired of screen sharing not working after upgrade to 10.10

    I have tried everything I can think of but I simply cannot get screen sharing to work any longer when I am not within my home network.
    I NEED this to work.  Anyone else having huge problems getting screen sharing working when away from their home network?
    Anything at all I can try at this point?  Sometimes the share screen button doesnt even show, sometime it does and then says it cant
    come up, sometimes my mac at home doesnt even show up in the Shared sidebar area. 

    I've had lots of issues with my Macs picking up new names eg. 'iMac (2)' instead of 'iMac' which led to sharing issues (screen sharing, AFP etc).  I've set up new DHCP IP reservations on my router (Time Capsule) in the hope it will stop happening.

  • File sharing not working after mavericks install

    I have upgraded both my MB Air and my Mini to Mavericks and have discovered that sharing between the two over my wi-fi network is not working.  I cannot share the printer from my mini to the Air, and when I try to "connect to server" under the "go" menu in finder, it says, "there was a problem connecting to the server "mini.local".
    Any help?

    Hi Bryan_Jay,
       Any resolution to this issue? I have the exact same setup. A 2013 MB Air on a Time Capsule network with a 2013 Mac Mini. The strange thing is that sharing worked fine after the Mavericks upgrade for about 2 weeks; after that point I cannot connect to shared folders on the Mini from the MacBook, but am able to connect from the Mini to the MacBook. On an interesting note, I am able to connect to the Mini from the MacBook using Screen Sharing. I'm wondering if a system update might have caused the problem.
    Hope you're up and running!
    - Chris

  • WSUS not working after move of content.

    I used the wsusutil to move the content of our WSUS server now it is not working.  The log created during the move is below.  The "Update Services" service was not started, but was able to start manually.  When try and run wsusutil
    checkhealth it gives error: Fatal Error: Unable to contact the WSUS Services.  Please verify that Windows Server Update Services is installed and running on the local machine. 
    When try and open the update services snap-in it gives a connection error. 
    2014-05-12T13:36:23 Successfully stopped WsusService.
    2014-05-12T13:36:23 Beginning content file location change to e:\wsus
    2014-05-12T14:06:27 Successfully copied content files.
    2014-05-12T14:06:27 Successfully copied application files.
    2014-05-12T14:06:28 Successfully changed WUS configuration.
    2014-05-12T14:06:29 Successfully changed IIS virtual directory path.
    2014-05-12T14:06:29 Successfully removed existing local content network shares.
    2014-05-12T14:06:29 Successfully created local content network shares.
    2014-05-12T14:06:29 Successfully changed registry value for content store directory.
    2014-05-12T14:06:29 Successfully changed content file location.
    2014-05-12T14:07:18 Successfully started WsusService.
    2014-05-12T14:07:18 Content integrity check and repair...
    2014-05-12T14:07:18 Initiated content integrity check and repair.

    I ran this command:
    wsusutil.exe movecontent E:\WSUS1\ E:\move.log
    If you included the trailing slash on the pathname, then you've probably corrupted the value stored in the registry.
    Please try wsusutil movecontent E:\WSUS1 E:\move2.log -skipcopy
    to fix the pathname stored in the registry.
    Also, I can't help but notice that the content move was on May 12th, and you posted here on May 22nd, so what else happened in the TEN DAYS between the content move and the post here, and why do you think it's related to the content move? The log says the
    content move was completed successfully.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • Screen sharing not working after Remote Desktop 3.2 install

    OK, I think I screwed it up.
    I'm moving to a new iMac running Mountain Lion, and I need to use Remote Desktop.  I own Remote Desktop 3.2 on DVD, so I installed from disk and launched the app.  My plan was to download the latest update to 3.6.x, but I figured I would launch it to enter my license key and then quit and download the update.
    I was given an error that newer components were already installed and clicked the Quit button.  Ugh.  Next I went to Apple's download site and downloaded the newest update but when I ran that installer it told me it could not install on my drive.
    My grand plan has now left me with no Remote Desktop, and the built-in Screen Sharing core service beach balls when I try to connect to a remote client.
    Is there a way to save me from myself?
    Thanks in advance,
    Bill

    Hi Bill,
    You could try removing all the installed components manually and then try again (install, don't open but update right away).
    According to the installer the files are located in:
    /Applications/Remote Desktop.app (that one was hard to find )
    /Library/Application Support/Apple/Remote Desktop/
    /Library/Preferences/com.Apple.ARDAgent.plist
    /Library/Preferences/com.Apple.RemoteDesktop.plist
    /Library/Receipts/
    /Library/Widgets/RemoteDesktop.wdgt
    (not sure if the following files tie into other parts of the OS so removing them may cause issues)
    /System/Library/CoreServices/RemoteManagement
    /usr/bin/share/man/man1
    perhaps a permission repair after all parts have been deleted and a restart before trying again.

  • Screen Sharing not working after 10.9 upgrade

    Before the Maverick 10.9 update SHare Screening to our Man Mini Server worked find. After we upgraded to 10.9 we are not able to Screen Share to the Mac Mini. Of course, under the System Preference we have Remote Mangement ON and to allow Screen Sharing.
    Screen Sharing to our other computers that have been upgraded to 10.9 is working normally.
    Our Mac mini specs are:
    Mac mini Server
    Mid: 2010
    Processor 2.66 Ghz Intel Core 2 Duo
    Memory: 8 GB 1067 Mhz DDR3
    Graphics: NVIDIA GeForce 320M 256 MB
    Now
    OS X 10.9 (13A603)
    Does anyone know of a fix for this issue? Thanks.
    James

    Hi, try this...
    https://discussions.apple.com/thread/5468647?tstart=0
    By Mad9000...
    This is what worked for me:
    1. Go to System Preferences > Sharing and uncheck Screen Sharing and File Sharing
    2. Restart Mac
    3. System Preferences > Sharing and recheck Screen Sharing and File Sharing
    4. Problem solved (for me anyway)

  • Home sharing not working after iTunes 11 update

    Hi everyone,
    after updating to iTunes 11 on our Macs OS X 10.6.8 and OS X 10.8.2 our home sharing doesn't work anymore. We have tried to turn home sharing off and set it up again several times, but no shared devices or accounts appear in the library menu. Does anyone know how to fix this problem without going back to iTunes 10.7.? Thanks for your help!!!
    MacBook, Mac OS X (10.6.8) & MacBook Pro, OS X (10.8.2)

    Also, the reason I posted a fresh question is due to the issue of the "fix" I see folks posting. This is not a fix. When an update forces me to remove security or privacy it is called a problem / bug ... especially since it worked fine before.
    Maybe it is intentional maybe not, but if the only solution is to remove my privacy barriers then I guess it is time to get rid of ATV and move away from apple.
    Somebody tell me I am wrong or how to fix without having to get into my modem or firewall.

  • ITunes Sharing Not Working After Years of Working Great

    After many years of iTunes Home Sharing working great with an old Mac Mini and a large shared library of music and videos, I decided it was time to upgrade the system with a new Mac Mini (bought a few weeks ago) with a nice OWC external hard drive for the data.
    I am now having problems sharing on all devices.  On AppleTV it has trouble finding the shared library.
    On another Mac in my home it shows the shared libary in iTunes, but when you click on it to use it it gets stuck on "Loading".
    The only thing that solves the problem is for me to go to the iTunes computer and shut off and restart iTunes.  That will then work for a period of time (not very long) and then we go back to the problem.
    I have checked all the settings and nothing seems to be wrong.
    I am using the latest versions of everything.
    Any ideas?
    David

    Hi Roger,
    Tell us what silly Belkin you have please.
    If it has Ping Blocking then turn that Off.
    If it has DOS (Denial of Service) Turn that Off.
    Same with anything for SPI (Stateful Packet Inspection)
    If this is Cable I can't see that "Too Far from the Exchange" is even relevant.
    What Internet Speeds (UP and Down) are you getting ?
    http://www.speedtest.net/
    This page may also help.
    Defcom and I are in Table 2
    http://www.ralphjohns.co.uk/ContactTesters.html
    8:50 PM Tuesday; April 6, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Home sharing not working after update to latest version of itunes

    Prior to the latest update I was able to properly share items across Home Sharing from my main computer to the laptop and back.  Now after updating to the newest version on all there is no longer the option to download items acoss into the other machine on my home network. 
    I am looking for a solution or a update to fix this as I like being able to pull items from the home system into my MacBook Pro for travel viewing.

    Not using anything on my MacBook Pro like Norton.  I have replicated the issue on a XP machine, Win 7, and Snowleopard installed Hackintosh (yeah I did bad things to a Dell netbook) and none of them can do the importing like they were able to prior to this new version.
    Home Sharing works in that I can see the files but can no lonnger import them like you could before this lateset update. So Norton or the port change has nothing to do with it best of my knowledge.  It looks like Apple needs to fix this in a update to iTunes (and fast) .

  • Mobile and remote Outlook access do not work after mailbox move

    We recently moved our mailboxes to a different datastore. We are not unable to access our mailboxes using our cell phones or Outlook remotely. testconnectivity.microsoft.com gives me a http 500 error for both the Exchange virtual directory and the RPC.
    Any ideas?

    Was this a migration to another version of Exchange or simply mailbox move from the same version of Exchange?

  • Internet Sharing not working after updated to 10.9.2

    I am using internet sharing from my broadband. But my ipad and other devices unable to join the network after updating to 10.9.2 just now.

    the same one is here after update from 10.6.8 where i've ancountered no probs with wi-fi whatsoever! and also lack of flv / avo quick previev is irritating!

  • Web Sharing not working after installing security update

    I have been using Web Sharing without problems for several months, but now, after installing the latest security update, my browser cannot find my server at macbook.local.
    The console error messages read:
    10/15/08 11:35:17
    AM org.apache.httpd644
    httpd: Syntax error on line 455 of /private/etc/apache2/httpd.conf: Syntax error on line 15 of /private/etc/apache2/extra/httpd-userdir.conf: Syntax error on line 8 of /private/etc/apache2/users/+entropy-php.conf: Cannot load /usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so, 10): no suitable image found. Did find:\n\t/usr/local/php5/libphp5.so: no matching architecture in universal wrapper
    10/15/08 11:35:17 AM
    com.apple.launchd[1]
    (org.apache.httpd644) Exited with exit code: 1
    I have read a number of other posts (and searched a bit on Google), but nothing I found seems to address this particular console error message.
    What should I do?

    This page fixed the problem. For me this is the part that I had to run:
    Problem 2: Apache is 64 bit, entropy is 32 bit.
    The only solution to this that I've seen is to force Apache to be 32 bit. For intel based machines:
    Code:
    sudo cp /usr/sbin/httpd /usr/sbin/httpd-fat
    sudo lipo /usr/sbin/httpd -thin i386 -output /usr/sbin/httpd
    that will strip everything except the 32 bit intel code from httpd (after making a backup), forcing it to be 32 bit. For PPC, the command will be similar.
    This fix is a bit tacky, but shouldn't cause any problems.
    After running this everything worked as normal. Thanks to everyone that helped.

  • HT1461 Remote Login and sharing

    We are trying to remote login and shareing with network computers and have not been successful. Any help would be greatly appreciated.

    Lots of people have been successful, so it does work.
    Can you explain where you want to share from and to (local, across the Internet, via VPN, etc...)
    Can you tell us what you tried.
    Sharing within the same network is a easy as enabling System Preferences -> Sharing
    Remote Login for ssh
    Screen Sharing for, well screen sharing
    File Sharing
    Sharing across the Internet is best done using iCloud and Back-to-my-Mac, assuming you are running Lion 10.7.2 (or newer).
    If you do not have that version with all Macs involved, or you are using mixed systems, then we need to know what.
    The least troublesome across the Internet screen sharing and file transfer would be TeamViewer.com, and it is cross platform..
    Once you give us more details, we can tailor the advise to your needs.

Maybe you are looking for

  • Gmail calendar sync is available why not hotmail calendar

    Why s that you can sync to a gmail calendar but not to a hotmail account calendar. Post relates to: None

  • TS3354 Running Win7/64 on Mac Pro with Bootcamp, unable to buy iTunes HD movies

    Hi, ran into issue with Mac Pro tower connected to dual Apple Cinema 23-inch (final generation) displays. Running Win7/64 SP1 under Bootcamp on second HD; running iTunes latest, and unable to buy HD movie from iTunes store even though have latest Boo

  • Two JDeveloper versions together

    Hi all, may I use a project built under JDeveloper 9.0.5 in the new JDeveloper 10.1.3 and then continue using the project in 9.0.5 ? I want to use the new features of 10.1.3 but having my production environment in 9.0.5. Can JDeveloper 10.1.3 compile

  • E52 problem with GPS

    After updating software to 054.003. version I am unable to open navigation and install any other updates using Ovi Suite. Any ideas?

  • USOBT_C almost empty after changing default values with SU24

    After the implementation of OSS Notes 0001378328, 0001382895 and 0001404093 I performed a change in SU24 on the default values of authorization object (2nd tab) S_ALV_LAYO for all transactions involved. I filtered all transactions with default value