Results 1 to 3 of 3

Thread: VNC prompt

  1. #1
    Join Date
    Dec 2008
    Beans
    12

    Question VNC prompt

    I'm trying to create a script so that I dont have to manually configure my ubuntu machine each time I do a fresh install on new hardware. The remote desktop sharing default is setup to confirm each access to the machine. What config file does this use?

    I tried toggling the options and cat out

    Code:
    ~/.gconf/desktop/gnome/remote_access/%gconf.xml to see any changes made.
    When I make changes to the other options like "show notification area icon" which changed values in the config file. I thought the following line would change when toggling for promting access but it hasn't.

    Code:
     <entry name="prompt_enabled" mtime="1362680456" type="bool" value="false"/>


    Thoughts? help?

    Thanks guys.
    Attached Images Attached Images

  2. #2
    Join Date
    Apr 2012
    Beans
    7,256

    Re: VNC prompt

    I'm not sure about this, but I suspect that since the move from gconf to dconf, the %gconf files just reflect info that's actually held in the dconf database (by default ~/.conf/dconf/user I think) and manual changes to the file maybe don't propagate back to the db - you could try writing directly to the dconf db instead

    Code:
    dconf write /desktop/gnome/remote-access/prompt-enabled false
    dconf update
    In fact it seems like the %gconf file lags any updates to the actual db:

    Code:
    $ grep prompt_enabled ~/.gconf/desktop/gnome/remote_access/%gconf.xml 
        <entry name="prompt_enabled" mtime="1362695685" type="bool" value="true"/>
    $ 
    $ dconf write /desktop/gnome/remote-access/prompt-enabled false
    $ dconf update
    $ dconf read /desktop/gnome/remote-access/prompt-enabled
    false
    $ grep prompt_enabled ~/.gconf/desktop/gnome/remote_access/%gconf.xml 
        <entry name="prompt_enabled" mtime="1362695685" type="bool" value="true"/>
    $ grep prompt_enabled ~/.gconf/desktop/gnome/remote_access/%gconf.xml 
        <entry name="prompt_enabled" mtime="1362695685" type="bool" value="true"/>
    $ grep prompt_enabled ~/.gconf/desktop/gnome/remote_access/%gconf.xml 
        <entry name="prompt_enabled" mtime="1362695685" type="bool" value="true"/>
    $ grep prompt_enabled ~/.gconf/desktop/gnome/remote_access/%gconf.xml 
        <entry name="prompt_enabled" mtime="1362695685" type="bool" value="true"/>
    $ grep prompt_enabled ~/.gconf/desktop/gnome/remote_access/%gconf.xml 
        <entry name="prompt_enabled" mtime="1362695685" type="bool" value="true"/>
    $ grep prompt_enabled ~/.gconf/desktop/gnome/remote_access/%gconf.xml 
        <entry name="prompt_enabled" mtime="1362695796" type="bool" value="false"/>

  3. #3
    Join Date
    Dec 2008
    Beans
    12

    Re: VNC prompt

    Thanks for the reply!! Very helpful

Bookmarks

Posting Permissions

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