Login screen does not appear in openSUSE 13.1 after upgrade

I have a little network with openSUSE as the server. Yesterday I updated from openSUSE 12.2 to 13.1. Everything seems to work fine. The only problem is that the login screen does not appear. I have tried to restart the system but it still does not appear. Now I cannot login into the desktop environment and I am not so good with the terminal.

Please can you help? Thanks a lot.

What graphics card? Did you use a proprietary driver in 12.2?

Is the system configured to boot to runlevel5/graphical.target?
See YaST->System->Services Manager (YaST works in text mode too), or:

systemctl get-default

Can you start X manually? Try “startx” when logged in as root.

Please post the output of “sudo systemctl status xdm.service”.

Can you boot to Recovery/Failsafe Mode? (“Advanced Options” in the boot menu, if using Grub2)

And maybe the /var/log/Xorg.0.log could help as well.

On 2014-08-10 18:36 (GMT) Emeka composed:

> I have a little network with openSUSE as the server. Yesterday I updated
> from openSUSE 12.2 to 13.1. Everything seems to work fine. The only
> problem is that the login screen does not appear.

No login manager (and thus no DEs) is quite a bit different from “everything”
working fine. :frowning:

> I have tried to
> restart the system but it still does not appear. Now I cannot login into
> the desktop environment and I am not so good with the terminal.

Which desktop environment(s)? (Gnome, KDE, LXDE, etc) Which login manager?
(GDM, KDM, etc) Does any error message appear when you expect the login
screen to appear?

If you remove “quiet” and “splash=silent” from the Grub stanza’s cmdline
before booting, do any telling messages appear?

(and what wolfi asked)

The wise are known for their understanding, and pleasant
words are persuasive.

Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata *** http://fm.no-ip.com/

Thanks a million for your reply!

What graphics card? I am using VGA compatible controller: Matrox Electronics Systems Ltd. G200eR2

Can you start X manually? Try “startx” when logged in as root. I get this message

xauth: file /root/.serverauth.6806 does not exist

X.Org X Server 1.12.3
Release Date: 2012-07-09
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux China 3.4.63-2.44-desktop #1 SMP PREEMPT Wed Oct 2 11:18:32 UTC 2013 (d91a619) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.4.63-2.44-desktop root=UUID=4756887a-c9ea-4446-84e4-c119bedd3bd4 video=1600x900 resume=/dev/disk/by-id/ata-ST1000NM0011_Z1N4DGGS-part5 splash=silent quiet showopts
Build Date: 19 December 2013 01:41:37PM

Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (–) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: “/var/log/Xorg.0.log”, Time: Mon Aug 11 11:08:15 2014
(==) Using config directory: “/etc/X11/xorg.conf.d”
(==) Using system config directory “/usr/share/X11/xorg.conf.d”
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type “ONE_LEVEL” has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
/etc/X11/xim: Checking whether an input method should be started.
sourcing /etc/sysconfig/language to get the value of INPUT_METHOD
INPUT_METHOD is not set or empty (no user selected input method).
Trying to start a default input method for the locale es_ES.UTF-8 …
There is no default input method for the current locale.
Dummy input method “none” (do not use any fancy input method by default)
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Compat map for group 2 redefined
> Using new definition
> Warning: Compat map for group 3 redefined
> Using new definition
> Warning: Compat map for group 4 redefined
> Using new definition
Errors from xkbcomp are not fatal to the X server
startkde: Starting up…
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Cannot mix incompatible Qt library (version 0x40801) with this library (version 0x40805)
kded(6891): Communication problem with “kded” , it probably crashed.
Error message was: “org.freedesktop.DBus.Error.NoReply” : " “Message did not receive a reply (timeout by message bus)” "

Cannot mix incompatible Qt library (version 0x40801) with this library (version 0x40805)
Cannot mix incompatible Qt library (version 0x40801) with this library (version 0x40805)
startkde: Shutting down…
klauncher: Exiting on signal 1
startkde: Running shutdown scripts…
startkde: Done.
xinit: connection to X server lost

waiting for X server to shut down Server terminated successfully (0). Closing log file.

Please post the output of “sudo systemctl status xdm.service”. It gives this message

