Mageia Bugzilla – Attachment 8632 Details for
Bug 17616
autologin cannot be disabled with LXDM
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
A patch to allow disabling autologin in LXDM
allow-disabling-lxdm-autologin.patch (text/plain), 616 bytes, created by
Nicolas Salguero
on 2016-11-07 09:54:57 CET
(
hide
)
Description:
A patch to allow disabling autologin in LXDM
Filename:
MIME Type:
Creator:
Nicolas Salguero
Created:
2016-11-07 09:54:57 CET
Size:
616 bytes
patch
obsolete
>diff --git a/perl-install/any.pm b/perl-install/any.pm >index 093994a..541fbcd 100644 >--- a/perl-install/any.pm >+++ b/perl-install/any.pm >@@ -763,7 +763,7 @@ sub set_autologin { > #- Configure LXDM > my $lxdm_conffile = "$::prefix/etc/lxdm/lxdm.conf"; > eval { update_gnomekderc($lxdm_conffile, 'base' => ( >- if_($autologin->{user}, 'autologin' => '@' . $autologin->{user}) >+ 'autologin' => $autologin->{user} ? '@' . $autologin->{user} : $autologin->{user} > )); > if ($autologin->{user} && $autologin->{desktop} && !member($autologin->{desktop}, qw(default failsafe))) { > my $xsession_file = find {
diff --git a/perl-install/any.pm b/perl-install/any.pm index 093994a..541fbcd 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -763,7 +763,7 @@ sub set_autologin { #- Configure LXDM my $lxdm_conffile = "$::prefix/etc/lxdm/lxdm.conf"; eval { update_gnomekderc($lxdm_conffile, 'base' => ( - if_($autologin->{user}, 'autologin' => '@' . $autologin->{user}) + 'autologin' => $autologin->{user} ? '@' . $autologin->{user} : $autologin->{user} )); if ($autologin->{user} && $autologin->{desktop} && !member($autologin->{desktop}, qw(default failsafe))) { my $xsession_file = find {
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 17616
:
7399
|
7405
|
7406
|
8342
|
8343
| 8632