Quantcast

Forums | MacLife

You are not logged in.

#1 2006-10-18 1:33 pm

hokeypokey
Member
Registered: 2006-10-18
Posts: 6

Control Mac Remotely

Please respond quickly!  I'm in the middle of a brain twist regarding just exactly how to set up this VNC thing on our office network.  The article was okay, but I need more details than were provided.  I have no interest in using this over the internet, just an office network.  Thanks!

Offline

 

#2 2006-10-18 2:26 pm

nikbot
Head Honcho
Administrator
Registered: 2002-04-09
Posts: 82

Re: Control Mac Remotely

it's pretty much plug-and-play on a local. what are you stuck on?

Offline

 

#3 2006-10-18 9:39 pm

hokeypokey
Member
Registered: 2006-10-18
Posts: 6

Re: Control Mac Remotely

Hey nikbot!  I agree with you, but I guess I'm having trouble understanding the entire concept here, and this is making every step very unstable.  I thought I had this right, but when I went to connect to another machine, I was unable to do so, and received an error.  What am I supposed to do with these firewall settings, and what about all those port settings?  What do they mean?  I just want the exact set-ups for both machines.  javascript:insert_text('confused',%20'');

Offline

 

#4 2006-10-18 9:43 pm

hokeypokey
Member
Registered: 2006-10-18
Posts: 6

Re: Control Mac Remotely

tongueloleekcryroll

Offline

 

#5 2006-10-18 10:35 pm

justine
Elitist Beer Lover
Moderator
From: Sac'to
Registered: 1999-12-23
Posts: 28763
Website

Re: Control Mac Remotely

Ok, i'm going to punt this over to BH for more info.

Offline

 

#6 2006-10-19 5:20 am

caol
Member
From: Ottawa, ON, Canada
Registered: 2003-02-02
Posts: 328

Re: Control Mac Remotely

You need two pieces of software. One that "serves" the display to outside "clients".  The two pieces I use are:

Server:  OSXvnc
Client: Chicken of the VNC (CotVNC)

On each machine that you want to control remotely you need to install OSXvnc and have it running. It can be set up as a "start-up item" so that if the remote machine restarts for any reason OSXvnc will restart as well.

If you leave OSXvnc's defaults then its service will be available at port 5900 (display 0) [port 5901 for display 1, etc. etc.].

On the controlling machine you install and start CotVNC.  Enter the IP address of the target machine, any password you may have set up on the remote machine and the display number (usually 0) and punch the "Connect" button and you should get a window that contains the screen display of the remote machine.

The key is that the OSXvnc server has to be running on the remote machine.  CotVNC has no way of remotely starting the service.

I don't have a multi-machine network so I can't test having CotVNC being connected to multiple remote machines.  I do use it through SSH tunneling over the Internet all the time.

HTH

Caol


To teach superstitions as truth is a most terrible thing.
            - Hypatia of Alexandria

Offline

 

#7 2006-10-19 8:01 am

wcontello
Member
From: Austin, Texas 78738
Registered: 2000-05-11
Posts: 578

Re: Control Mac Remotely

It depends on what version of the OS you have.  10.4.X has VNC built in BUT Apple hid the VNC server as part of their "Apple Remote Desktop".  If you installed OSXVnc then you should stop that server and disable it's startup item IF AND ONLY IF YOU ARE RUNNING 10.4.x and later.

VNC uses ports 5900 - 5909.

There are two major steps in getting readty to use VNC:
  1) Setting up the server (the machine you want to control). 
  2) Setting up the client (the machine you want to use to control the host)

1) Setting up the server (the machine you want to control):
  a) open "System Preferences"
  b) switch to the "Sharing" panel
  c) Select the "Services" tab
  d) check the "Apple Remte Desktop" service (you may need to authenticate if the lock is closed in the bottom right)
  e) when you click on the test "Apple Remote..." in the list you will see a button appear "Access Privieges..."  Click it.
  f)  Ckeck the box "VNC viewers may control..."
  g) you should alse check users you want to allow control from and any of the other check boxes you think are required for your setup.  You should also set a password for taking control via VNC
  h) now click OK and select the "Firewall" tab
  i) scroll down until you see the VNC entry.  make sure it's checked
  j) switch back to the "Services" tab, select the "Apple Remote Desktop" item and note the IP address for use when trying to connect to the host.

