AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[kde](ubuntu)

Martin Hope
Oneechan69
Asked: 2025-03-28 14:13:31 +0800 CST

KDE Wayland:可以更快地截取区域屏幕截图吗?

  • 5

我正在使用HN * 中的这个脚本来选择屏幕上的区域并复制其文本,我删除了带有 的行mogrify。它使用 spectacle,但打开 UI 需要一段时间,这是否可行,如果 Spectacle 在后台保持打开状态,速度会更快吗?slurp CLI 立即启动以供我选择区域,我寻找可能与之一起使用的命令行截图工具或有自己的区域支持但没有找到。两者都不maim scrot适用grim于 Plasma Wayland。我安装了 ksnip flatpak,但没有显示矩形区域的选项。

* 脚本:

  #!/bin/bash 
  # Dependencies: tesseract-ocr imagemagick 
  # on gnome: gnome-screenshot 
  # on kde: spectacle
  # on x11: xsel
  # on wayland: wl-clipboard

  die(){
    notify-send "$1"
    exit 1
  }
  cleanup(){
    [[ -n $1 ]] && rm -r "$1"
  }

  SCR_IMG=$(mktemp -d) || die "failed to take screenshot"

  # shellcheck disable=SC2064
  trap "cleanup '$SCR_IMG'" EXIT

  #notify-send "Select the area of the text" 
  if  which "spectacle" &> /dev/null
  then
    spectacle -n -b -r -o "$SCR_IMG/scr.png" || die "failed to take screenshot"
  else
    gnome-screenshot -a -f "$SCR_IMG/scr.png" || die "failed to take screenshot"
  fi

  # increase image quality with option -q from default 75 to 100
  mogrify -modulate 100,0 -resize 400% "$SCR_IMG/scr.png"  || die "failed to convert image"
  #should increase detection rate

  tesseract "$SCR_IMG/scr.png" "$SCR_IMG/scr" &> /dev/null || die "failed to extract text"
  if [ "$XDG_SESSION_TYPE" == "wayland" ]
  then 
    wl-copy < "$SCR_IMG/scr.txt" || die "failed to copy text to clipboard"
  else
    # xsel -b -i  < "$SCR_IMG/scr.txt" || die "failed to copy text to clipboard"
    xclip -selection clipboard -i < "$SCR_IMG/scr.txt" || die "failed to copy text to clipboard"  
  fi
  # Notify the user what was copied but truncate the text to 100 characters
  notify-send "Text extracted from image" "$(head -c 100 "$SCR_IMG/scr.txt")" || die "failed to send notification"
  exit  #!/bin/bash 
  # Dependencies: tesseract-ocr imagemagick 
  # on gnome: gnome-screenshot 
  # on kde: spectacle
  # on x11: xsel
  # on wayland: wl-clipboard

  die(){
    notify-send "$1"
    exit 1
  }
  cleanup(){
    [[ -n $1 ]] && rm -r "$1"
  }

  SCR_IMG=$(mktemp -d) || die "failed to take screenshot"

  # shellcheck disable=SC2064
  trap "cleanup '$SCR_IMG'" EXIT

  #notify-send "Select the area of the text" 
  if  which "spectacle" &> /dev/null
  then
    spectacle -n -b -r -o "$SCR_IMG/scr.png" || die "failed to take screenshot"
  else
    gnome-screenshot -a -f "$SCR_IMG/scr.png" || die "failed to take screenshot"
  fi

  # increase image quality with option -q from default 75 to 100
  mogrify -modulate 100,0 -resize 400% "$SCR_IMG/scr.png"  || die "failed to convert image"
  #should increase detection rate

  tesseract "$SCR_IMG/scr.png" "$SCR_IMG/scr" &> /dev/null || die "failed to extract text"
  if [ "$XDG_SESSION_TYPE" == "wayland" ]
  then 
    wl-copy < "$SCR_IMG/scr.txt" || die "failed to copy text to clipboard"
  else
    # xsel -b -i  < "$SCR_IMG/scr.txt" || die "failed to copy text to clipboard"
    xclip -selection clipboard -i < "$SCR_IMG/scr.txt" || die "failed to copy text to clipboard"  
  fi
  # Notify the user what was copied but truncate the text to 100 characters
  notify-send "Text extracted from image" "$(head -c 100 "$SCR_IMG/scr.txt")" || die "failed to send notification"
  exit
kde
  • 1 个回答
  • 28 Views
Martin Hope
Oneechan69
Asked: 2025-03-10 03:31:19 +0800 CST

KDE 6:导出 Kwin 脚本和窗口装饰?

  • 5

