2020-01-05 17:20:29 +01:00
|
|
|
# lightdm-webkit2-c3c
|
|
|
|
|
2020-01-05 17:44:14 +01:00
|
|
|
[Link to Demo-Video](https://chaos.social/system/media_attachments/files/005/219/929/original/58163f3c08db4088.mp4)
|
|
|
|
|
|
|
|
|
2020-01-05 17:43:15 +01:00
|
|
|
This is a simple greeter for lightdm-webkit2, with a countdown to the next Chaos Communication Congress.
|
|
|
|
|
|
|
|
## How to install and setup on Arch Linux
|
|
|
|
|
|
|
|
you need the [webkit2 greeter](https://www.archlinux.org/packages/community/x86_64/lightdm-webkit2-greeter/) for lightdm
|
|
|
|
|
|
|
|
```
|
|
|
|
pacman -S lightdm-webkit2-greeter
|
|
|
|
```
|
|
|
|
|
|
|
|
then you can clone this repo (you need root privileges to clone this repo directly into the theme forlder)
|
|
|
|
|
|
|
|
```
|
|
|
|
git clone https://git.elektrollart.org/Elektroll/lightdm-webkit2-c3c.git /usr/share/lightdm-webkit/themes/c3c
|
|
|
|
```
|
|
|
|
|
|
|
|
Edit **/etc/lightdm/lightdm.conf** and add this line, if not exists:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
[Seat:*]
|
|
|
|
greeter-session = lightdm-webkit2-greeter
|
|
|
|
```
|
|
|
|
|
|
|
|
Set the the theme which lightdm-webkit2-greeter should use in **/etc/lightdm/lightdm-webkit2-greeter.conf** :
|
|
|
|
|
|
|
|
```
|
|
|
|
webkit_theme = c3c
|
|
|
|
```
|
|
|
|
|
2020-01-05 17:47:05 +01:00
|
|
|
c3c is the foldername.
|
|
|
|
|
2021-12-07 08:15:07 +01:00
|
|
|
Edit LightDM config file **/etc/lightdm/lightdm.conf**
|
|
|
|
```
|
|
|
|
[LightDM]
|
|
|
|
minimum-vt=7 # Setting this to a value < 7 implies security issues, see FS#46799
|
|
|
|
log-directory=/var/log/lightdm
|
|
|
|
run-directory=/run/lightdm
|
|
|
|
sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
|
|
|
|
|
|
|
|
|
|
|
|
[Seat:*]
|
|
|
|
greeter-session = lightdm-webkit2-greeter
|
|
|
|
pam-service=lightdm
|
|
|
|
user-session=1hikari
|
|
|
|
session-wrapper=/etc/lightdm/Xsession
|
|
|
|
|
|
|
|
[XDMCPServer]
|
|
|
|
|
|
|
|
[VNCServer]
|
|
|
|
ROOT#
|
|
|
|
```
|
|
|
|
|
2020-01-05 17:47:05 +01:00
|
|
|
If you use a different dm, like GDM from gnome, disable this service
|
|
|
|
|
|
|
|
```
|
|
|
|
systemctl stop gdm
|
|
|
|
systemctl disable gdm
|
|
|
|
```
|
|
|
|
|
|
|
|
and start lightdm
|
|
|
|
|
|
|
|
```
|
|
|
|
systemctl start lightdm
|
|
|
|
```
|
|
|
|
|
|
|
|
if all works fine and you can login, enable lightdm
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
systemctl enable lightdm
|
|
|
|
```
|