xdm.service - LSB: X Display Manager
Loaded: loaded (/etc/init.d/xdm)
Active: active (running) since Mon, 11 Aug 2014 09:18:15 +0200; 1h 40min ago
Process: 3417 ExecStart=/etc/init.d/xdm start (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/xdm.service
â 3452 /usr/bin/kdm

Can you boot to Recovery/Failsafe Mode?
I tried but the same thing happens.

Thanks a lot.

Well, there have been problems with the MGA driver in the past.
But in your case, the main issue seems to be that your upgrade was incomplete.

A few examples from your X output:

X.Org X Server 1.12.3
Release Date: 2012-07-09

13.1 comes with:

X.Org X Server 1.14.3.901 (1.14.4 RC 1)
Release Date: 2013-10-26

Current Operating System: Linux China 3.4.63-2.44-desktop #1 SMP PREEMPT Wed Oct 2 11:18:32 UTC 2013 (d91a619) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.4.63-2.44-desktop root=UUID=4756887a-c9ea-4446-84e4-c119bedd3bd4 video=1600x900 resume=/dev/disk/by-id/ata-ST1000NM0011_Z1N4DGGS-part5 splash=silent quiet showopts
Build Date: 19 December 2013 01:41:37PM

13.1 includes kernel 3.11.x!

startkde: Starting up…
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Cannot mix incompatible Qt library (version 0x40801) with this library (version 0x40805)
kded(6891): Communication problem with “kded” , it probably crashed.
Error message was: “org.freedesktop.DBus.Error.NoReply” : " “Message did not receive a reply (timeout by message bus)” "

Cannot mix incompatible Qt library (version 0x40801) with this library (version 0x40805)
Cannot mix incompatible Qt library (version 0x40801) with this library (version 0x40805)
startkde: Shutting down…

You seem to have libqt4 packages in version 4.8.1 (from 12.2) and some in 4.8.5 (from 13.1) installed.

So, how exactly did you do the upgrade?

Please post your repo list:

zypper lr -d

IMHO you’re lucky that your system boots at all. That X is not starting (or rather KDM/KDE) is just the tip of the iceberg…

Thanks a lot for your reply.

Here it is

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

—±--------------------------±-----------------------------------±--------±--------±---------±-------±--------------------------------------------------------------------------------±-------
1 | google-chrome | google-chrome | Yes | Yes | 99 | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
2 | openSUSE-12.2-1.6 | openSUSE-12.2-1.6 | No | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-hp_DVD-RAM_GH80N_225CD071517,/dev/sr0 |
3 | openSUSE:13.1 | openSUSE:13.1 | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/13.1/repo/oss/ |
4 | perlOpenSuse12.2 | perlOpenSuse12.2 | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_12.2/ |
5 | repo-debug | openSUSE-12.2-Debug | Yes | Yes | 99 | yast2 | http://download.opensuse.org/debug/distribution/12.2/repo/oss/ |
6 | repo-debug-update | openSUSE-12.2-Update-Debug | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/debug/update/12.2/ |
7 | repo-debug-update-non-oss | openSUSE-12.2-Update-Debug-Non-Oss | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/debug/update/12.2-non-oss/ |
8 | repo-non-oss | openSUSE-12.2-Non-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/12.2/repo/non-oss/ |
9 | repo-oss | openSUSE-12.2-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/12.2/repo/oss/ |
10 | repo-source | openSUSE-12.2-Source | Yes | Yes | 99 | yast2 | http://download.opensuse.org/source/distribution/12.2/repo/oss/ |
11 | repo-update | openSUSE-12.2-Update | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/12.2/ |
12 | repo-update-non-oss | openSUSE-12.2-Update-Non-Oss | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/12.2-non-oss/ |
I hope it is understandable.

Yes, it is.
So apparently you upgraded by adding the 13.1 oss repo and running “zypper dup”?
You forgot to change/add the other repos as well, and disable the 12.2 ones.

So change all URLs to 13.1, i.e. replace 12.2 with 13.1, in particular those:

4 | perlOpenSuse12.2 | perlOpenSuse12.2 | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_12.2/ |
5 | repo-debug | openSUSE-12.2-Debug | Yes | Yes | 99 | yast2 | http://download.opensuse.org/debug/distribution/12.2/repo/oss/ |
6 | repo-debug-update | openSUSE-12.2-Update-Debug | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/debug/update/12.2/ |
7 | repo-debug-update-non-oss | openSUSE-12.2-Update-Debug-Non-Oss | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/debug/update/12.2-non-oss/ |
8 | repo-non-oss | openSUSE-12.2-Non-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/12.2/repo/non-oss/ |
9 | repo-oss | openSUSE-12.2-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/12.2/repo/oss/ |
10 | repo-source | openSUSE-12.2-Source | Yes | Yes | 99 | yast2 | http://download.opensuse.org/source/distribution/12.2/repo/oss/ |
11 | repo-update | openSUSE-12.2-Update | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/12.2/ |
12 | repo-update-non-oss | openSUSE-12.2-Update-Non-Oss | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/12.2-non-oss/ |

Do that either with YaST if it works (YaST can be used in text mode as well), or edit the files in /etc/zypp/repos.d/ directly
See also SDB:System upgrade - openSUSE Wiki which even includes a “sed” command line that automatically updates the repo URLs.

You can then even remove the 13.1 repo (#3) again, as it would be superfluous.

After you fixed the repos, run “zypper dup” again.

But please note that an upgrade from 12.2 to 13.1 is not really supported, especially in the running system.
Booting from a 13.1 installation CD/DVD/USB and selecting “Upgrade an existing system” (SDB:Offline upgrade - openSUSE Wiki) would be safer. You still can do that if the online upgrade doesn’t work though.

I’m very grateful. I will try my best. Thanks.

… also, for future reference, it is not recommended to skip a version when upgrading. You state that you upgraded from 12.2 to 13.1. If you wanted to upgrade, the safest route is from 12.2 to 12.3, then from 12.3 to 13.1.

Good luck, you have a good guide in Wolfi.