我必须进行导出,因为我一直在尝试使用 Linux。我知道保存了许多设置~/.config/,但其中似乎不包括 Kwin 脚本或窗口装饰本身,因此我必须在新的 KDE 安装中重新安装它们。我查看了 konsave 之类的工具,但那只适用于点文件。

kde
  • 1 个回答
  • 18 Views
Martin Hope
jophuh
Asked: 2025-01-12 04:18:22 +0800 CST

如何永久修改 Flatpak .desktop 文件

  • 5

我使用的是带有 Plasma 的 KDE Ubuntu。我喜欢用相关描述来编辑我的应用程序。作为示例,下面是 GIMPs.desktop文件中的一段代码:

Name=GNU Image Manipulation Program
Comment=Image Editor
...

我将进入文件夹.desktop中的文件~/.local/share/applications/并将描述更改为类似

Name=GNU Image Manipulation Program
Comment=Image Editor and Photo Editor
...

这样,如果我不记得我的照片编辑器的名称,我只需photo在 KDE 开始菜单中输入它,就会出现 GIMP 条目。

这个方法很好用,但是我认为它不适用于我的 Flatpaks,原因有二:

  1. Flatpak.desktop文件是我的文件夹中的符号链接~/.local/share/applications/。
  2. 实际的 Flatpak.desktop文件存储在/var/lib/flatpak/app/...文件夹中,每次更新 Flatpak 时,更改似乎都会被覆盖。

.desktop更改 Flatpak条目(名称和/或描述)并使更改永久生效的最佳方法是什么?或者,如何使用我应用的标签(例如将photo标签应用于 GIMP 程序)在 KDE 中搜索应用程序名称?

kde
  • 1 个回答
  • 134 Views
Martin Hope
Bruni
Asked: 2024-10-22 16:14:09 +0800 CST

升级到 Kubuntu 24.10 后 Dolphin 服务消失

  • 5

Plasma 6.1 上的 Dolphin 是否仍支持 Dolphin 服务?升级后,我安装的服务不再可用。

kde
  • 1 个回答
  • 20 Views
Martin Hope
xii69
Asked: 2024-07-06 16:07:30 +0800 CST

安装了 KDE 但未配置显示管理器

  • 5

我刚刚安装kde-full并在安装后选择sddm作为显示管理器,但我没有注销并将桌面环境更改为 KDE 并重新启动,现在当我启动我的 Ubuntu 时我看到黑屏。

kde
  • 1 个回答
  • 45 Views
Martin Hope
Kai Neergård
Asked: 2024-06-15 03:29:51 +0800 CST

Okular 窗口无法打开

  • 8

几天前更新后,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 中断之前没有发生任何其他事情。仅输入

$ 奥克拉尔

只会出现警告。不会出现任何程序窗口。

kde
  • 1 个回答
  • 128 Views
Martin Hope
Tony Prajapati
Asked: 2024-04-20 14:37:23 +0800 CST

自动删除 ca 证书后启动到 Ubuntu KDE 中的 tty1 屏幕

  • 5

我在更新 Ubuntu 时遇到了问题。证书验证失败,于是上网查找。然后根据我自己的逻辑和一些论坛上的一些答案。我运行了以下命令:

sudo apt autoremove ca-certificates

现在,重新启动电脑后,我看到的是 tty1 屏幕,而不是正常的登录屏幕。我多次尝试按键盘组合 Ctrl+Shift+F7-或-F8。有谁知道这是什么以及如何解决它?

我正在使用 Ubuntu 和 KDE Plasma Desktop 全套套件。我已经卸载了 GNOME。

尝试后

sudo apt update && sudo apt install ubuntu-desktop

这就是我得到的:

在此输入图像描述

kde
  • 1 个回答
  • 56 Views
Martin Hope
reneas
Asked: 2024-01-31 22:20:05 +0800 CST

KDE Discover 启动时不显示奇怪的错误消息

  • 5

我刚刚在我的笔记本电脑上安装了 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 ?? ()
kde
  • 1 个回答
  • 41 Views
Martin Hope
jan
Asked: 2023-10-17 21:18:38 +0800 CST

如何在 Windows 10 Hyper V 上的 Ubuntu 22.04 中通过 XRDP 启用 KDE?

  • 5

我通过快速创建安装了 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

然而仍然不工作。

kde
  • 1 个回答
  • 47 Views
Martin Hope
Ahmed Khaldoon
Asked: 2023-07-12 05:39:26 +0800 CST

我删除了 KDE 等离子桌面并卡在命令屏幕中

  • 6

我是 Linux 新手。我刚刚安装了 Ubuntu,在删除 KDE Plasma 桌面并重新启动系统后。我被困在黑色的命令屏幕中。不知道如何进入默认的 Ubuntu 桌面屏幕。

kde
  • 1 个回答
  • 16 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve