New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Apple Notebooks Apple's notebook computers including MacBook Pro, MacBook, MacBook Air, PowerBook, and iBook.

Shutdown from another computer ?


Post Reply New Thread Subscribe

 
Thread Tools
Hawke
Guest
 
Posts: n/a

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
QUOTE Thanks
Murlyn

 
Murlyn's Avatar
 
Member Since: Jun 11, 2003
Location: Mount Vernon, WA
Posts: 4,909
Murlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to all
Mac Specs: MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2

Murlyn is offline
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?
QUOTE Thanks
hype.it

 
hype.it's Avatar
 
Member Since: Mar 27, 2004
Location: China
Posts: 738
hype.it is on a distinguished road
Mac Specs: Dual 2.2GHz powered by AMD Opteron - *Sends G5 & 8Gb Ram to scrap heap* Yeah! finally switched BACK!

hype.it is offline
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!
QUOTE Thanks

Post Reply New Thread Subscribe


« hot powerbook | Help with second display!!!! »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
What computer should I get? texaslonghorn34 Switcher Hangout 16 06-08-2004 11:40 AM
Shutdown Or Not Shutdown? Topazworm Switcher Hangout 12 05-17-2004 06:49 PM
apple remote desktop won't wake client computer flossie Running Windows (or anything else) on your Mac 0 03-08-2004 07:06 PM
computer to computer network chris041067 Internet, Networking, and Wireless 3 03-07-2004 01:41 PM
iMac Energy Saver is crashing computer? lokerd Apple Desktops 9 10-07-2003 09:30 PM

All times are GMT -4. The time now is 07:09 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?