NetBSD Problem Report #57554

From www@netbsd.org  Mon Jul 31 06:21:59 2023
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6C1631A9238
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 31 Jul 2023 06:21:59 +0000 (UTC)
Message-Id: <20230731062157.A1C4F1A923A@mollari.NetBSD.org>
Date: Mon, 31 Jul 2023 06:21:57 +0000 (UTC)
From: yklaxds@gmail.com
Reply-To: yklaxds@gmail.com
To: gnats-bugs@NetBSD.org
Subject: After starting through KDM, the KDE desktop loads, but then it goes black screen.
X-Send-Pr-Version: www-1.0

>Number:         57554
>Category:       pkg
>Synopsis:       After starting through KDM, the KDE desktop loads, but then it goes black screen.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 31 06:25:00 +0000 2023
>Originator:     yklaxds
>Release:        NETBSD 9.3
>Organization:
Chinese FreeBSD Community
>Environment:
ykla$ uname -a
NetBSD ykla 9.3 NetBSD 9.3 (GENERIC) #0: Thu Aug  4 15:30:37 UTC 2022  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64

>Description:
After starting through KDM, the KDE desktop loads, but then it goes black screen.

Whether in VMware or VirtualBox, the following situation occurs: After installing KDE using the commands below, upon reboot, the kdm login window is visible. However, during the first login, only half of the KDE program windows are visible, while the rest remain in a black screen state. Subsequent logins result in a purely black screen

------------------------------
ykla$ cat /var/log/kdm.log .
********************************************************************************
Note that your system uses syslog. All of kdm's internally generated messages
(i.e., not from libraries and external programs/scripts it uses) go to the
daemon.* syslog facility; check your syslog configuration to find out to which
file(s) it is logged. PAM logs messages related to authentication to authpriv.*.
********************************************************************************

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            Couldn't lookup keysym
>                   Symbol interpretation ignored
> Error:            Couldn't lookup keysym
>                   Symbol interpretation ignored
Errors from xkbcomp are not fatal to the X server
klauncher(452) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. 
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(45)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "Not connected to D-Bus server" 

kdmgreet(45)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned 
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kded(614): KUniqueApplication: Cannot find the D-Bus session server:  "Address does not contain a colon" 

kded(741): KUniqueApplication: Pipe closed unexpectedly. 

kdmgreet(45)/kdeui (KIconLoader) KSharedDataCache::Private::mapSharedMemory: Failed to establish shared memory mapping, will fallback to private memory -- memory usage will increase 
(II) Server terminated successfully (0). Closing log file.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            Couldn't lookup keysym
>                   Symbol interpretation ignored
> Error:            Couldn't lookup keysym
>                   Symbol interpretation ignored
Errors from xkbcomp are not fatal to the X server
klauncher(496) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. 
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(97)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "Not connected to D-Bus server" 

kdmgreet(97)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned 
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kded(210): KUniqueApplication: Cannot find the D-Bus session server:  "Address does not contain a colon" 

kded(721): KUniqueApplication: Pipe closed unexpectedly. 

kdmgreet(97)/kdeui (KIconLoader) KSharedDataCache::Private::mapSharedMemory: Failed to establish shared memory mapping, will fallback to private memory -- memory usage will increase 
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            Couldn't lookup keysym
>                   Symbol interpretation ignored
> Error:            Couldn't lookup keysym
>                   Symbol interpretation ignored
Errors from xkbcomp are not fatal to the X server
Failed to switch from vt05 to vt02: Device busy
Failed to switch from vt05 to vt03: Device busy
klauncher(97) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. 
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(45)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "Not connected to D-Bus server" 

kdmgreet(45)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned 
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kded(1059): KUniqueApplication: Cannot find the D-Bus session server:  "Address does not contain a colon" 

kded(162): KUniqueApplication: Pipe closed unexpectedly. 
>How-To-Repeat:
# echo http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/x86_64/9.0_2023Q2/All/  > /usr/pkg/etc/pkgin/repositories.conf
# pkgin install readline  libcups
# echo http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/x86_64/9.0_current/All/  > /usr/pkg/etc/pkgin/repositories.cpositories.conf
# pkgin install kde4 hal
# cp /usr/pkg/share/examples/rc.d/* /etc/rc.d
# echo kdm=YES >> /etc/rc.conf
# echo hal=YES >> /etc/rc.conf
# echo avahidaemon=YES >> /etc/rc.conf
# echo dbus=YES >> /etc/rc.conf
# echo hostname=ykla >> /etc/rc.conf 
# reboot
>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.