Results 1 to 3 of 3
  1. #1
    Hawke
    Guest
    Shutdown from another computer ?
    Hello !

    I have a new Powerbook G4 12" with OS X of course which I am absolutely wrapped in ! My old main computer is a blue & white G3 350 running OS 9.2.2 (yuk !). Both units are networked successfully via LAN.

    Would really like to use the PB as my main computer (OS X is great + have updated s/w for apps which only use OS X) and use the poor old failthful G3 as file storage. I would also like to avoid buying another monitor and use my existing monitor with the new PB G4. Only problem is to shutdown the old G3 via the PB without a monitor connected directly to it - starting up is no problem - just hit the button.

    It must be simple. Anyone have a thought ?

    Cheers
    Hawke

  2. #2
    Shutdown from another computer ?
    Murlyn's Avatar
    Member Since
    Jun 11, 2003
    Location
    Mount Vernon, WA
    Posts
    4,915
    Specs:
    MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2
    I know with OS X you can just hit the power up button and then hit enter and it will shut it down, can you do that in OS 9?

  3. #3
    Shutdown from another computer ?
    hype.it's Avatar
    Member Since
    Mar 27, 2004
    Location
    China
    Posts
    738
    Specs:
    Dual 2.2GHz powered by AMD Opteron - *Sends G5 & 8Gb Ram to scrap heap* Yeah! finally switched BACK!
    AppleScript version:
    They may need a little editing editing when used to shut down a remote system.

    Shutdown:
    Code:
    //begin script
    
    tell application "Finder"
        shutdown
    end tell
    
    //end script
    Restart:
    Code:
    //begin script
    
    tell application "Finder"
        restart
    end tell
    
    //end script


    In Mac OSX
    Execute in Terminal, type carefully.

    Shutdown:
    Code:
     sudo osascript -e 'tell application "Finder" to shut down'
    Restart:
    Code:
    sudo osascript -e 'tell application "Finder" to restart'

    Info:
    If your user isn't the currently logged in user, you might get some errors in the command line, but it will work.

    "sudo" might not be required.

    If there is an open application with unsaved changes, the restart will time out. This is the intended behaviour. You could try to use applescript to save and exit that application (if said application is scriptable).

    Note: If the remote machine absolutely positively must be restarted, and you don't want to lose any unsaved changes (and the apps aren't scriptable), you'll have to use something like Timbuktu or OSXvnc to connect to the GUI on the remote Mac. Once you've taken that effort, though, you might as well just choose Restart in the GUI as well!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 15
    Last Post: 07-26-2013, 07:12 PM
  2. Replies: 6
    Last Post: 04-04-2011, 02:36 AM
  3. Sudden Shutdown without warning, previous shutdown code: -2
    By scottttocsscott in forum Apple Notebooks
    Replies: 3
    Last Post: 04-24-2010, 04:48 AM
  4. computer shutdown in the middle of upgrading overall software
    By daniel3507 in forum Apple Notebooks
    Replies: 2
    Last Post: 03-30-2009, 02:48 PM
  5. Automatically shutdown computer
    By Dave113 in forum OS X - Apps and Games
    Replies: 6
    Last Post: 12-17-2006, 02:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •