Inconsistent Autologin

I’ve been on 11.2 KDE for about a week (clean install). Previously on 11.1 Gnome. Everything’s great except I can’t get Autologin to work consistently. It worked perfectly in 11.1 Gnome! In 11.2 KDE sometimes it works and sometimes it doesn’t. I set it up as root in both Yast and System Settings. Any ideas???

Probably xsession errors. Check the log in .xsession-errors and in /var/log/boot.log boot.msg

do i understand you want your machine to boot automatically into Gnome
as root?

if so, that is one way to make the system as insecure and trouble
prone as possible…is that what you wish?

i would expect it to be inconsistent at autologin and with a little
time, everything else…more, see.

http://en.opensuse.org/SDB:Login_as_root
http://docs.kde.org/stable/en/kdebase-runtime/userguide/root.html


palladium

No, the root reference was only that I turned Autologin on after logging in as root not as my user!

The machine is just for personal use at home so there are no real security issues about using Autologin!

I think the issue is that if I use the root password to install an upgrade or make a change, then after the next restart, the Autologin is deactivated for that login. Maybe it is designed that way as a security measure but it didn’t work that way in 11.1 Gnome.

I notice that after using the root password, an icon appears on the panel (task bar) referring to lowering raised privileges. Maybe it’s connected to that???

bugreprt wrote:
> No, the root reference was only that I turned Autologin on after logging
> in as root not as my user!
>
> The machine is just for personal use at home so there are no real
> security issues about using Autologin!
>
> I think the issue is that if I use the root password to install an
> upgrade or make a change, then after the next restart, the Autologin is
> deactivated for that login. Maybe it is designed that way as a security
> measure but it didn’t work that way in 11.1 Gnome.
>
> I notice that after using the root password, an icon appears on the
> panel (task bar) referring to lowering raised privileges. Maybe it’s
> connected to that???
>
>
ok…i understand what you meant now…but, still i see you are
logging into GNOME as root to do root duties…but, this is not
necessary nor advisable…

and it is for that reason that when log out as root it will not
autolog you back in as root…

imho, it is always better (and safer) to log in as yourself and use
the needed facility “as root”…for example, to (as you mention)
“install an upgrade” it is much better to use YaST…because when you
launch YaST as a normal user it asked for your root password and you
“become root” in YaST for the upgrade or install of new software, or
changing of system settings…

more example: if you need to edit a config file (which is what i guess
might be also what you mean with “make a change”) then do that by
launching your favorite text editor from a terminal or the run
command, like:

Alt+F2, type gnomesu gedit
and it will ask for the root password and you “become root” using gedit

the bottom line is, imo you shouldn’t ever be able to find a reason
you must log into KDE/GNOME/etc as root…as far as i know there is
always a safer way available by logging in as yourself and then
“becomming root” for a specific operation/activity…


palladium

there is a problem with the login setup somewhere,on mine one day it would boot into desktop the next day it would require me to log in… before you say! its not the sreensaver log in, then on the fourth day it wouldnt let me log in at all…stating wrong password,my answer to this is and a few othier glitches i found is to chuck the disc in the bin and reload 11.1 for a few months till all the problem sorting as been done, to be honest in the few days i ran it i didnt find a lot to rave about differance wise.

Never, ever log in as root on a desktop. Just remember the rule: DON’T. There’s enough explanations on the web.

Funny thing is, I tried to force this behaviour on my laptop, and I can’t. Mind, I don’t say this is OK, but to me it looks like the result of some user action, i.e. change in the config files.

And, we’re all different: I’m still amazed about 11.2, even after running Factory for over a year.