[Bug 1034520] Re: dconf-editor does not allow changing authentication-methods for vino server

Ritesh Khadgaray 1034520 at bugs.launchpad.net
Fri Aug 31 14:11:23 UTC 2012


This is a bug with vino, and not dconf.  vino uses type "as" ( an array
of strings ) to save the value of authentication-methods. The schema
file uses strings, instead of "as".

from /usr/share/glib-2.0/schemas/org.gnome.Vino.gschema.xml
...
    <key name='authentication-methods' type='as'>
      <summary>Allowed authentication methods</summary>
...
   <choices>
        <choice value='none'/>  <-------- These are of type string, and not "as"
         <choice value='vnc'/>    <-------- same as above 
      </choices>
      <default>['none']</default>
    </key>

To fix this, we need to update this to as shown below

        <choice value="['none']"/>  <-------- These are of type string, and not "as"
         <choice value="['vnc']"/>    <-------- same as above 

I have posted this fix to upstream, https://bugzilla.gnome.org/show_bug.cgi?id=683103
and requesting this be fixed in precise

-- ritz

#wosup

** Bug watch added: GNOME Bug Tracker #683103
   https://bugzilla.gnome.org/show_bug.cgi?id=683103

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1034520

Title:
  dconf-editor does not allow changing authentication-methods for vino
  server

Status in Ubuntu Advantage Project:
  Triaged

Bug description:
  1. Description of the problem:
  When editing the value /desktop/gnome/remote-access/authentication-methods there is a error "Error setting value: 0-4: unknown keyword" OR "Error setting value: 0-3:unknown keyword" .
  Also it is impossible to set a mandatory value through /etc/dconf/db/local.d/vnc since local.d does not seem to exist in the current 12.04 install. I am not sure if it needs to be created or not. Creating it does not fix anything.

  2. Ubuntu release, software version, Release Number and Architecture of the selected components.
  Distributor ID:	Ubuntu
  Description:	Ubuntu 12.04 LTS
  Release:	12.04
  Codename:	precise

  dconf-tools:
    Installed: 0.12.0-0ubuntu1
    Candidate: 0.12.0-0ubuntu1
    Version table:
   *** 0.12.0-0ubuntu1 0
          500 http://ca.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
          100 /var/lib/dpkg/status

  vino:
    Installed: 3.4.2-0ubuntu1.1
    Candidate: 3.4.2-0ubuntu1.1
    Version table:
   *** 3.4.2-0ubuntu1.1 0
          500 http://ca.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       3.4.1-0ubuntu1 0
          500 http://ca.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

  3. How reproducible is the problem?
  Easily reproducible

  4. Steps to Reproduce:
  1. sudo apt-get install vino dconf-tools
  2. open dconf-tools and edit the value /desktop/gnome/remote-access/authentication-methods to VNC.
  3. An error message will show up: "Error setting value: 0-4: unknown keyword" and won't let you choose the option.

   a. Actual Results: "Error setting value: 0-4: unknown keyword" OR "Error setting value: 0-3:unknown keyword"
   b. Expected Results: to be able to set option to VNC

  5. Known Workaround:
  It can be set through gsettings set org.gnome.Vino authentication-methods "['vnc']" although it is not possible to
  set mandatory permissions through /etc/dconf/db/local.d/vnc.

  6. Business Impact and customer deadlines:
  The impact on the customer is MEDIUM however the customer is planning very soon to deploy/upgrade from 10.04 to 12.04 on 30K+ machines and having the mandatory parameter working and through dconf-editor is very important.

  7. Additional information:
  There is no need to send supportconfig since the issue is reproducible on any 12.04 installation.

  PRIO: 3
  REF: 500D000000Hr0lf
  PUB: 1027086
  CUS: Gendarmerie Nationale
  PACKAGE: dconf-tools, vino

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-advantage/+bug/1034520/+subscriptions



More information about the Ubuntu-sponsors mailing list