Graphical Desktop Problem

First, new to forum.

I inherited support of a server running Leap. It is supposed to boot to a graphical display with login options. It does not.
It boots to a black screen with a large mouse cursor.

I can CTL-ALT-F1, log in as root, init-3 and startx and the graphical desktop loads fine. If I log in as any of the other 6 users on the system the startx fails.

My Linux skills are old. I’m sure it’s a simple fix but I have not found it yet.

Additionally, if I do an update install on Leap everything works just fine.

I have the two test servers side by side now and I’m trying to track down what configuration file or files are suspect but not having any luck just yet.

Can someone tell me procedures from when linux starts the graphical load ?

Or can someone help point me in a direction ?

Thanks

Welcome aboard. :slight_smile:

I inherited support of a server running Leap. It is supposed to boot to a graphical display with login options. It does not.
It boots to a black screen with a large mouse cursor.

I can CTL-ALT-F1, log in as root, init-3 and startx and the graphical desktop loads fine. If I log in as any of the other 6 users on the system the startx fails.

My Linux skills are old. I’m sure it’s a simple fix but I have not found it yet.

Additionally, if I do an update install on Leap everything works just fine.

I’m not quite sure what you mean by this? Is the updated server booting to a complete functioning desktop? Login screen?

I have the two test servers side by side now and I’m trying to track down what configuration file or files are suspect but not having any luck just yet.

Information about the display manager might be useful…

systemctl status display-manager

Is auto-login configured?

grep "AUTO" /etc/sysconfig/displaymanager

Can someone tell me procedures from when linux starts the graphical load ?

Or can someone help point me in a direction ?

Thanks

To get an overview of the execution tree of systemd units (current init system) do

sudo systemd-analyze critical-chain

You’ll see that display-manager.service is triggered by graphical.target

cat /usr/lib/systemd/system/display-manager.service
sudo systemctl cat graphical.target 
# /usr/lib/systemd/system/graphical.target
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

[Unit]
Description=Graphical Interface
Documentation=man:systemd.special(7)
Requires=multi-user.target
Wants=display-manager.service
Conflicts=rescue.service rescue.target
After=multi-user.target rescue.service rescue.target display-manager.service
AllowIsolate=yes

Some more information about your graphics hardware/drivers might be useful here as well

/sbin/lspci -nnk|egrep -iA3 "vga|graphics"
inxi -Gxx

hms-agserver64:~# /sbin/lspci -nnk|egrep -iA3 “vga|graphics”
00:02.0 VGA compatible controller [0300]: Intel Corporation 4 Series Chipset Integrated Graphics Controller [8086:2e12] (rev 03)
Subsystem: Lenovo ThinkCentre M6258 [17aa:3048]
Kernel modules: i915
00:02.1 Display controller [0380]: Intel Corporation 4 Series Chipset Integrated Graphics Controller [8086:2e13] (rev 03)
Subsystem: Lenovo Device [17aa:3048]
00:03.0 Communication controller [0780]: Intel Corporation 4 Series Chipset HECI Controller [8086:2e14] (rev 03)
Subsystem: Lenovo Device [17aa:3048]
hms-agserver64:~#

I did try to reply to all the info you requested in your first reply. I must have not done it incorrectly so I will try again.

In answer to your first response, I do have two servers next to each other. One in it’s original state of not working correctly and one that works correctly after an ‘update’ install of Leap.

