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
    • 最新
    • 标签
主页 / user-1379110

KneadToKnow's questions

Martin Hope
KneadToKnow
Asked: 2024-10-10 07:40:09 +0800 CST

请帮助解决新升级到 24.04 的 VNC 连接问题

  • 5

我将其中一台 PC 从 22.04.5 升级到 24.04.1,一切似乎都很顺利。但是,使用另一台仍为 22.04.5 的桌面时,我无法像平常一样通过 Remmina 客户端连接到它(LAN 连接、桌面共享、连接到活动会话,这是我需要的条件)。我看到一个黑屏,客户端窗口左上角有一个旋转的“轮子”,上面写着“正在连接到名称”。我还没有等它结束,看看它是否会变成错误,但似乎没有。

我目前所做的:

  • 连接了一个显示器,这样我就能看到发生了什么,我注意到新的连接默认调用端口 3389,所以我在客户端中更改了它(在 IP 地址中添加了:3389)并确保该端口在服务器和客户端的 UFW 中是打开的。
  • 确认我的密码似乎没有改变。
  • 我通过运行 echo $XDG_SESSION_TYPE 确认我正在使用 X11。
  • 我甚至尝试将客户端的协议更改为 RDP,但结果却不同,“无法连接到ip 地址RDP 服务器”。

(编辑以添加我忘记的步骤)。

24.04
  • 1 个回答
  • 45 Views
Martin Hope
KneadToKnow
Asked: 2022-04-20 03:32:04 +0800 CST

我可以将 Ubuntu 22.04 安装到 SSD 进行测试,同时将 20.04 保留在 HDD 上吗?

  • 1

在提示的类似问题中我没有看到这个确切的问题,所以如果之前以不同的形式提出过,请见谅。

我目前的 HDD 上有 20.04,并计划在发布时升级到 22.04(安装到 NVMe SSD)。我想双启动一会儿,这样我就可以测试并确保新设置按我的意愿工作,然后我将完全切换到 SSD 上的 22.04 并放弃双启动。任何人都可以建议处理这个问题的最佳方法吗?

谢谢!

编辑补充:从一些评论中,我意识到我没有足够清楚地说明我的问题不是关于测试阶段,而是关于从 HDD 迁移到 SSD 引导驱动器之间的双引导阶段.

我仍在寻找在双启动阶段 GRUB 应该放在哪里的问题是否有明确的答案:我应该在安装 22.04 时将 GRUB 放在 SSD 上,还是在移除 HDD 时等待将其移到那里?

dual-boot
  • 1 个回答
  • 556 Views
Martin Hope
KneadToKnow
Asked: 2022-03-09 08:29:56 +0800 CST

可以在 XSane 中禁用/隐藏两个扫描仪选项之一吗?

  • 1

经过一段时间的努力,我终于让我的佳能 LiDE 400 扫描仪在 Ubuntu 21.10 上运行,但现在我遇到了相反的问题。当我启动 XSane 时,当我只有 1 个扫描仪时,它让我在 2 个扫描仪之间进行选择。

scanimage -L 提供相同的“2”扫描仪,并且更易于复制和粘贴,因此我将显示该输出:

device `escl:http://localhost:60000' is a Canon LiDE 400 (USB) platen scanner
device `airscan:e0:Canon LiDE 400 (USB)' is a eSCL Canon LiDE 400 (USB) ip=127.0.0.1

我已经对两者进行了测试,它们似乎都可以正常工作,我只想不必选择当我实际上只有一台扫描仪时。

请让我知道我可以提供哪些其他信息,以及是否有任何理由更喜欢这些选项中的一个而不是另一个。

scanner
  • 1 个回答
  • 120 Views
Martin Hope
KneadToKnow
Asked: 2021-12-18 06:13:58 +0800 CST

需要帮助解决不断崩溃的问题

  • 3

Ubuntu 21.10 桌面,AMD Ryzen 5 3600 (3.6 GHz),64 GB RAM

我在使用 Wayland 和没有使用 Wayland 时都遇到了这个问题。

所有崩溃情况的共同点是 Firefox(默认 Snap 安装)。有时只是 Firefox 会崩溃,但有时会导致我的整个系统崩溃。有时我会看到 Firefox 崩溃报告屏幕,有时我会在 Ubuntu 登录屏幕上结束,有时系统会冻结到只有硬重置才能工作的程度。

我在 Firefox 中找到了“about:crashes”页面,发现最近两周左右的崩溃报告没有提交,所以我现在已经提交了所有这些。

当我查看 /var/log/syslog 时,我看到太多我不理解的内容,但如果有人能告诉我要查找的内容,我会很乐意发布。

提前致谢。

根据要求在下面进行编辑。CPU或RAM没有超频。

ls -al /var/crash

total 12
drwxrwsrwt  2 root     whoopsie 4096 Dec 16 07:38 .
drwxr-xr-x 16 root     root     4096 Dec 15 20:32 ..
-rw-r--r--  1 robert   whoopsie    0 Dec 14 06:46 _usr_lib_xorg_Xorg.1000.upload
-rw-------  1 whoopsie whoopsie   37 Dec 14 06:46 _usr_lib_xorg_Xorg.1000.uploaded

sudo lshw -C 内存

  *-firmware
       description: BIOS
       vendor: American Megatrends Inc.
       physical id: 0
       version: P1.70
       date: 12/01/2020
       size: 64KiB
       capacity: 16MiB
       capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
  *-memory
       description: System Memory
       physical id: f
       slot: System board or motherboard
       size: 64GiB
     *-bank:0
          description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
          product: F4-3200C16-16GVK
          vendor: Unknown
          physical id: 0
          serial: 00000000
          slot: DIMM 0
          size: 16GiB
          width: 64 bits
          clock: 2133MHz (0.5ns)
     *-bank:1
          description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
          product: F4-3200C16-16GVK
          vendor: Unknown
          physical id: 1
          serial: 00000000
          slot: DIMM 1
          size: 16GiB
          width: 64 bits
          clock: 2133MHz (0.5ns)
     *-bank:2
          description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
          product: F4-3200C16-16GVK
          vendor: Unknown
          physical id: 2
          serial: 00000000
          slot: DIMM 0
          size: 16GiB
          width: 64 bits
          clock: 2133MHz (0.5ns)
     *-bank:3
          description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
          product: F4-3200C16-16GVK
          vendor: Unknown
          physical id: 3
          serial: 00000000
          slot: DIMM 1
          size: 16GiB
          width: 64 bits
          clock: 2133MHz (0.5ns)
  *-cache:0
       description: L1 cache
       physical id: 12
       slot: L1 - Cache
       size: 384KiB
       capacity: 384KiB
       clock: 1GHz (1.0ns)
       capabilities: pipeline-burst internal write-back unified
       configuration: level=1
  *-cache:1
       description: L2 cache
       physical id: 13
       slot: L2 - Cache
       size: 3MiB
       capacity: 3MiB
       clock: 1GHz (1.0ns)
       capabilities: pipeline-burst internal write-back unified
       configuration: level=2
  *-cache:2
       description: L3 cache
       physical id: 14
       slot: L3 - Cache
       size: 32MiB
       capacity: 32MiB
       clock: 1GHz (1.0ns)
       capabilities: pipeline-burst internal write-back unified
       configuration: level=3

sysctl vm.swappiness

vm.swappiness = 60

免费-h

               total        used        free      shared  buff/cache   available
Mem:            62Gi       5.6Gi       1.2Gi       179Mi        55Gi        56Gi
Swap:           71Gi        17Mi        71Gi

交换-s

Filename                Type        Size    Used    Priority
/dev/sdb1            partition  75497468    17536   -2

2021 年 12 月 19 日更新

ls -al /var/crash

total 3204
drwxrwsrwt  2 root     whoopsie    4096 Dec 19 12:41 .
drwxr-xr-x 16 root     root        4096 Dec 19 12:38 ..
-rw-r--r--  1 robert   whoopsie       0 Dec 19 12:41 _opt_google_chrome_chrome.1000.upload
-rw-------  1 whoopsie whoopsie      37 Dec 19 12:41 _opt_google_chrome_chrome.1000.uploaded
-rw-r--r--  1 robert   whoopsie       0 Dec 19 12:41 _usr_bin_gnome-shell.1000.upload
-rw-------  1 whoopsie whoopsie      37 Dec 19 12:41 _usr_bin_gnome-shell.1000.uploaded
-rw-r-----  1 robert   whoopsie 3254690 Dec 19 12:41 _usr_bin_Xwayland.1000.crash
-rw-r--r--  1 robert   whoopsie       0 Dec 19 12:41 _usr_bin_Xwayland.1000.upload
-rw-------  1 whoopsie whoopsie      37 Dec 19 12:41 _usr_bin_Xwayland.1000.uploaded
-rw-r--r--  1 robert   whoopsie       0 Dec 14 06:46 _usr_lib_xorg_Xorg.1000.upload
-rw-------  1 whoopsie whoopsie      37 Dec 14 06:46 _usr_lib_xorg_Xorg.1000.uploaded

ls -al ~/.local/share/gnome-shell/extensions

total 16
drwxrwxr-x 4 robert robert 4096 Dec 13 11:52 .
drwx------ 4 robert robert 4096 Dec 19 16:19 ..
drwxrwxr-x 4 robert robert 4096 Dec 14 06:47 date-menu-formatter@marcinjakubowski.github.com
drwxrwxr-x 5 robert robert 4096 Dec  3 08:19 sensory-perception@HarlemSquirrel.github.io

ls -al /usr/share/gnome-shell/extensions

total 20
drwxr-xr-x 5 root root 4096 May 14  2021 .
drwxr-xr-x 7 root root 4096 Oct 16 19:13 ..
drwxr-xr-x 2 root root 4096 Oct 16 18:49 ding@rastersoft.com
drwxr-xr-x 3 root root 4096 Oct 16 18:49 ubuntu-appindicators@ubuntu.com
drwxr-xr-x 3 root root 4096 Oct 16 18:50 ubuntu-dock@ubuntu.com
crash
  • 1 个回答
  • 222 Views
Martin Hope
KneadToKnow
Asked: 2021-08-28 11:25:06 +0800 CST

我有 Ubuntu 20.04.3 但没有 Linux 5.11,怎么了?[复制]

  • 4
这个问题在这里已经有了答案:
如何列出 LTS HWE 的当前内核版本是什么? (2 个回答)
去年关闭。

我已经确认我使用 lsb_release -a 将点发布更新到 20.04.3 LTS,但 uname -r 显示我的内核仍在 5.4.0-81-generic 上。我不应该在 5.11 上吗?我运行 Ubuntu 21.04 的机器在 5.11.0-31-generic 上。

我在这里找到了一个旧线程,它建议使用 apt 安装 linux-generic,但我想确保它仍然是个好建议。

20.04
  • 2 个回答
  • 6868 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