On a client machine you should start the application "Chicken of the VNC" and type in the IP address from step (1j), then type in the password


That should be it.

Wayne

Offline

 

#8 2006-10-19 8:04 am

pottymouth
Uncreative
Moderator
From: JP, MA
Registered: 2002-02-06
Posts: 17408
Website

Re: Control Mac Remotely

Are all these computers really set up on the same network? One DHCP server? No extra routers? Just hubs and/or switches? Can you connect to the computers for file sharing using the same IP you're using for the VNC?

Offline

 

#9 2006-10-19 10:28 pm

hokeypokey
Member
Registered: 2006-10-18
Posts: 6

Re: Control Mac Remotely

Just wanted to thank you guys a lot.  Would I expect anything less from a bunch of Mac Addicts?  I did just like you said, even though I am still confused about what I actually did, but everything works just fine.  I practiced on my wife tonight from my laptop top our G5 quad.  She got kind of mad at me, because she was busy, and I kept taking over the mouse and moving stuff around.

Again, my main reason for using these methods is to be able to more efficently collect security files from our network clients.  Does anyone know of a better way to do this other than physically walking to each and everyone's computer with a thumb drive and running the command "open /var/log?"

Thanks!

Offline

 

#10 2006-10-19 10:42 pm

mahakali
anti-razor
From: easter egg
Registered: 2002-11-06
Posts: 5584

Re: Control Mac Remotely

What exactly do you want to do? If you want to read log files on other machines, you can simply allow afp connection form the other macs' Sharing pane and then open the log file from Console.app on your mac. If you want to make backups of /var/log, you can use rsync. There are GUI based rsync for os x for this.


1. Instill fear.
2. ???????? (use your imagination)
3. Profit!

Offline

 

#11 2006-10-20 7:24 am

wcontello
Member
From: Austin, Texas 78738
Registered: 2000-05-11
Posts: 578

Re: Control Mac Remotely

You could always have you machines write the log files to a central place on one of you machines.

Offline

 

#12 2006-10-20 12:20 pm

hokeypokey
Member
Registered: 2006-10-18
Posts: 6

Re: Control Mac Remotely

Mahakali!

Thanks for this info, but I don't see afp in the Services pane.  What is afp anyway?  I am in a real pickle here, and I need this capability ASAP!  If you could just elaborate on this for me, I would be grateful - thanks!

Offline

 

#13 2006-10-20 3:52 pm

wcontello
Member
From: Austin, Texas 78738
Registered: 2000-05-11
Posts: 578

Re: Control Mac Remotely

AFP= Apple File Protocol

This is how it is easiest to locate and share macintosh computers.  You enable this feature by checking the "Personal File Sharing" box in the panel "System Preferences -> Sharing -> Services"

Offline

 

#14 2006-10-20 3:58 pm

hokeypokey
Member
Registered: 2006-10-18
Posts: 6

Re: Control Mac Remotely

Okay wcontello, I'll give this a try and let you know what happens.  Thanks a lot.  I know I'm quite the novice, but I guess I'm going to have to dig into this stuff at some point.  I'm a designer, not a programmer.

Offline

 

#15 2006-10-21 12:31 am

mahakali
anti-razor
From: easter egg
Registered: 2002-11-06
Posts: 5584

Re: Control Mac Remotely

Sorry, I forgot the name isn't ekplicitly "afp" in the Sharing pane. Mac OS: How to Connect to File Sharing or Apple File Services (AFP)

A side note: Once the remote server is mounted, you way not be able to see invisible files. If you need to acces the /var/log/ in the remote mac, you can use a shortcut cmd-shift-g (Finder menubar > Go > Go te Folder) from finder or an open/save dialog box and type /Volumes/[name of the mounted remote mac]/var/log then press return/enter.

To make it easer, you can type partial name of the folder and press the tab key. It'll append the rest of the folder's name as long as there's no other folder with a similar name. Example: you want to go to /Library/Desktop Pictures/ folder. Type /Lib, press tab, type Desk, press tab again.

Hope this helps.

Last edited by mahakali (2006-10-21 12:32 am)


1. Instill fear.
2. ???????? (use your imagination)
3. Profit!

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson