[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [lightdm] /: Document testing process
From: Aurélien Gâteau <aurelien.gateau () canonical ! com>
Date: 2012-09-17 15:32:47
Message-ID: 20120917153247.3350CA6094 () git ! kde ! org
[Download RAW message or body]
Git commit 7c91b57bdcdad1355f943c45243a6491d544d810 by Aur=C3=A9lien G=C3=
=A2teau.
Committed on 17/09/2012 at 17:31.
Pushed by gateau into branch 'master'.
Document testing process
Should save me some time for the next review :)
CCMAIL: kde@davidedmundson.co.uk
A +43 -0 README.md
http://commits.kde.org/lightdm/7c91b57bdcdad1355f943c45243a6491d544d810
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..2c1a54f
--- /dev/null
+++ b/README.md
@@ -0,0 +1,43 @@
+# Testing
+
+## Installation
+
+You need to build and install lightdm and lightdm-kde in the same prefix. =
We are
+going to assume both are installed in $PREFIX
+
+## Set lightdm-kde-greeter as lightdm greeter
+
+You can either do:
+
+ cd $PREFIX/share/xgreeters/
+ ln -s lightdm-kde-greeter.desktop default.desktop
+
+or:
+
+- edit $PREFIX/etc/lightdm.conf
+- find the group "[SeatDefaults]"
+- set the "greeter-session" key to "lightdm-kde-greeter"
+
+But your changes will get overwritten next time you run `make install` in
+lightdm directory.
+
+## Fix session lists
+
+Lightdm needs to know which sessions are available:
+
+ cd $PREFIX/share
+ ln -s /usr/share/xsessions
+
+## Running
+
+Start lightdm like this:
+
+ $PREFIX/sbin/lightdm --test-mode --debug
+
+Output of the greeter is sent to `$HOME/.cache/lightdm/log/x-$N-greeter.lo=
g`,
+where $N starts at 1 and increase each time you close the window. $N does =
not
+increase if you stop lightdm with Ctrl+C, so using Ctrl+C is the recommend=
ed
+way to stop it.
+
+Note: the test X server is using a QWERTY layout. Keep this in mind if you=
are
+using a different layout when you type your password.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic