Mageia Bugzilla – Attachment 2382 Details for
Bug 3715
With lxdm MCC does not set autologin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Fix autologin for lxdm and slim
autologin.patch (text/plain), 495 bytes, created by
Derek Jennings
on 2012-05-27 08:38:52 CEST
(
hide
)
Description:
Fix autologin for lxdm and slim
Filename:
MIME Type:
Creator:
Derek Jennings
Created:
2012-05-27 08:38:52 CEST
Size:
495 bytes
patch
obsolete
>--- /usr/lib/libDrakX/any.pm 2012-05-11 22:12:51.000000000 +0100 >+++ any.pm 2012-05-27 07:27:38.000000000 +0100 >@@ -735,7 +735,7 @@ > )) } if -e $gdm_conffile; > > my $xdm_autologin_cfg = "$::prefix/etc/sysconfig/autologin"; >- if ($autologin->{dm} eq 'xdm') { >+ if ($autologin->{dm} =~ /xdm|lxdm|slim/ ) { > setVarsInShMode($xdm_autologin_cfg, 0644, > { USER => $autologin->{user}, AUTOLOGIN => bool2yesno($autologin->{user}), EXEC => '/usr/bin/startx.autologin' }); > } else {
--- /usr/lib/libDrakX/any.pm 2012-05-11 22:12:51.000000000 +0100 +++ any.pm 2012-05-27 07:27:38.000000000 +0100 @@ -735,7 +735,7 @@ )) } if -e $gdm_conffile; my $xdm_autologin_cfg = "$::prefix/etc/sysconfig/autologin"; - if ($autologin->{dm} eq 'xdm') { + if ($autologin->{dm} =~ /xdm|lxdm|slim/ ) { setVarsInShMode($xdm_autologin_cfg, 0644, { USER => $autologin->{user}, AUTOLOGIN => bool2yesno($autologin->{user}), EXEC => '/usr/bin/startx.autologin' }); } else {
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 3715
: 2382