summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* chore(deps): add renovate.jsonrenovate/configurerenovate[bot]2022-10-041-0/+6
|
* x-server-xvnc: Adjust default color depth to match upstream TigerVNC.Maxim Cournoyer2022-08-266-6/+6
| | | | | | | | | | | | | There is no longer support for 8 bit color depth in TigerVNC (see: https://github.com/TigerVNC/tigervnc/commit/e86d8720ba1e79b486ca29a5c2b27fa25811e6a2); using it causes a fatal error. * src/x-server-xvnc.c (x_server_xvnc_init): Set default depth to 24 bit. * tests/scripts/vnc-command.conf (command): Adjust accordingly. * tests/scripts/vnc-guest.conf (user-session): Likewise. * tests/scripts/vnc-login.conf (user-session): Likewise. * tests/scripts/vnc-open-file-descriptors.conf (user-session): Likewise. * data/lightdm.conf: Likewise.
* x-server-local: Correctly order command line arguments.Maxim Cournoyer2022-08-261-1/+13
| | | | | | | | | | | | When providing the VNCServer command as 'Xvnc -SecurityTypes None', the formatted command line used would look like: Xvnc -SecurityTypes None :1 -auth /var/run/lightdm/root/:1 which is invalid (the display number must appear first). * src/x-server-local.c (x_server_local_start): Format the command placing the display number before any other provided arguments.
* lightdm: Honor VNCServer's command in sanity check.Maxim Cournoyer2022-08-261-14/+29
| | | | | | | Fixes #264. * src/lightdm.c (start_display_manager): Validate if the VNCServer command provided binary is available; fallback to 'Xvnc' otherwise.
* * New upstream release:Robert Ancell2022-08-092-1/+26
| | | | | | | | | | | | | | | | | | | | | | | - Overwrite existing X authority files to avoid corruption - Change logind-check-graphical default config value to true - Block autologin if shell in nologin or false - Fix failure if with greeters sending two login requests quickly. - Drop Qt 4 support, it's been unsupported since 2015 - Fix lightdm_set_layout - Improve method of determining a session is Wayland - Don't call setenv with a NULL value - the behaviour is undefined - Replace deprecated QAbstractItemModel::setRoleNames - Move D-Bus conf file to $(datadir)/dbus-1/system.d - Fix tests failing when compiled with --with-greeter-user - Use Python 3 in tests - Disable compiler optimizations for test programs - Compilation fix for glibc 2.33 - Remove deprecated use of G_TYPE_INSTANCE_GET_PRIVATE, G_PARAM_PRIVATE - Fix compile failure due to use of clearenv on FreeBSD - Use a size_t to resolve a compile warning - Fix DesktopManager typo in man page * debian/lightdm.install: - Update for new D-Bus config location
* Releasing 1.32.01.32.0Robert Ancell2022-07-182-1/+22
|
* Fix distcheck failure due to intltool file being left behindRobert Ancell2022-07-181-0/+2
|
* Fix tests broken by default config change in ↵Robert Ancell2022-07-187-10/+10
| | | | 77a7c6b7b8ca896b98ef43826641bdd520650bfb
* Fix crash due to using wrong method to set configurationRobert Ancell2022-07-111-1/+1
| | | | Regression introduced in 77a7c6b7b8ca896b98ef43826641bdd520650bfb
* Work around a race with password-less logins and double clicksEdgar Fuß2022-07-041-0/+17
| | | | | | | | | | | | | There is a race in the greeter (greeter as in lightdm-gtk-greeter) easily triggered by double-clicking on the login button (or clicking it with a bouncing mouse button) with a password-less login. The problem arises when the daemon has already sent SERVER_MESSAGE_END_AUTHENTICATION to the greeter, but before it digests it, it handles more X11 events (e.g. the second click), sending the daemon a GREETER_MESSAGE_CONTINUE_AUTHENTICATION (before the GREETER_MESSAGE_START_SESSION) which will confuse handle_continue_authentication(), making it call session_respond_error(), which then sends a PAM_CONV_ERR to the session child, which will in turn get confused because it's expecting the (length of the) session error file name. As I don't really know how to avoid the race in the greeter (you would need to teach it prioritizing messages from the master over messages from X11), work around it by setting a flag in GreeterPrivate if SERVER_MESSAGE_END_AUTHENTICATION has been sent and ignore GREETER_MESSAGE_CONTINUE_AUTHENTICATION if that flag is set. The change was verified on 1.18.3 and then adopted to HEAD.
* fix: block login if shell in nologin or falselichangze2022-07-041-0/+2
|
* Update oc.poMejans2022-07-041-20/+29
|
* Update az.po22-Team2022-07-041-18/+29
|
* Update Chinese (Taiwan) Translations.pan934122022-07-041-81/+97
|
* config: set `logind-check-graphical=True` per defaultsilvan2022-06-292-1/+3
| | | | Without `logind-check-graphical=True` beeing set, lightdm is prone to a race condition, where lightdm has started before the graphics driver was loaded.
* Don't call setenv with a NULL value - the behaviour is undefined.Robert Ancell2022-06-271-1/+7
|
* Mailing list closed - use forum nowRobert Ancell2022-06-231-1/+1
|
* No longer making releasesRobert Ancell2022-06-231-2/+0
|
* Fix test against arrays that can never be NULLRobert Ancell2022-06-151-8/+4
|
* Disable Ubuntu tests for now, until we can work out why they are failingRobert Ancell2022-05-251-1/+0
|
* Fix inconsistency between lightdm_get_layout and lightdm_set_layoutJezerM2022-05-241-10/+10
| | | | | Use the global xkl_config to set the new layout instead of creating a new one Set the default_layout as dmlayout, allowing to get the new layout with lightdm_get_layout
* Disable compiler optimizations for test programsPaul Wolneykien2022-05-121-0/+4
| | | | | | | | | | | | Disable compiler optimizations for test programs as it is known to be buggy with `LD_PRELOAD`. In particular, `getgroups()` call in `request_cb()` callback of `test-session` isn't overloaded by the corresponding function of the test library `libsystem.so` via `LD_PRELOAD` resulting in `test-group-membership` failure. Signed-off-by: Paul Wolneykien <manowar@altlinux.org>
* test-runner.c: Fix: Make the test configuration files aware of the ↵Paul Wolneykien2022-05-124-18/+21
| | | | | | | | | | | --with-greeter-user configuration parameter Use GREETER_USER for the greeter user name in the `tests/scripts/*-pam*.conf.in` files. Without this modification LightDM built with non-default greeter user name is unable to pass some tests. Signed-off-by: Paul Wolneykien <manowar@altlinux.org>
* test-runner.c: Fix: Make the test runner aware of the --with-greeter-user ↵Paul Wolneykien2022-05-121-1/+1
| | | | | | | | | | configuration parameter Use GREETER_USER for the greeter user name in the `<temp_dir>/etc/passwd` file. Without this modification LightDM built with non-default greeter user name is unable to pass some tests. Signed-off-by: Paul Wolneykien <manowar@altlinux.org>
* test-runner.c: Fix: Make the test runner aware of the --with-greeter-session ↵Paul Wolneykien2022-05-121-1/+4
| | | | | | | | | | configuration parameter Use DEFAULT_GREETER_SESSION for the greeter session name. Without this modification LightDM built with non-default greeter session name is unable to pass some tests. Signed-off-by: Paul Wolneykien <manowar@altlinux.org>
* Add __getgroups_chk prototype to fix build failures on some systemsRobert Ancell2022-05-021-0/+1
|
* Fix check for __getgroups_chkRobert Ancell2022-05-021-1/+1
|
* Fix test build failing on older versions of glibc without __getgroups_chkRobert Ancell2022-05-022-1/+3
|
* Fix CI failing now master was renamed to mainRobert Ancell2022-04-261-2/+2
|
* Update to main branch name in URLRobert Ancell2022-04-261-1/+1
|
* Fix URL capitalizationRobert Ancell2022-04-261-1/+1
|
* Remove unused build rules for removed QT4 supportRobert Ancell2022-04-261-3/+0
|
* Mock __getgroups_chk to fix tests on recent glibcRobert Ancell2022-04-261-0/+6
|
* Update x-authority.csinirajapan2022-04-261-1/+1
| | | | No O_TRUNC causes the xauthority file corruption. In case the address of XDMCP DISPLAY length differs.
* Remove Travis badge - now using GitHub actionsRobert Ancell2022-02-091-2/+0
|
* fix: use g_autofree in x_authority_loadmasterKT-lcz2021-06-251-1/+1
| | | add g_autofree before `guint8 *xauth_data;`
* Update CLA check so it can write commentsRobert Ancell2021-06-161-1/+1
|
* Use has-signed-canonical-cla GitHub ActionMarcus Tomlinson2021-03-222-168/+3
|
* Use a size_t to resolve a compile warningRobert Ancell2021-02-164-11/+12
|
* Replace deprecated QAbstractItemModel::setRoleNamesRobert Ancell2021-02-164-18/+26
|
* Stop using deprecated G_PARAM_PRIVATERobert Ancell2021-02-161-1/+1
|
* Fix documentation build warningsRobert Ancell2021-02-161-0/+6
|
* Remove deprecated use of G_TYPE_INSTANCE_GET_PRIVATERobert Ancell2021-02-167-130/+205
|
* ci: Disable flaky testRobert Ancell2021-02-161-1/+1
|
* ci: Remove Travis CIRobert Ancell2021-02-161-19/+0
|
* ci: Upload test logRobert Ancell2021-02-161-4/+9
|
* ci: Install PythonRobert Ancell2021-02-161-2/+2
|
* ci: Install dbus for testsRobert Ancell2021-02-161-2/+2
|
* ci: Ensure all matrix jobs are runRobert Ancell2021-02-161-0/+1
|
* Require python 3 for the testsRobert Ancell2021-02-161-1/+1
|