Bugzilla – Bug 134176
YAST edits the wrong file for autologin settings
Last modified: 2005-11-21 16:25:26 UTC
User management applet in YAST has the "Advanced" tab where I can select the user for autologin. I have 2 users: boris and mila. Originally autologin was assigned to boris. When I changed the username for autologin to mila, no changes happened. The autologin still worked for boris. Inspection showed that this applet does make changes in the wrong configuration file. The changes are made in /etc/opt/kde3/share/config/kdm/kdmrc.SuSEconfig , but the actual configuration file is /etc/opt/kde3/share/config/kdm/kdmrc . This is why the changes made in this applet produce no results. I was forced to edit the actual file (successfully). Best wishes BNK
Are you able to reproduce that behaviour? (e.g. by changing autologin back to boris?) After you do that, please attach the YaST log files (http://www.opensuse.org/Bug_Reporting_FAQ#YaST) and the file /etc/sysconfig/displaymanager.
(In reply to comment #1) The behavior is perfectly reproducible. I changed the autologin in YAST from mila to boris, then back to mila and again to boris. The last change happened about 13h52min. All the time content of kdmrc file was unchanged, and only user mila could autologin. The files attached were emailed to you
Created attachment 57835 [details] /etc/sysconfig/displaymanager
/etc/sysconfig/displaymanager is edited correctly -> KDE maintainers
(In reply to comment #4) > /etc/sysconfig/displaymanager is edited correctly -> KDE maintainers > The only problem is that KDE Login works according to etc/opt/kde3/share/config/kdm/kdmrc, and disregards /etc/sysconfig/displaymanager. Is THIS the correct behavior?
sorry, if you edited kdmrc manually (or via control center), then SUSEconfig won't transfer the sysconfig variables into the kdmrc, but only give a warning that it put a new version side by side. There are other bugs about that behaviour ;(
The exact sequence of events was: 1. Install SUSE 10.0. User boris was created at time of installation. 2. Launch SUSE 10.0. User boris did Autologin. 3. End session for boris, login as root. User mila was created at this time. (kdmrc was NOT edited, neither manually, nor via control center) 4. Open YAST as root, attempt to change Autologin from boris to mila. After reboot Autologin did not change, remained with boris. 5. Open YAST as root, attempt to change Autologin from mila back to boris, then again to mila, each time with reboot. Autologin consistently remained with boris. (kdmrc was NOT edited, neither manually, nor via control center) 6. Started Konsole as root, cd to /etc, then "grep -r boris *". the display showed "kdmrc" 7. At this point I edited manually kdmrc, writing there mila as DefaultUser and AutoLogin user. Now the system works as I wanted. There were no warnings at any time. Thank you and best wishes.