Bug 571476 - KDM AutoLogin not properly set by in /var/adm/kdm/kdmrc.sysconfig?
Summary: KDM AutoLogin not properly set by in /var/adm/kdm/kdmrc.sysconfig?
Status: RESOLVED DUPLICATE of bug 267903
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: KDE4 Applications (show other bugs)
Version: Final
Hardware: PC openSUSE 11.2
: P5 - None : Normal with 1 vote (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-17 18:37 UTC by revealed revealed
Modified: 2010-05-20 12:52 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
/etc/sysconfig/displaymanager #(no comments) (559 bytes, application/octet-stream)
2010-01-17 18:38 UTC, revealed revealed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description revealed revealed 2010-01-17 18:37:23 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.7) Gecko/20091222 SUSE/3.5.7-2.4 Firefox/3.5.7

Hello there!

I had Problems enabling AutoLogin for my KDE in SuSE 11.2:
##
Qt: 4.5.3
KDE: 4.3.4 (KDE 4.3.4) "release 2"
kde4-config: 1.0
##
When researching i hit the script "/usr/share/kde4/apps/kdm/read_sysconfig.sh" from this package:
kdm-branding-openSUSE-11.2-29.5.14.i586

It generates:
/var/adm/kdm/kdmrc.sysconfig

Which contained the problem and is a related file for startup.
"AutoLoginEnable=" was always set to false within. When editing manually it changed back to false every reboot automatically. So i edited the read_sysconfig.sh to always set true for AutoLoginEnable: (I only changed the "else" statement which was set to false originally?)
#
echo "[X-:0-Core]"
if [ "$DISPLAYMANAGER_AUTOLOGIN" ]; then
  echo "AutoLoginEnable=true"
  echo "AutoLoginUser=${DISPLAYMANAGER_AUTOLOGIN}"
else
  echo "AutoLoginEnable=true"
fi
#

Since this AutoLogin works for my specifyed user.. ?

Is this a system specific bug? Iam having a upgrade installation from SuSE 11.1 to 11.2 (32 Bit);

Reproducible: Always

Steps to Reproduce:
1. Set Autologin for specific user in YasT Usermanagement part
2. Set Autologin for specific user in Systemsettings for KDM
3. Reboot
Actual Results:  
Autologin is set wrong by /usr/share/kde4/apps/kdm/read_sysconfig.sh

Expected Results:  
AutoLogin should be set correctly

Funny part was: When the Autologin malfunctioned ... when doing CRTL ALT + Backspace - Autologin worked... or with rcxdm restart autologin worked too. But with fresh boot or reboot there was no autologin.

I was always using the same sysconfig/displaymanager (attached) but removed comments;

Many thanks for your help!

Greetings,

R
Comment 1 revealed revealed 2010-01-17 18:38:50 UTC
Created attachment 337026 [details]
/etc/sysconfig/displaymanager #(no comments)

The used sysconfig file
Comment 2 Christian Trippe 2010-01-28 19:42:16 UTC
This sound like bug 267903 , can you confirm?
Comment 3 revealed revealed 2010-01-29 00:46:46 UTC
It is similar, but i have to change both files additionally --> but them both dont do what they should because the:
/var/adm/kdm/kdmrc.sysconfig

Takes presence and overrides them on top of the issue described? Ehm "Yes!".

Thank you.

Greetings,

R
Comment 4 Christian Trippe 2010-03-02 18:46:25 UTC
Next time, please check the "This information provides the needed information...."
Comment 5 revealed revealed 2010-03-02 18:55:04 UTC
Will do. Ehm any news about the issue? Could you reproduce it? Because my hack still works for me so.

I forgot about that already somehow.

Greetings,

R
Comment 6 Christian Trippe 2010-03-03 07:39:43 UTC
Sorry no news. I only help with bugscreening for the KDE team and do not use autologin myself.

But there are other bug reports about problems with autologin, e.g. bug 556301
Comment 7 revealed revealed 2010-03-03 14:09:21 UTC
Hello,

Thanks for your Help. Any logfiles i should attach by default for this? I don't know what information would be useful. Maybe i could prepare this in forward with your advice.
Comment 8 Christian Trippe 2010-04-04 15:10:33 UTC
Removing NEEDINFO
Comment 9 Lubos Lunak 2010-05-20 12:52:54 UTC
.

*** This bug has been marked as a duplicate of bug 267903 ***