Giter VIP home page Giter VIP logo

lightdm-tiny-greeter's Introduction

LightDM Tiny Greeter

Codacy Badge

A tiny yet customizable GTK3 LightDM Greeter with focus on code and minimalism.

default

Installation

git clone https://github.com/tobiohlala/lightdm-tiny-greeter
cd lightdm-tiny-greeter
make
sudo make install

Configuration

All configuration and customization goes into config.h prior compilation.

Variable Meaning
user_text text when prompting for login
pass_text text when prompting for password
session session to start (name of a desktop-entry located in /usr/share/xsessions)
style UI styling via CSS
ui UI definition via XML

Setup

/etc/lightdm/lightdm.conf

[Seat:*]
...
greeter-session=lightdm-tiny-greeter

Dependencies

  • glib libglib-2.0
  • gtk3 libgtk-3 (>= 3.22)
  • lightdm liblightdm-gobject-1 (>= 1.19.1)

Showcase

screenshot1
#1

screenshot2
#2

screenshot3
#3

screenshot4
#4

screenshot5
#5

lightdm-tiny-greeter's People

Contributors

tobiohlala avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lightdm-tiny-greeter's Issues

Tested with wayland?

Hi,

as far as I know, gtk3 is wayland-ready, isn't it? Yet, I did not find anything in the readme about whether this has been tested with wayland, is compatible with wayland (or whether wayland is out of scope, which would also be okay for me).

Would be nice if you could add a short disclaimer/note about wayland support.

Can't start X session

Hello!
Although usual lightdm works fine, I can't log in with lightdm-tiny-greeter. After every attempt login screen just appear again.
In my /usr/share/xsession I have only:
bspwm.desktop
In config.h I have this line:
static const char *session = "bspwm";
The only thing I have in my /var/log/lightdm/seat0-greeter.log is:
** (process:847): WARNING **: 16:51:52.046: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
I will appreciate any help.

CSS not loading?

I'm having a weird problem and I'm not sure where the responsibility lies. When my computer starts, X spins up, lightdm is spawned, and this greeter starts but I'm unable to see anything that should be in white. I use this greeter on one laptop without problems. I'm trying it on a different laptop and this problem crops up. I can see the cursor blinking and I can authenticate and login. However, graphically I'm "flying blind".

I've recorded a video (on my phone...) that demonstrates this problem. Notably, this problem can be fixed for a single login round by systemctl restart display-manager.service. However, logging out after this results in the same problem until the service is restarted again (killing all pre-existing sessions).

Any ideas whose responsibility this is and how I might fix it?

Please note that I've already added the below to lightdm.conf

logind-check-graphical = true

Default User Patch

This isn't really an issue, but not sure where else to add this :P

I've created a patch for this (since it is the suckless way :P) to enable a default user...
(i.e prefilling the username box on login)

there's a new prop in config.h called default_user, just set that to a username and presto, no need to type a username anymore as it will be prefilled, just hit enter and type the password :P

If anybody is interested here it is
https://gist.github.com/boogie666/0d56f23642343f4223a3c884ef590447

Linking error

When using make I got a lot of undefined reference errors.
After fiddleing and googleing a lot, I discovered that changing the order in the build part of the Makefile (moving $(LIBS) to the end of the line, so that they become the last arguments, not the first) resolved my issue.
Not sure what's happening, didn't look that much into it, but a source that gave me this idea mentions that new gcc versions are more strict about argument order.
I'm quite new to git and github, don't know if this is the apropriate place for this.

show password prompt one more time if password was mistyped

I get that this might sound bold but hear me out.
All login prompts I am familiar with, operate on the same basis.

  • type in username
  • type in password
  • enter
  • if username and password match profit
  • if password is not correct ask the user to reenter the password

If you mistype your password you are asked to reenter your password at least once, until some escalation takes place.
With this greeter it is possible for people to leak their passwords due to the fact that a mistyped password results in a new username field which shows characters in plaintext.

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.