Is there a way to change system preferences - specifically vnc settings via terminal?

Discussion in 'macOS' started by Spanky Deluxe, Dec 12, 2007.

  1. Spanky Deluxe macrumors 601

    Spanky Deluxe

    Joined:
    Mar 17, 2005
    Location:
    London, UK
    #1
    I'm not at home at the moment and want to connect to my home computer via vnc. Unfortunately, I forgot to check the setting to allow VNC users to control the screen so can't connect. I can, however, connect via ssh so have access to the terminal.

    Any ideas?
     
  2. Mitthrawnuruodo Moderator emeritus

    Mitthrawnuruodo

    Joined:
    Mar 10, 2004
    Location:
    Bergen, Norway
    #2
    Should be possible if you know the name of the pref file and the pref:

    Code:
    defaults write <name of pref file> <name of pref> <type> <value>
    Like this:

    Code:
    defaults write com.apple.iTunes invertStoreLinks -bool YES
     
  3. Spanky Deluxe thread starter macrumors 601

    Spanky Deluxe

    Joined:
    Mar 17, 2005
    Location:
    London, UK
    #3
    Great, thanks. :) I'm home now so can activate it anyway but that's very useful to know that you can do that for preferences. :)
     

Share This Page