Bug ID 1208268
Summary xdm does not launch configured default-xsession.desktop
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.5
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component X.Org
Assignee gfx-bugs@suse.de
Reporter mrmazda@earthlink.net
QA Contact gfx-bugs@suse.de
Found By ---
Blocker ---

Created attachment 864904 [details]
.tgz of journalctl -b with cmdline including debug rd.debug

https://paste.opensuse.org/pastes/7d8d9da97046 contains a journal produced
without debug rd.debug on kernel cmdline (28 day expire).

Original summary:
xdm does not launch configured default-xsession.desktop

# inxi -GSxxz
System:
  Kernel: 5.14.21-150500.39-default arch: x86_64 bits: 64 compiler: gcc
    v: 7.5.0 Console: pty pts/1 (vt 7) DM: XDM Distro: openSUSE Leap 15.5 Alpha
Graphics:
  Device-1: AMD Kaveri [Radeon R7 Graphics] vendor: ASRock driver: amdgpu
    v: kernel arch: GCN-2 ports: active: DP-1, DVI-D-1, HDMI-A-1, VGA-1
    empty: none bus-ID: 00:01.0 chip-ID: 1002:130f
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 7840x1440 s-dpi: 120
  Monitor-1: DVI-D-1 mapped: DVI-D-0 pos: primary,left model: NEC EA243WM
    res: 1920x1200 dpi: 94 diag: 612mm (24.1")
  Monitor-2: DP-1 mapped: DisplayPort-0 pos: center-r model: Acer K272HUL
    res: 2560x1440 dpi: 109 diag: 686mm (27")
  Monitor-3: HDMI-A-1 mapped: HDMI-A-0 pos: right model: Dell P2213
    res: 1680x1050 dpi: 90 diag: 558mm (22")
  Monitor-4: VGA-1 mapped: VGA-0 pos: center-l model: Lenovo L2251x Wide
    res: 1680x1050 dpi: 90 diag: 559mm (22")
  API: OpenGL v: 4.6 Mesa 22.3.4 renderer: AMD Radeon R7 Graphics (kaveri
    LLVM 15.0.7 DRM 3.49 5.14.21-150500.39-default) direct-render: Yes
## installation is a zypper dup from an unpreserved 15.4.
# inxi -C
CPU:
  Info: quad core model: AMD A10-7850K Radeon R7 12 Compute Cores 4C+8G
    bits: 64 type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 1700 min/max: 1700/4000 cores: 1: 1700 2: 1700 3: 1700
    4: 1700
# ll /usr/share/xsessions/
total 16
drwxr-xr-x   2 root root 2048 Feb 14 19:34 .
drwxr-xr-x 175 root root 6144 Feb 14 19:27 ..
lrwxrwxrwx   1 root root   42 Jan 27 00:54 default.desktop ->
/etc/alternatives/default-xsession.desktop
lrwxrwxrwx   1 root root   13 Apr 22  2022 icewm-session.desktop ->
icewm.desktop
-rw-r--r--   1 root root 2498 Apr 22  2022 icewm.desktop
lrwxrwxrwx   1 root root   15 Jan 27 00:56 kde-plasma.desktop ->
plasma5.desktop
-rw-r--r--   1 root root 2975 Jan 27 00:44 plasma5.desktop
# update-alternatives --config default-displaymanager
There are 2 choices for the alternative default-displaymanager (providing
/usr/lib/X11/displaymanagers/default-displaymanager).

  Selection    Path                                  Priority   Status
------------------------------------------------------------
  0            /usr/lib/X11/displaymanagers/xdm       10        auto mode
  1            /usr/lib/X11/displaymanagers/console   5         manual mode
* 2            /usr/lib/X11/displaymanagers/xdm       10        manual mode

Press <enter> to keep the current choice[*], or type selection number:
# update-alternatives --config default-xsession.desktop
There are 2 choices for the alternative default-xsession.desktop (providing
/usr/share/xsessions/default.desktop).

  Selection    Path                                        Priority   Status
------------------------------------------------------------
  0            /usr/share/xsessions/plasma5.desktop         25        auto mode
  1            /usr/share/xsessions/icewm-session.desktop   15        manual
mode
* 2            /usr/share/xsessions/plasma5.desktop         25        manual
mode

Press <enter> to keep the current choice[*], or type selection number:
# head /usr/share/xsessions/default.desktop
[Desktop Entry]
Type=XSession
Exec=/usr/bin/startplasma-x11
TryExec=/usr/bin/startplasma-x11
DesktopNames=KDE
Name=Plasma (X11)
# rpm -qa | grep -i dm-
xdm-1.1.11-150400.23.6.x86_64
mdadm-4.2-150500.1.8.x86_64
# journalctl -b | grep aile # boot without cmdline debug rd.debug
Feb 14 20:58:55 ara88 systemd[1]: haveged.service: Failed with result
'exit-code'.
# journalctl -b | grep aile | wc -l # boot with cmdline debug rd.debug
1745
# cat .xsession-errors-:0
Environment variable $XAUTHORITY not set, ignoring.
warning: output DP-1 not found; ignoring
warning: output VGA-1 not found; ignoring
warning: output DVI-D-1 not found; ignoring
warning: output HDMI-1 not found; ignoring
gpg-connect-agent: no gpg-agent running in this session
gpg-connect-agent: no gpg-agent running in this session
#

Starting in multi-user.target, startx /usr/bin/startice produces a normally
working session. 

Starting in multi-user.target, startx /usr/bin/startplasma-x11 produces in
journal:
kapplymousethem[864]: segfault at 0 ip 00007f413f8e0640 sp 00007ffc20ad6c48
error 4 in libQt5Gui.so.5.15.2[7f413f758000+6f1000]
kcminit_startup[900]: segfault at 0 ip 00007f59a42a8640 sp 00007fffea85f5d8
error 4 in libQt5Gui.so.5.15.2[7f59a4120000+6f1000]
which reinstalling libQt5Gui5 fails to fix.

Problem Manifestation:
Starting in graphical target, login with alternatives default set to either
plasma or icewm results in an Xterm with no window decorations, no toolbar,
pale gray background, and no response to mouse clicks anywhere. If with
update-alternatives I have default on plasma, it causes popup window reporting
kglobalaccel5 segfault. Dismissal produces a ksplashqml segfault report.
Dismissal leaves a black screen with mouse pointer and nothing else.


You are receiving this mail because: