Login in KDE4.11.3

Good day
I have a problem running opensuse 12.3 64bit.
Yesterday I’ve upgraded KDE from 4.10.5 to 4.11.3, my login screen changed to blue theme, but i does not let me log in completely. It starts and fails back to login screen.
Trying to log in from console tty1 i get the following message:
“hostname: Name or service not known
xauth: file /home/(username)/.serverauth.2197 does not exist
Fatal server error:
cannon open log file “/var/log/Xorg.1.log””
tried running zypper up patches some files, but it still gives the same error just new number after .serverauth
System has 4GB DDR3 RAM, Nvidia 8600GT binary drivers (installed the hard way), Intel Core2Duo 2.66GHz

addendum:
xinit:giving up
xinit:unable to connect to X server: Connection refused
xinit:server error

How did you do the upgrade, maybe some packages did not get switched to the versions from the KDE 4.11 repo?
Try to run “sudo zypper dup --from KR411” (replace KR411 with the name of the repo)

And if that doesn’t help, please post last lines of the file ~/.xsession-errors and /var/log/kdm.log (or upload the whole files to SUSE Paste and post a link)

I did the upgrade via zypper up after adding the repos. I’ve also run zypper dup --from but there was no missing packages.
here are the last lines of the .xsession-errors
hostname: Name or service not known
xauth: file /home/casperius/.serverauth.4791 does not exist

Fatal server error:
Cannot open log file “/var/log/Xorg.1.log”

(EE)
Please consult the The X.Org Foundation support
at xorg
for help.
(EE)
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

xinit failed. /usr/bin/Xorg is not setuid, maybe that’s the reason?
If so either use a display manager (strongly recommended) or adjust /etc/permissions.local
and a suse paste of kdm.log
last 10 pages or so, since it reports 966pages long document that suse pase doesn’t accept somehow

SUSE Paste

OK. “zypper up” is not enough to upgrade to 4.11.x as it doesn’t switch installed packages to the versions from the other repository (even if there is a higher version).

xinit failed. /usr/bin/Xorg is not setuid, maybe that’s the reason?
If so either use a display manager (strongly recommended) or adjust /etc/permissions.local

Seems to be a permissions issue.

And I find it strange that it tries to create Xorg.1.log. Do you have another X server running?
Try switching with Ctrl+Alt+F7 (F8,F9,F10).

Ah, well. I guess this is when you are trying to run “startx” from the console, right?
That doesn’t work on openSUSE by default, since years.
You would have to make a change to /etc/permissions.local for that as the message suggests.

and a suse paste of kdm.log
last 10 pages or so, since it reports 966pages long document that suse pase doesn’t accept somehow

SUSE Paste

Nothing in there, really.

Could you also post /var/log/Xorg.0.log?

I guess it works when you log in as root, right?

Just a guess:
Maybe your kdm config is corrupted/faulty somehow? (since you also mention a change in the login screen)
Try to remove it and re-install kdm afterwards:

sudo rm /usr/share/kde4/apps/kdm/kdmrc
sudo zypper in -f kdm

Another thing I just realized:
Those messages are from your failed attempt to run “startx” from the console, I suppose. So they are useless in finding the original problem.
Please post the whole .xsession-errors. Or the last lines immediately after trying to login from KDM.

Ok, I’ve took some time not to test with startx and now .xsession-errors are short and give this SUSE Paste

Thank you, now the problem is clear.
That’s why KDE is not starting:

/usr/bin/startkde: line 117: .: krandrstartup: file not found

Please install the package “kscreen” and it should work.

Would be strange if you don’t have that though, since it is required by kdebase-workspace4-4.11.x.

If it is already installed, please re-install it:

sudo zypper in -f kscreen

Regarding the login screen:
You can change the theme and other settings in “Configure Desktop”->“Login Screen”. In earlier versions this was not respected in openSUSE but the settings were read from /etc/sysconfig. This has been changed a while ago (between 4.11.1 and 4.11.2), maybe you have a different login theme because of that.

Thank you very much, now it works, I really don’t get it, kscreen was installed but somehow got corrupted, after reinstall it works fine.
Again big thank you!

As for changed login screen I know how to change that :smiley:

The problem is that krandrstartup was included in kdebase4-workspace itself in 4.10. If you install kscreen (which contains krandrstartup now for compatibility reasons) first, and upgrade kdebase4-workspace to 4.11 afterwards, krandrstartup will be removed therefore.
Probably this has happened to you.

good to know for next time I upgrade KDE and it doesn’t work :smiley: