You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+36-2Lines changed: 36 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,9 +66,28 @@ sudo systemctl restart lightdm
66
66
```
67
67
68
68
69
-
## Troubleshooting
69
+
## Development
70
+
71
+
### Client
72
+
Use the provided Makefile to build the theme:
73
+
```bash
74
+
make
75
+
```
76
+
77
+
You can optionally build the theme in light mode:
78
+
```bash
79
+
make CLIENT_THEME=light
80
+
```
81
+
82
+
Or in light mode with a boxed form to make the login/unlock form more readable:
83
+
```bash
84
+
make CLIENT_THEME=light CLIENT_THEME_BOXED=boxed
85
+
```
86
+
87
+
88
+
#### Debugging the client
89
+
You can then open the *static/index.html* file in your browser to do some basic editing, but for most things you'll want to install the greeter on your system and run it in debug mode.
70
90
71
-
### How to debug
72
91
Add the following line to `/usr/share/xsessions/ubuntu.desktop`:
73
92
```conf
74
93
X-LightDM-Allow-Greeter=true
@@ -83,6 +102,21 @@ You can then open the Developer Tools sidebar from the greeter's menu and view t
83
102
84
103
Do not forget to remove the line from `/usr/share/xsessions/ubuntu.desktop` after you're done debugging - it's a security risk to allow the greeter to be run by regular users.
85
104
105
+
106
+
### Server
107
+
Use the provided Makefile to build the server or use the docker-compose file in the *server/* directory directly:
108
+
```bash
109
+
# Makefile method
110
+
make server
111
+
112
+
# Docker-compose method
113
+
cd server
114
+
docker compose up
115
+
```
116
+
117
+
118
+
## Troubleshooting
119
+
86
120
### Locking the screen doesn't work at all
87
121
Make sure the LightDM config allows user-switching. Add the following line to */etc/lightdm/lightdm.conf*:
0 commit comments