+ Post New Thread
Results 1 to 10 of 10
Mac Thread, Remote Management - VNC setup via UNIX? in Technical; Is it possible to remotely set up the VNC option via a remote UNIX command/ARD? I am trying to avoid ...
  1. #1
    theeldergeek
    Guest

    Remote Management - VNC setup via UNIX?

    Is it possible to remotely set up the VNC option via a remote UNIX command/ARD?

    I am trying to avoid having to visit 40 machines to manually tick the VNC option and put in the password.

    I know I can control the machines using ARD, but we want to be able to VNC into them via a Windows box too, so adding the VNC option in (Sharing > Remote Management > Computer Settings) is a must.

    The machines I'm trying to access are iMac's running Mac OS 10.5; the machine I am trying to access them from in a Win7 box running UltraVNC 1.0.8.2. Everything is in the same subnet on the LAN.
    Last edited by theeldergeek; 14th May 2010 at 12:15 PM.

  2. #2

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Which distribution, and where is this box?

  3. #3

    Join Date
    May 2008
    Posts
    213
    Thank Post
    2
    Thanked 27 Times in 27 Posts
    Rep Power
    17
    Quote Originally Posted by powdarrmonkey View Post
    Which distribution, and where is this box?
    uh?

    10.5: Start screen sharing remotely in Terminal - Mac OS X Hints should be what you need...

  4. #4

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Quote Originally Posted by nicklec View Post
    uh?
    The question made sense before the OP was edited.

  5. #5
    theeldergeek
    Guest
    Quote Originally Posted by nicklec View Post
    I can already access the machines remotely, so I could effectively not physically visit the machines, and simply log into each one and configure as needed - however, as you can change (for example) which time server is used via the UNIX templates in ARD for a whole group of machines at once, I was hoping there was a way to set up the VNC configuration on the machines en masse.

    The idea behind all this, is to give Windows machines VNC access to remote iMac's.

    I can't see how it would work with the link you (kindly) posted?

  6. #6

    Join Date
    May 2008
    Posts
    213
    Thank Post
    2
    Thanked 27 Times in 27 Posts
    Rep Power
    17
    ARD send unix command:

    cd /Library/Preferences && echo -n enabled > com.apple.ScreenSharing.launchd

    Should work

  7. #7
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,424
    Thank Post
    10
    Thanked 488 Times in 428 Posts
    Rep Power
    111

  8. Thanks to DMcCoy from:


  9. #8
    theeldergeek
    Guest
    Deeper water than I like swim in that is (gulp!). I've got a Macbook here I'll have go with when I can unpick that a bit. Me and UNIX aren't best suited I'm afraid. I was hoping it would be something relatively straightforward (which that probably is when you are in the know!).

    Thanks anyway.

  10. #9
    theeldergeek
    Guest
    Quote Originally Posted by nicklec View Post
    ARD send unix command:

    cd /Library/Preferences && echo -n enabled > com.apple.ScreenSharing.launchd

    Should work
    I don't need to launch screen sharing. I can access all the machines via ARD already. What I am trying to do, is set up the VNC configuration in one hit rather than have to configure 40 machines one after the other.

  11. #10
    AntonioRocco's Avatar
    Join Date
    Oct 2008
    Location
    South Yorkshire
    Posts
    262
    Thank Post
    9
    Thanked 112 Times in 95 Posts
    Rep Power
    39
    Hi

    I think possibly issuing from the command line on any mac:

    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -help

    Should list all your options. I think the ones you're probably interested in will be the -clientopts switch. This is the full list available in the manual page:

    -setmenuextra -menuextra yes|no ## Set whether menu extra appears in menu bar
    -setdirlogins -dirlogins yes|no ## Set whether directory logins are allowed
    -setreqperm -reqperm yes|no ## Allow VNC guests to request permission
    -setvnclegacy -vnclegacy yes|no ## Allow VNC Legacy password mode
    -setvncpw -vncpw mynewpw ## Set VNC Legacy PW
    -setwbem -wbem yes|no ## Allow incoming WBEM requests over IP

    Don't use the same password as the local admin account. I think you'll probably need the -setreqperm and -setvncpw options. For me TightVNC, UltraVNC and RealVNC have all worked in one way or another. Experiment with them all until you find one that suits. Ultimately it may have been better enabling those options as part of the NetBoot Image. Perhaps this is something you could consider when building the refresh image?

    Does this help?

    Antonio Rocco (ACSA)
    Last edited by AntonioRocco; 14th May 2010 at 02:46 PM.

  12. Thanks to AntonioRocco from:


SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 1
    Last Post: 20th November 2009, 08:10 PM
  2. Remote Control/VNC for Windows Server 2008
    By gerkeac in forum Windows Server 2008
    Replies: 8
    Last Post: 24th October 2008, 12:26 PM
  3. Remote VNC Installation
    By kerrymoralee9280 in forum How do you do....it?
    Replies: 18
    Last Post: 12th February 2008, 05:34 PM
  4. VNC setup
    By danIT in forum How do you do....it?
    Replies: 4
    Last Post: 13th January 2007, 12:38 AM
  5. VNC, Remote Desktop, etc thread
    By Inox in forum Windows
    Replies: 11
    Last Post: 2nd August 2005, 09:53 PM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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