Giter VIP home page Giter VIP logo

Comments (5)

sbalneav avatar sbalneav commented on June 2, 2024

http://people.ubuntu.com/~robert-ancell/lightdm/reference/lightdm-gobject-1-User-Accounts.html#lightdm-user-get-image

We're basically just providing the result of the lightdm callback, so it should already be that way. Are you seeing something different?

EDIT: Ah, I see what you're wanting; the greeter runs as the lightdm user; so just because we've had the uri handed to us, doesn't mean it's accessible. OK, we just need an access check. I'll add it.

from web-greeter.

lots0logs avatar lots0logs commented on June 2, 2024

This might actually be a bug in lightdm, I am not sure yet. While testing the theme yesterday I noticed that lightdm was providing a user image filepath that didn't actually exist: /home/antergos/.face I know that's the default place it looks for the image but there was no image for my test (which was a fresh installation in a VM). If I see the issue again I will report it upstream, but I figure it doesnt hurt to have a check on our end in the meantime.

from web-greeter.

sbalneav avatar sbalneav commented on June 2, 2024

My fix works for me, but now you'll have to fix the antergos theme; at one point, you do a .length, and it complains when it's NULL.

from web-greeter.

sbalneav avatar sbalneav commented on June 2, 2024

Also, check out my newer commits. The text we receive out of lightdm via the show_message() callback is just plain text; it's got newlines, &'s potentially <'s and >'s depending on what messages any particular pam module author decides to spit at us. To make the theme author's work a bit easier, I've added a greeterutil.txt2html() function which will clean up passed text. Saves the author having to manually make it html "clean" in javascript.

from web-greeter.

lots0logs avatar lots0logs commented on June 2, 2024

Fixed in 64f4839

from web-greeter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.