This will build and install **web-greeter** in a zippy way, which compresses the python code as a zip and uses it as a binary. Either `sudo make install_freeze` to build and install with cx_freeze. The zippy method depends on the actual python interpreter and its libraries, so you could have problems when updating python or removing any dependency, while the cx_freeze method tries to fix this "problem".
This will build and install **web-greeter** in a zippy way, which compresses the python code as a
zip and uses it as a binary.
See [latest release][releases].
See [latest release][releases].
@ -101,12 +106,12 @@ To control the brightness inside the greeter, I recommend to use [acpilight][acp
udev rules are needed to be applied before using it. Then, lightdm will need to be allowed to change backlight values, to do so add lightdm user to **video** group: `sudo usermod -a -G video lightdm`
udev rules are needed to be applied before using it. Then, lightdm will need to be allowed to change backlight values, to do so add lightdm user to **video** group: `sudo usermod -a -G video lightdm`
If you don't want to or don't have a compatible device, disable it inside `/etc/lightdm/web-greeter.yml` (disabled by default)
Enable it inside `/etc/lightdm/web-greeter.yml`
### Battery status
### Battery status
`acpi` is the only tool you need (and a battery).
`acpi` is the only tool you need (and a battery).
You can disable it inside `/etc/lightdm/web-greeter.yml` (disabled by default)
You can enable it inside `/etc/lightdm/web-greeter.yml`
## Debugging
## Debugging
You can run the greeter from within your desktop session if you add the following line to the desktop file for your session located in `/usr/share/xsessions/`: `X-LightDM-Allow-Greeter=true`.
You can run the greeter from within your desktop session if you add the following line to the desktop file for your session located in `/usr/share/xsessions/`: `X-LightDM-Allow-Greeter=true`.
@ -125,7 +130,7 @@ web-greeter --debug
Before setting **web-greeter** as your LightDM Greeter, you should make sure it does work also with LightDM:
Before setting **web-greeter** as your LightDM Greeter, you should make sure it does work also with LightDM:
- Run **web-greeter** as root
- Run **web-greeter** as root with `--no-sandbox` flag ("Unable to determine socket to daemon" and "XLib" related errors are expected)
- Run `lightdm --test-mode`. Although it's not supported, it could help to debug lightdm.
- Run `lightdm --test-mode`. Although it's not supported, it could help to debug lightdm.
### LightDM crashes and tries to recover over and over again
### LightDM crashes and tries to recover over and over again