Results 1 to 9 of 9

Thread: Gsettings for unity-greeter is broken?

  1. #1
    Join Date
    Jun 2011
    Location
    Singapore
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Gsettings for unity-greeter is broken?

    Can anyone confirm that the gsettings for unity-greeter is broken? If I change the options here, they don't actually get reflected on the unity-greeter. But if I test it with the command
    Code:
    unity-greeter --test-mode
    , they work as expected. I wonder if it is just me or someone else already has this problem.



    And, if someone has stumbled across any relevant bug reports, please link me to them. Thanks!

    (I can't tell if this thread is relevant to my thread.)

  2. #2
    Join Date
    Mar 2010
    Location
    Southern NH, USA
    Beans
    160
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Gsettings for unity-greeter is broken?

    You have to change the gsettings as the lightdm user (not as your login because of course you haven't logged in

    Do my instructions in the last post on that thread not work for you?

  3. #3
    Join Date
    Jun 2011
    Location
    Singapore
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Gsettings for unity-greeter is broken?

    Right. Thanks. It works. I didn't try it last time.

  4. #4
    Join Date
    Jun 2007
    Beans
    12,997

    Re: Gsettings for unity-greeter is broken?

    You were & could, at least for some of those options, supposed to be able to set as a user, clearest example would be the grid on or off.
    That broke at some point & hasn't been fixed (or maybe not even reported

    Bug that caused the grid setting (per user) to exist

    https://bugs.launchpad.net/unity-greeter/+bug/883908

  5. #5
    Join Date
    Mar 2010
    Location
    Southern NH, USA
    Beans
    160
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Gsettings for unity-greeter is broken?

    Quote Originally Posted by mc4man View Post
    You were & could, at least for some of those options, supposed to be able to set as a user, clearest example would be the grid on or off.
    That broke at some point & hasn't been fixed (or maybe not even reported

    Bug that caused the grid setting (per user) to exist

    https://bugs.launchpad.net/unity-greeter/+bug/883908
    That would be bad, being able to access gsettings of a user without authenticating. So I could have just patched the key name in the binary and read other values from a user's dconf backend??

    Glad that security hole got closed.

  6. #6
    Join Date
    Jun 2007
    Beans
    12,997

    Re: Gsettings for unity-greeter is broken?

    Quote Originally Posted by NHclimber View Post
    That would be bad, being able to access gsettings of a user without authenticating. So I could have just patched the key name in the binary and read other values from a user's dconf backend??

    Glad that security hole got closed.
    What is so bad about a user deciding if they want the grid displayed on the their greeter screen or not?

  7. #7
    Join Date
    Mar 2010
    Location
    Southern NH, USA
    Beans
    160
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Gsettings for unity-greeter is broken?

    Quote Originally Posted by mc4man View Post
    What is so bad about a user deciding if they want the grid displayed on the their greeter screen or not?
    That's not what I mean.

    If a program can access user-specific information without ever authenticating, then it can be subverted to access different, maybe more valuable information *without having to authenticate*.

    At the time unity-greeter is running, you haven't logged in. So unity-greeter being able to read your user-specific information is bad. What if unity-greeter is subverted so that it reads other, more valuable information *as you* than whether you want the grid on or not?
    Last edited by NHclimber; April 14th, 2012 at 04:27 AM. Reason: added example

  8. #8
    Join Date
    Jun 2007
    Beans
    12,997

    Re: Gsettings for unity-greeter is broken?

    Okay - I thought this thread was about the user settings for the greeter & whether they could be edited in gsettings (per user), & if so was that broken.
    From what I' see you should be able to & currently can't.
    (what some of them do I'm not too sure & honestly don't really care

  9. #9
    Join Date
    Jun 2007
    Beans
    12,997

    Re: Gsettings for unity-greeter is broken?

    Quote Originally Posted by NHclimber View Post
    That's not what I mean.

    If a program can access user-specific information without ever authenticating, then it can be subverted to access different, maybe more valuable information *without having to authenticate*.

    At the time unity-greeter is running, you haven't logged in. So unity-greeter being able to read your user-specific information is bad. What if unity-greeter is subverted so that it reads other, more valuable information *as you* than whether you want the grid on or not?
    That seems to be correct - earlier in 12.04 dev you could edit greeter settings thru gsettings, now you obviously can't.

    So to mention - an alternate to the cli switching to lightdm user, ect would be to create an override file & compile.
    Ex. with 3 of the settings though don't see much purpose to the color one

    Code:
    sudo  gedit /usr/share/glib-2.0/schemas/50_unity-greeter.gschema.override
    Code:
    [com.canonical.unity-greeter]
    play-ready-sound = false
    background-color = "#000000"
    draw-grid = false
    Code:
    sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

Tags for this Thread

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
  •