Plasma 6.1 上的 Dolphin 是否仍支持 Dolphin 服务?升级后,我安装的服务不再可用。
我刚刚安装kde-full
并在安装后选择sddm
作为显示管理器,但我没有注销并将桌面环境更改为 KDE 并重新启动,现在当我启动我的 Ubuntu 时我看到黑屏。
几天前更新后,Okular(我使用一段时间后一直很顺利)在打开时停止显示任何窗口。停靠栏和活动进程列表显示该程序正在运行。这种情况发生在程序打开和关闭几次之后。重新启动计算机没有帮助。如果我卸载并重新安装,我会在几个会话中恢复正常运行,然后行为会恢复。有没有人遇到过类似的事情,有谁知道发生了什么?我正在运行 Ubuntu 24.04,Okular 版本是 24.05.1。从命令行,我可以生成以下对话框。
$ okular (一些 PDF 文件)
kf.windowsystem: static int KX11Extras::currentDesktop() 只能在 X11 上使用
** (okular:(进程 ID)): 警告 **: (时间戳): atk-bridge: get_device_events_reply: 未知签名
在我按 ^C 中断之前没有发生任何其他事情。仅输入
$ 奥克拉尔
只会出现警告。不会出现任何程序窗口。
我在更新 Ubuntu 时遇到了问题。证书验证失败,于是上网查找。然后根据我自己的逻辑和一些论坛上的一些答案。我运行了以下命令:
sudo apt autoremove ca-certificates
现在,重新启动电脑后,我看到的是 tty1 屏幕,而不是正常的登录屏幕。我多次尝试按键盘组合 Ctrl+Shift+F7-或-F8。有谁知道这是什么以及如何解决它?
我正在使用 Ubuntu 和 KDE Plasma Desktop 全套套件。我已经卸载了 GNOME。
尝试后
sudo apt update && sudo apt install ubuntu-desktop
这就是我得到的:
我刚刚在我的笔记本电脑上安装了 Kubuntu,一切运行顺利。然后plasma-discover
突然停止工作。当我尝试启动它时,窗口在左上角显示为一个小矩形一秒钟左右,然后立即消失。从命令行启动它,会给出相同的结果,并显示以下消息:
$ plasma-discover
kf.config.core: "\"geometry\" - conversion of \"776,258,0,65507\" to QRect failed"
kf.config.core: "\"geometry\" - conversion of \"776,258,0,65507\" to QRect failed"
kf.config.core: "\"geometry\" - conversion of \"776,258,0,65507\" to QRect failed"
kf.config.core: "\"geometry\" - conversion of \"776,258,0,65507\" to QRect failed"
qrc:/qml/DiscoverWindow.qml:116:19: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 15. Use 'sequences: [ <key> ]' to bind to all of them.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/PageRow.qml:674:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 14. Use 'sequences: [ <key> ]' to bind to all of them.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/PageRow.qml:670:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 13. Use 'sequences: [ <key> ]' to bind to all of them.
QObject::startTimer: Timers cannot have negative intervals
kf.config.core: "\"geometry\" - conversion of \"776,258,0,65507\" to QRect failed"
qrc:/qml/DiscoverPage.qml:42:37: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 15. Use 'sequences: [ <key> ]' to bind to all of them.
adding empty sources model QStandardItemModel(0x55feeb4688e0)
org.kde.plasma.libdiscover: Couldn't find a category for "fwupd-backend"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:75:5: QML Binding: Binding loop detected for property "value"
QQuickItem::stackBefore: Cannot stack QQuickRectangle(0x55feeb88dda0, parent=0x55feeaea8fe0, geometry=0,0 0x0) before QQuickPopupItem(0x55feeb04c110), which must be a sibling
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/GlobalDrawer.qml:333:17: QML RowLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredHeight"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:283:5: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.
Segmentation fault (core dumped)
运行命令root
正确启动应用程序,并显示以下消息:
sudo plasma-discover
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
qrc:/qml/DiscoverWindow.qml:116:19: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 15. Use 'sequences: [ <key> ]' to bind to all of them.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/PageRow.qml:674:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 14. Use 'sequences: [ <key> ]' to bind to all of them.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/PageRow.qml:670:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 13. Use 'sequences: [ <key> ]' to bind to all of them.
qrc:/qml/DiscoverPage.qml:42:37: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 15. Use 'sequences: [ <key> ]' to bind to all of them.
adding empty sources model QStandardItemModel(0x561aaf758820)
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
org.kde.plasma.libdiscover: Couldn't find a category for "fwupd-backend"
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:75:5: QML Binding: Binding loop detected for property "value"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:283:5: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/BasicListItem.qml:273:18: QML QQuickItem*: Binding loop detected for property "implicitWidth"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:283:5: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.
我做了一些研究,也许它与一些键绑定有关,但我不知道如何解决这个问题......我的plasma-discover
版本是5.24.7
,我在6.5.0-15-generic x86_64
内核上运行 Kubuntu 22.04
运行gdb plasma-discover
结果为:
$ gdb plasma-discover
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from plasma-discover...
(No debugging symbols found in plasma-discover)
(gdb) start
Function "main" not defined.
Make breakpoint pending on future shared library load? (y or [n]) n
Starting program: /usr/bin/plasma-discover
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff0147640 (LWP 9869)]
[New Thread 0x7fffef0d6640 (LWP 9870)]
[New Thread 0x7fffedb22640 (LWP 9871)]
[New Thread 0x7fffed321640 (LWP 9872)]
[New Thread 0x7fffecb20640 (LWP 9873)]
[New Thread 0x7fffe5fff640 (LWP 9874)]
[New Thread 0x7fffe57fe640 (LWP 9875)]
[New Thread 0x7fffe4ffd640 (LWP 9876)]
[New Thread 0x7fffd8fff640 (LWP 9877)]
[New Thread 0x7fffbbfff640 (LWP 9878)]
[New Thread 0x7fffbb7fe640 (LWP 9879)]
[Thread 0x7fffbb7fe640 (LWP 9879) exited]
[Thread 0x7fffbbfff640 (LWP 9878) exited]
[New Thread 0x7fffbbfff640 (LWP 9880)]
[New Thread 0x7fffbb7fe640 (LWP 9881)]
[New Thread 0x7fffbaffd640 (LWP 9882)]
[Thread 0x7fffbaffd640 (LWP 9882) exited]
[Thread 0x7fffbb7fe640 (LWP 9881) exited]
kf.config.core: "\"geometry\" - conversion of \"776,258,0,65507\" to QRect failed"
kf.config.core: "\"geometry\" - conversion of \"776,258,0,65507\" to QRect failed"
kf.config.core: "\"geometry\" - conversion of \"776,258,0,65507\" to QRect failed"
kf.config.core: "\"geometry\" - conversion of \"776,258,0,65507\" to QRect failed"
qrc:/qml/DiscoverWindow.qml:116:19: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 15. Use 'sequences: [ <key> ]' to bind to all of them.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/PageRow.qml:674:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 14. Use 'sequences: [ <key> ]' to bind to all of them.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/PageRow.qml:670:5: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 13. Use 'sequences: [ <key> ]' to bind to all of them.
QObject::startTimer: Timers cannot have negative intervals
[New Thread 0x7fffbb7fe640 (LWP 9883)]
[New Thread 0x7fffbaffd640 (LWP 9884)]
[New Thread 0x7fffb99e6640 (LWP 9885)]
[New Thread 0x7fffb91e5640 (LWP 9886)]
kf.config.core: "\"geometry\" - conversion of \"776,258,0,65507\" to QRect failed"
qrc:/qml/DiscoverPage.qml:42:37: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 15. Use 'sequences: [ <key> ]' to bind to all of them.
[New Thread 0x7fffa3fff640 (LWP 9887)]
[New Thread 0x7fffa37fe640 (LWP 9888)]
[New Thread 0x7fffa2ffd640 (LWP 9889)]
[New Thread 0x7fffa27fc640 (LWP 9890)]
[New Thread 0x7fffa1ffb640 (LWP 9891)]
adding empty sources model QStandardItemModel(0x555555eec230)
[New Thread 0x7fffa17fa640 (LWP 9892)]
[New Thread 0x7fff8bfff640 (LWP 9893)]
[Detaching after fork from child process 9894]
org.kde.plasma.libdiscover: Couldn't find a category for "fwupd-backend"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:75:5: QML Binding: Binding loop detected for property "value"
[New Thread 0x7fff8b7fe640 (LWP 9896)]
[New Thread 0x7fff8affd640 (LWP 9897)]
[New Thread 0x7fff8a7fc640 (LWP 9898)]
QQuickItem::stackBefore: Cannot stack QQuickRectangle(0x555556312ba0, parent=0x55555592d020, geometry=0,0 0x0) before QQuickPopupItem(0x555555acfa70), which must be a sibling
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/GlobalDrawer.qml:333:17: QML RowLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredHeight"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:283:5: QML Binding: Not restoring previous value because restoreMode has not been set.
This behavior is deprecated.
You have to import QtQml 2.15 after any QtQuick imports and set
the restoreMode of the binding to fix this warning.
In Qt < 6.0 the default is Binding.RestoreBinding.
In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.
Thread 1 "plasma-discover" received signal SIGSEGV, Segmentation fault.
0x00007ffff6ace859 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
(gdb) c
Continuing.
[Thread 0x7fffb91e5640 (LWP 9886) exited]
[Thread 0x7fffa3fff640 (LWP 9887) exited]
[Thread 0x7fffa17fa640 (LWP 9892) exited]
[Thread 0x7fffa27fc640 (LWP 9890) exited]
[Thread 0x7fffbb7fe640 (LWP 9883) exited]
[Thread 0x7fffbaffd640 (LWP 9884) exited]
[Thread 0x7fffb99e6640 (LWP 9885) exited]
Thread 1 "plasma-discover" received signal SIGSEGV, Segmentation fault.
0x00007ffff6ace859 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
(gdb) bt
#0 0x00007ffff6ace859 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#1 0x00007ffff6aeaa4e in QQmlPropertyCapture::captureProperty(QObject*, int, int, bool) ()
from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#2 0x00007ffff69a78cd in QV4::QObjectWrapper::getProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*) ()
from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#3 0x00007fffd82c119b in ?? ()
#4 0x0000000000000000 in ?? ()
我通过快速创建安装了 Ubuntu 22.04,Gnome 一切正常。不过,我想切换到 KDE 并安装它,而且它在 Hyper V 本地模式下运行良好。但是,如果我通过 XRDP 连接,则仍然使用 Gnome。我更改/etc/xrdp/startwm.sh
并注释掉了最后两行并添加了exec startkde
:
#test -x /etc/X11/Xsession && exec /etc/X11/Xsession
#exec /bin/sh /etc/X11/Xsession
exec startkde
但是,这不起作用,在本地模式下,我可以在以下位置看到这些错误/var/log/xrdp.log
:
[20231017-13:52:43] [ERROR] xrdp_sec_recv: xrdp_mcs_recv failed
[20231017-13:52:43] [ERROR] xrdp_rdp_recv: xrdp_sec_recv failed
[20231017-13:52:43] [ERROR] libxrdp_process_data: xrdp_rdp_recv failed
[20231017-13:52:43] [ERROR] xrdp_process_data_in: xrdp_process_loop failed
[20231017-13:52:43] [ERROR] xrdp_iso_send: trans_write_copy_s failed
[20231017-13:52:44] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed
我还找到了如何配置 XRDP 以启动 cinnamon 作为默认桌面会话并尝试
echo "startkde" > ~/.Xclients
chmod u+x ~/.Xclients
sudo systemctl restart xrdp.service
然而这也行不通。怎么了?
刚刚看到该/etc/xrdp/startubuntu.sh
文件,看起来也应该更改:
#!/bin/sh
# DESKTOP_IMG: This file was created/modified by the Desktop Image build process
export GNOME_SHELL_SESSION_MODE=ubuntu
export XDG_CURRENT_DESKTOP=ubuntu:GNOME
exec /etc/xrdp/startwm.sh
我尝试过
export KDE_SESSION_VERSION=5
export DESKTOP_SESSION=plasma
export XDG_CURRENT_DESKTOP=KDE
exec /etc/xrdp/startwm.sh
然而仍然不工作。
我是 Linux 新手。我刚刚安装了 Ubuntu,在删除 KDE Plasma 桌面并重新启动系统后。我被困在黑色的命令屏幕中。不知道如何进入默认的 Ubuntu 桌面屏幕。
我的 Ubuntu Studio 安装上的任何 KDE su 提示似乎都无法正常工作。我已经通过终端为root帐户设置了密码,并通过这样的终端成功以root身份登录......
su
{enter password}
一切都很好
但是从图形上看,我被卡住了-我发现的唯一解决方法是su
在终端中,然后手动执行命令。
我怎样才能解决这个问题?我正在尝试设置一些我目前无法设置的东西,而不得不通过挖掘来查找文件。
Konact / KMail 不想再启动了,因为 Akonadi 失败了。我无法启动 akonadi
~$ akonadictl --verbose start
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadiserver: Starting up the Akonadi Server...
org.kde.pim.akonadiserver: Found mysql_install_db: "/usr/bin/mysql_install_db"
org.kde.pim.akonadiserver: Found mysqlcheck: "/usr/bin/mysqlcheck"
org.kde.pim.akonadiserver: Using mysqld: "/usr/sbin/mysqld-akonadi"
org.kde.pim.akonadicontrol: Service ":1.89" owner changed from "" to ":1.89"
org.kde.pim.akonadicontrol: Service ":1.90" owner changed from "" to ":1.90"
org.kde.pim.akonadiserver: mysqld reports version 10.3.34 (MariaDB)
org.kde.pim.akonadiserver: Executing: "/usr/sbin/mysqld-akonadi" "--defaults-file=/home/raeg/.local/share/akonadi/mysql.conf --datadir=/home/raeg/.local/share/akonadi/db_data/ --socket=/run/user/1000/akonadi/mysql.socket --pid-file=/run/user/1000/akonadi/mysql.pid"
org.kde.pim.akonadiserver: database server stopped unexpectedly
org.kde.pim.akonadiserver: Database process exited unexpectedly during initial connection!
org.kde.pim.akonadiserver: executable: "/usr/sbin/mysqld-akonadi"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/raeg/.local/share/akonadi/mysql.conf", "--datadir=/home/raeg/.local/share/akonadi/db_data/", "--socket=/run/user/1000/akonadi/mysql.socket", "--pid-file=/run/user/1000/akonadi/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: "2022-05-10 15:12:03 0 [Note] /usr/sbin/mysqld-akonadi (mysqld 10.3.34-MariaDB-0ubuntu0.20.04.1) starting as process 7312 ...\n"
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
org.kde.pim.akonadiserver: terminating connection threads
org.kde.pim.akonadiserver: terminating service threads
org.kde.pim.akonadiserver: stopping db process
org.kde.pim.akonadiserver: Failed to remove runtime connection config file
org.kde.pim.akonadiserver: Shutting down AkonadiServer...
org.kde.pim.akonadicontrol: Service ":1.90" owner changed from ":1.90" to ""
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally...
尝试更新 MariaDB
我读到,我应该更新 MariaDB,但我不知道如何。
~$ sudo systemctl restart mariadb
Failed to restart mariadb.service: Unit mariadb.service not found.
~$ sudo mysql_upgrade
Reading datadir from the MariaDB server failed. Got the following error when executing the 'mysql' command line client
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
FATAL ERROR: Upgrade failed
~$ sudo mariadb-upgrade
sudo: mariadb-upgrade: Command not found
~$ mariadb --version
mariadb Ver 15.1 Distrib 10.3.34-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
然后我跑了
curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version=10.8
sudo apt update && sudo apt upgrade -y
~$ mariadb --version
mariadb Ver 15.1 Distrib 10.3.34-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
但正如人们所看到的,这并没有太大变化。
我读到https://bbs.archlinux.org/viewtopic.php?id=184192,更新到 MariaDB 版本 10 可能是问题所在。它建议降级,然后做一些事情,然后再次升级。但是,那篇文章是 2014 年的,所以我不确定它是否仍然适用。
应用装甲
根据升级到 Ubuntu 20.04.2 LTS 会破坏 Akonadi,因此 KMail可能是 apparmor 的问题,所以我跑了
sudo systemctl disable apparmor
并重新启动,但这并没有帮助。
我能做些什么?