On 2010-09-13 16:26, jbehre wrote:
>
> I solved the problem. I used this sunday to dig into linux depths and I
> guess I found the mistake now. First I followed Carlos’ hint:
>>
>>> /usr/share/kde4/config/kdm/kdmrc
>>> /usr/share/kde4/config/kdm/kdmrc.rpmnew
>>
>> The second one is the new configuration proposed by the update. It is
>> not active. The first one is the active one.
>>
>> Hint: Run “rcrpmconfigcheck” after any update, on a terminal (xterm,
>> konsole, whatever). It will list all those changed/replaced/need
>> attention configuration files after the update, a list you should review
>> one by one. Manually.
>>
>
> rcrpmconfigcheck listed /usr/share/kde4/config/kdm/kdmrc.rpmnew as a
> file to pay attention to and since Carlos meant that this is the new
> configuration proposed by the update which is not active I decided to
> replace /usr/share/kde4/config/kdm/kdmrc with
> /usr/share/kde4/config/kdm/kdmrc.rpmnew (after making backups, of
> course). This change had no negative and no positve results, just that
> the new file gives many more options.
I like to compare such files. I use the line:
diff --side-by-side --suppress-common-lines --ignore-all-space
active_config_file new_or_old_config_file
to see what has changed.
Many people do not know this, that after an update or upgrade such files are created, and that
manual action may be required. That script runs on eery boot, but as almost everybody hides booting
messages behind the flash screen, it is not noticed.
> So I went on searching to find out why /var/adm/kdm/kdmrc.sysconfig
> is always set back to its old values and I found the script
> /usr/share/kde4/apps/kdm/read_sysconfig.sh
> that is parsing the files /etc/sysconfig/displaymanager ,
> /etc/sysconfig/security and /etc/sysconfig/language (see code below).
Good tracking.
> This script sets the variable AllowRootLogin depending on the
> variable $DISPLAYMANAGER_ROOT_LOGIN_LOCAL in
> /etc/sysconfig/displaymanager , /etc/sysconfig/security or
> /etc/sysconfig/language . But this variable was not existing.
Ah!!!
> After adding
>
> Code:
> --------------------
>
> ## Type: yesno
> ## Default: no
> #
> # Allow local access of the user root to your display manager.
> #
> DISPLAYMANAGER_ROOT_LOGIN_LOCAL=“yes”
>
> --------------------
>
> to /etc/sysconfig/displaymanager I can again login graphically as
> root.
Ah!!!
You know, I searched for such a variable. I had found the one for remote login, and I had the fuzzy
recolection that there was a similar one for local root login. But not finding it in sysconfig, I
said nothing, I though my memory was wrong.
Wow!
So that’s the bug.
(I’m almost sure that the variable was present on some older distro… :-? )
> Additionally I changed the option HiddenUsers= in
> /usr/share/kde4/config/kdm/kdmrc to HiddenUsers=root .
Interesting.
Now I have to find the equivalent variable for gdm, I want to hide some users there
> Now root is working again but not displayed at the login screen.
Good for you!
>
> So special thanks to Carlos.
Welcome! O:-)
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))