Giter Site home page Giter Site logo

codam-coding-college / codam-web-greeter Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 8.0 19.94 MB

Custom LightDM greeter and lock screen theme for Codam. Requires nody-greeter or web-greeter

License: MIT License

HTML 4.31% CSS 13.68% TypeScript 69.25% Makefile 1.67% JavaScript 0.48% Shell 10.62%
42born2code codam nody-greeter web-greeter-theme

codam-web-greeter's People

Contributors

dependabot[bot] avatar freekbes avatar nimon77 avatar w2wizard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

codam-web-greeter's Issues

Screen unlock crashes a session after a forced logout from the systemd idling script

Steps to reproduce:

  1. Log in to a computer normally
  2. Let it log you out after 42 minutes of inactivity without locking your screen (or with locking the screen but preventing idletime in the lock screen by pressing keys on keyboard every now and then, then logging back in when idletimer > 42 minutes)
  3. Log back in normally
  4. Lock screen
  5. Unlock screen and the computer will log you out

Logs:
Logs indicate that this happens because the second session is started in display server :1, which is normally used by the lock screen. So when the user locks their screen in this session, the lock screen instead goes to :0, which causes the logout hook to be fired in 42 schools upon unlock due to it being the same script as the cleanup script for the greeter - and the difference here is identified by the display server's number. When this is :1, nothing happens, but when it's :0, the user's session is killed and disconnected. Which is what causes the session to crash and to return to the login screen.

Events overflow when display is being scaled on HiDPI screens

In the code there is a function that makes sure there are only as many events being displayed on screen as fit. However, HiDPI scaling from the applyHiDpiScaling function is not taken into account in this calculation, resulting in more events being rendered than can fit on-screen.

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.