systemctl status display-manager
● display-manager.service - X Display Manager
Loaded: loaded (/usr/lib/systemd/system/display-manager.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Wed 2018-09-26 19:27:41 MDT; 8min ago
Process: 1611 ExecStop=/usr/lib/X11/display-manager stop (code=exited, status=0/SUCCESS)
Process: 1254 ExecStart=/usr/lib/X11/display-manager start (code=exited, status=0/SUCCESS)
Main PID: 1383 (code=exited, status=0/SUCCESS)

Sep 26 19:26:12 hms-agserver64 sddm-helper[1463]: [PAM] Starting…
Sep 26 19:26:12 hms-agserver64 sddm-helper[1463]: [PAM] Authenticating…
Sep 26 19:26:12 hms-agserver64 sddm-helper[1463]: [PAM] returning.
Sep 26 19:26:12 hms-agserver64 sddm[1383]: Authenticated successfully
Sep 26 19:26:12 hms-agserver64 sddm-helper[1463]: pam_unix(sddm-autologin:session): session opened for user appgen by (uid=0)
Sep 26 19:26:32 hms-agserver64 sddm[1383]: Session started
Sep 26 19:26:33 hms-agserver64 sddm[1383]: Auth: sddm-helper exited with 1
Sep 26 19:27:41 hms-agserver64 systemd[1]: Stopping X Display Manager…
Sep 26 19:27:41 hms-agserver64 display-manager[1611]: Shutting down service sddm…done
Sep 26 19:27:41 hms-agserver64 systemd[1]: Stopped X Display Manager.

grep “AUTO” /etc/sysconfig/displaymanager
DISPLAYMANAGER_AUTOLOGIN=“appgen”

DISPLAYMANAGER_AUTOLOGIN is empty.

I’m looking at the other checks / info you posted.

Thanks

inxi -Gxx
Resuming in non X mode: glxinfo not found. For package install advice run: inxi --recommends
Graphics: Card: Intel 4 Series Integrated Graphics Controller
bus-ID: 00:02.0 chip-ID: 8086:2e12
Display Server: X.org 1.18.3 drivers: fbdev (unloaded: modesetting,vesa)
tty size: 80x33 Advanced Data: N/A for root
hms-agserver64:~#

You are set for auto-login as user “appgen”.

My first suggestion would be to disable auto-login. To do that, edit the file “/etc/sysconfig/displaymanager” (as root), and change that “appgen” to just “”.

When you then reboot, you should now get a graphic login screen. That’s provided by SDDM, your display manager.

If you instead still get a black screen, then that tells us something about where things are going wrong. My best guess is that you will get a login screen.

Near the bottom left corner of the login screen, there is a menu. On that menu, you can select which desktop you wish to use. The choices depend on what software you have installed. One of the choices should be “Icewm” (or maybe it says “Icewm session”. It is a very simple desktop, and should work. Maybe try that as a test.

The other choices should include “Plasma” and “Plasma (Wayland)” or something similar. Before you do anything, make a note of the selected session (before you change it). That will be useful to know.

I’m guessing (and this is a wild guess), that you were set to use “Plasma (Wayland)”. The reason that I am guessing this, is that Plasma (Wayland) has a particularly large cursor arrow. And you mentioned that as a symptom. Some graphic hardware might have problems with Wayland graphics. So try just the plain “Plasma” (or it might say “Plasma (X11)” or similar). That’s more likely to work than the Wayland version.

When you say ‘update install’, which version did you upgrade from?

The display-manager service output looks ok, and I can see that it is configured to auto-login (appgen user account).

Non-working versions are:

openSUSE Leap 42.3
KDE Plasma Versioin 5.8.7
KDE Frameworks Version 5.32.0
Qt Version 5.6.2
Kernel Version 4.4.138-59-default
OS Type 64-bit

Working machine versions are:

openSUSE Leap 15.0
KDE Plasma Version 5.12.6
KDE Frameworks Version 5.45.0
Qt Version 5.9.4
Kernel Version 4.12.14-lp150.12.16-default
OS Type 64-bit

Turning off ‘Auto Login’ did not alter the boot progress. System still stops at black screen with a rather large mouse cursor.

FBDEV indicates running in what amounts to rescue mode. Modesetting should be where fbdev is. Report back the output of:

grep 'Kernel command' /var/log/Xorg.0.log

I suspect the output will contain the string ‘nomodeset’. If true, it needs to be removed. You can test its removal by striking the E key at the grub menu and deleting it before proceeding to boot.

You are correct in that nomodeset was in the boot stream. I removed it on this boot with no apparant changes. Boot still stops with simple mouse cursor on page. Command output from current boot is this:

hms-agserver64:~# grep 'Kernel command' /var/log/Xorg.0.log
   107.592] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.138-59-default root=UUID=228f8670-6d0d-4a48-8dc4-654ae469d27d resume=/dev/disk/by-uuid/3e905508-5213-4d17-a899-46ee516bb5c6 splash=silent quiet showopts
hms-agserver64:~# 


Please repeat the boot process by also appending to cmdline

plymouth.enable=0

Also upload the resulting /var/log/Xorg.0.log to http://susepaste.org, either via a web browser, or using the susepaste command. Finally, add output from

rpm -qa | grep dm

You can make the boot process more informative if when editing Grub you also remove splash=silent and quiet. FWIW, showopts does absolutely nothing unless using Grub Legacy and GFXboot. Finish by again once booted doing

inxi -Gxx

preferably logged into an X session in Konsole or an Xterm if available.

Log file is at: SUSE Paste

hms-agserver64:~# rpm -qa | grep dm
sddm-theme-openSUSE-42.1.1-19.1.noarch
xdm-xsession-1.1.11-16.3.x86_64
libgdm1-3.14.2-18.3.x86_64
rdma-core-14-8.1.x86_64
patterns-openSUSE-network_admin-20170518-6.1.x86_64
xf86vidmodeproto-devel-2.3.1-11.3.x86_64
texlive-hyphen-piedmontese-2016.122.svn40340-23.5.noarch
dmz-icon-theme-cursors-11.2.0-20.3.noarch
xdm-1.1.11-16.3.x86_64
xmodmap-1.0.9-4.3.x86_64
libloudmouth-1-0-1.4.3-27.1.x86_64
texlive-updmap-map-2016.122.svn41149-24.4.noarch
kcm_sddm-5.8.7-2.1.x86_64
libdmx1-1.1.3-8.3.x86_64
loudmouth-devel-1.4.3-27.1.x86_64
libdmx-devel-1.1.3-8.3.x86_64
cyradm-2.4.18-5.2.x86_64
libquadmath0-7.3.1+r258812-10.1.x86_64
nfsidmap-0.25-10.3.x86_64
sddm-branding-openSUSE-0.14.0-5.1.x86_64
libXdmcp6-1.1.2-5.1.x86_64
texlive-babel-piedmontese-doc-2016.122.1.0svn30282-24.4.noarch
gdmflexiserver-3.14.2-18.3.noarch
dmxproto-devel-2.3.1-11.3.x86_64
libdmtx0-0.7.4-17.3.x86_64
sddm-0.14.0-5.1.x86_64
libdmapsharing-3_0-2-2.9.34-3.3.x86_64
libmodman1-2.0.1-20.3.x86_64
gdm-3.14.2-18.3.x86_64
libXdmcp-devel-1.1.2-5.1.x86_64
patterns-openSUSE-gnome_admin-20170518-6.1.x86_64
gdm-lang-3.14.2-18.3.noarch
librdmacm1-14-8.1.x86_64
gdm-branding-openSUSE-42.1-4.1.noarch
kcm_sddm-lang-5.8.7-2.1.noarch
typelib-1_0-Gdm-1_0-3.14.2-18.3.x86_64
dmidecode-3.0-4.3.x86_64
texlive-babel-piedmontese-2016.122.1.0svn30282-24.4.noarch
mdadm-4.0-5.3.1.x86_64
dmraid-1.0.0.rc16-42.1.x86_64
xdmbgrd-0.6-221.1.x86_64
hms-agserver64:~# 


hms-agserver64:~# inxi -Gxx
Resuming in non X mode: glxinfo not found. For package install advice run: inxi --recommends
Graphics:  Card: Intel 4 Series Integrated Graphics Controller
           bus-ID: 00:02.0 chip-ID: 8086:2e12
           Display Server: X.org 1.18.3 drivers: modesetting (unloaded: fbdev,vesa)
           tty size: 80x24 Advanced Data: N/A for root
hms-agserver64:~# 

Did it again boot to a black screen with a large mouse cursor?

That list of installed packages seems to be saying you are not using 15.0, more likely 42.3, possibly older. inxi reports you are using 42.3’s X server.

Post:

zypper lr -d

It still booted to the black screen with mouse cursor.

The server is running Leap 42.

The other server that was cloned from this one and ‘updated’ to Leap 15 works just fine and boots into the normal log-in screen. That is without any other changes. Before the update the clone worked just like the existing server.

hms-agserver64:~# zypper lr -d
Repository priorities in effect:                (See 'zypper lr -P' for details)
      95 (raised priority)  :  1 repository  
      96 (raised priority)  :  1 repository  
      99 (default priority) :  4 repositories

#  | Alias                         | Name                                                                | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                     | Service
---+-------------------------------+---------------------------------------------------------------------+---------+-----------+---------+----------+--------+-----------------------------------------------------------------------------------------+--------
 1 | Multimedia                    | Multimedia                                                          | No      | ----      | ----    |   96     | NONE   | http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_Leap_42.3/          |        
 2 | Printing                      | Printing                                                            | No      | ----      | ----    |   96     | NONE   | http://download.opensuse.org/repositories/Printing/openSUSE_Leap_42.3/                  |        
 3 | Stunnel                       | Stunnel                                                             | No      | ----      | ----    |   96     | NONE   | http://download.opensuse.org/repositories/security:/Stunnel/openSUSE_Leap_42.3/         |        
 4 | Tools                         | Tools                                                               | No      | ----      | ----    |   98     | NONE   | http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_42.3/                |        
 5 | Wine                          | Wine                                                                | No      | ----      | ----    |   96     | NONE   | http://download.opensuse.org/repositories/Emulators:/Wine:/STABLE/openSUSE_Leap_42.3/   |        
 6 | download.opensuse.org-non-oss | openSUSE-Leap-42.3-Main (NON-OSS)                                   | Yes     | (r ) Yes  | Yes     |   96     | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/                       |        
 7 | download.opensuse.org-oss     | openSUSE-Leap-42.3-Main (OSS)                                       | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/oss/                           |        
 8 | google-chrome                 | google-chrome                                                       | No      | ----      | ----    |   99     | NONE   | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                     |        
 9 | home_StefanBruens_Miracle     | Testing repository for miracast and dependencies (openSUSE_Factory) | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://download.opensuse.org/repositories/home:/StefanBruens:/Miracle/openSUSE_Factory/ |        
10 | openSUSE-Leap-42.3-0          | openSUSE-Leap-42.3-0                                                | No      | ----      | ----    |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-hp_DVD-RAM_GHC0N_KE6F39F3801                         |        
11 | openSUSE-Leap-42.3-DVD-x86_64 | openSUSE-Leap-42.3-DVD-x86_64                                       | No      | ----      | ----    |   99     | NONE   | iso:///?iso=openSUSE-Leap-42.3-DVD-x86_64.iso&url=dir%3A%2Fu%2FISO%2FSUSE%2F42.3        |        
12 | packman                       | packman                                                             | No      | ----      | ----    |   95     | NONE   | http://packman.inode.at/suse/openSUSE_Leap_42.3/                                        |        
13 | packman-essentials            | packman-essentials                                                  | No      | ----      | ----    |   95     | NONE   | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.3/Essentials/           |        
14 | packman-multimedia            | packman-multimedia                                                  | No      | ----      | ----    |   96     | NONE   | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.3/Multimedia/           |        
15 | repo-debug-non-oss            | openSUSE-Leap-42.3-Debug  (OSS)                                     | No      | ----      | ----    |   96     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.3/repo/oss/                     |        
16 | repo-debug-oss-1              | openSUSE-Leap-42.3-Debug (NON-OSS)                                  | No      | ----      | ----    |   96     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.3/repo/non-oss/                 |        
17 | repo-debug-update             | openSUSE-Leap-42.3-Update-Debug                                     | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/42.3/oss/                                |        
18 | repo-debug-update-non-oss     | openSUSE-Leap-42.3-Update-Debug-Non-Oss                             | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/42.3/non-oss/                            |        
19 | repo-source                   | openSUSE-Leap-42.3-Source                                           | No      | ----      | ----    |   99     | yast2  | http://download.opensuse.org/source/distribution/leap/42.3/repo/oss/                    |        
20 | repo-source-non-oss           | openSUSE-Leap-42.3-Source (NON-OSS)                                 | No      | ----      | ----    |   95     | NONE   | http://download.opensuse.org/source/distribution/leap/42.3/repo/non-oss/                |        
21 | repo-update-non-oss           | openSUSE-Leap-42.3-Update (NON-OSS)                                 | Yes     | (r ) Yes  | Yes     |   95     | rpm-md | http://download.opensuse.org/update/leap/42.3/non-oss/                                  |        
22 | repo-update-oss               | openSUSE-Leap-42.3-Update (OSS)                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.3/oss/                                      |        
23 | repo-update-oss_1             | openSUSE-Leap-42.3-Update (OSS)                                     | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/update/distribution/leap/42.3/repo/oss/                    |        
24 | teamviewer                    | TeamViewer - x86_64                                                 | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://linux.teamviewer.com/yum/stable/main/binary-x86_64/                              |        
hms-agserver64:~# 

This is a factory Repo:

9 | home_StefanBruens_Miracle | Testing repository for miracast and dependencies (openSUSE_Factory) | Yes | (r ) Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/home:/StefanBruens:/Miracle/openSUSE_Factory/ |

Please show us, whart is installed from there:

zypper se -sir http://download.opensuse.org/repositories/home:/StefanBruens:/Miracle/openSUSE_Factory/

Also:

zypper ve
hms-agserver64:~# zypper ve
Retrieving repository 'openSUSE-Leap-42.3-Update (OSS)' metadata ..............................................[done]
Building repository 'openSUSE-Leap-42.3-Update (OSS)' cache ...................................................[done]
Loading repository data...
Reading installed packages...

Dependencies of all installed packages are satisfied.
hms-agserver64:~#