[PATCH xfree86] systemd-logind.c: don't parse VT settings for non-seat0 X servers
Hans de Goede
hdegoede at redhat.com
Wed Dec 2 03:33:16 PST 2015
Hi,
On 02-12-15 11:16, Laércio de Sousa wrote:
> Since non-seat0 X servers no longer touch VTs since release 1.16,
> I believe these settings are unnecessary.
>
> Signed-off-by: Laércio de Sousa <laerciosousa at sme-mogidascruzes.sp.gov.br>
You're right:
Reviewed-by: Hans de Goede <hdegoede at redhat.com>
Ajax, can you pick this one up please ?
Regards,
Hans
> ---
> hw/xfree86/os-support/linux/systemd-logind.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/xfree86/os-support/linux/systemd-logind.c b/hw/xfree86/os-support/linux/systemd-logind.c
> index 2612d9e..0b82b7f 100644
> --- a/hw/xfree86/os-support/linux/systemd-logind.c
> +++ b/hw/xfree86/os-support/linux/systemd-logind.c
> @@ -615,7 +615,7 @@ static struct dbus_core_hook core_hook = {
> int
> systemd_logind_init(void)
> {
> - if (linux_parse_vt_settings(TRUE) && !linux_get_keeptty()) {
> + if (!ServerIsNotSeat0() && linux_parse_vt_settings(TRUE) && !linux_get_keeptty()) {
> LogMessage(X_INFO,
> "systemd-logind: logind integration requires -keeptty and "
> "-keeptty was not provided, disabling logind integration\n");
>
More information about the xorg-devel
mailing list