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-4272

heynnema's questions

Martin Hope
heynnema
Asked: 2025-01-10 00:49:37 +0800 CST

geoclue[3863]: 无法查询位置:查询位置 SOUP 错误:未找到

  • 6

我的 Ubuntu 24.10 上的/var/log/syslog充满了以下 geoclue 错误:

geoclue[3863]: Failed to query location: Query location SOUP error: Not Found

要查看系统上的错误,请执行以下操作:

grep SOUP /var/log/syslog*

这是因为Mozilla Location Service2024 年 6 月 12 日关闭。

https://bugzilla.redhat.com/show_bug.cgi?id=2284621

Google 有类似的定位服务,但它需要 Google API 和配置文件编辑。

有没有办法修复我的位置服务并摆脱持续出现的错误消息?

geolocation
  • 1 个回答
  • 62 Views
Martin Hope
heynnema
Asked: 2024-10-15 06:25:23 +0800 CST

Wayland 和 Nvidia 下的 Ubuntu 24.10

  • 7
Ubuntu 24.10
Wayland
Nvidia MX330
Nvidia 560.35.03

我被告知,运行 Nvidia 卡的先前问题已在 Ubuntu 24.10 中的 Wayland 下得到修复。

因此我从 24.04 升级到 24.10 并在 Xorg 下运行,解决了一些升级问题,并且它似乎运行良好。

然后我启用了 Wayland。虽然出现了一些小问题,但运行良好。我决定将 Nvidia 置于“性能模式”,一切似乎都很好,直到我检查nvidia-smi并注意到只有 Nvidiagnome-shell正在加速。

在这里我通过 CLI 显示选择了 Nvidia 性能模式...

在此处输入图片描述

这里显示了 Xorg 下的性能模式的 GUI…… 在此处输入图片描述

这是nvidia-smi在 Xorg 下运行的...请注意加速的全部进程...而在 Wayland 下它只显示gnome-shell...

在此处输入图片描述

所以我的问题是...这是 Wayland 还是 Nvidia 的问题?我可以采取哪些步骤来进一步排除故障并修复它?

更新:所以我从 24.04 升级到 24.10 并在 Xorg 下运行,解决了一些升级问题,并且它似乎运行良好。

我发现在“性能模式”下,我无法在 Xorg 中打开桌面上的文件夹。“按需”模式则工作正常。

nvidia
  • 2 个回答
  • 758 Views
Martin Hope
heynnema
Asked: 2024-10-07 09:20:07 +0800 CST

Ubuntu 24.04 每次启动/重启时都会进行 fsck

  • 6

每次我启动/重新启动计算机时,它都会运行fsck,但我不知道为什么。

如果我启动到 Ubuntu USB 驱动器,并在我的 Linux 分区上手动运行fsck,它就会清理干净。

以下是我的超级块。我尝试更改“最大安装数”和“检查间隔”,但行为没有变化。

知道为什么会发生这种情况吗?

$ sudo tune2fs -l /dev/nvme0n1p6

tune2fs 1.47.0 (5-Feb-2023)
Filesystem volume name:   Ubuntu
Last mounted on:          /
Filesystem UUID:          f0db2226-e28d-46dd-9b5a-457c87987ed2
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              40845312
Block count:              163380224
Reserved block count:     8169011
Overhead clusters:        2844802
Free blocks:              57597994
Free inodes:              40012689
First block:              0
Block size:               4096
Fragment size:            4096
Group descriptor size:    64
Reserved GDT blocks:      1024
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
RAID stride:              4
RAID stripe width:        32
Flex block group size:    16
Filesystem created:       Fri Sep 24 20:06:49 2021
Last mount time:          Sun Oct  6 17:47:34 2024
Last write time:          Sun Oct  6 18:01:39 2024
Mount count:              5
Maximum mount count:      23
Last checked:             Sun Oct  6 10:00:35 2024
Check interval:           0 (<none>)
Lifetime writes:          10 TB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:           256
Required extra isize:     32
Desired extra isize:      32
Journal inode:            8
First orphan inode:       17714152
Default directory hash:   half_md4
Directory Hash Seed:      7e1d3c28-3106-4408-8132-4b574d84a675
Journal backup:           inode blocks
Checksum type:            crc32c
Checksum:                 0xce551aef
boot
  • 1 个回答
  • 125 Views
Martin Hope
heynnema
Asked: 2024-05-23 08:28:02 +0800 CST

背光/亮度在 Dell 7700 AIO 上的 Ubuntu 23.10/24.04 中不起作用

  • 7
Ubuntu 23.10/24.04
Dell Inspiron 7700 AIO
6.5.0-35-generic/6.8.0-31-generic
X11

最近的一些 23.10/24.04 更新破坏了我的系统。亮度滑块不再可见。并且该目录/sys/class/backlight/是空的。

dell_uart_backlight我的 24.04 系统上未加载背光驱动程序。它甚至没有出现在 24.04 发行版中。

如果我启动到 Ubuntu 23.10.1 闪存驱动器,一切正常。所以从23.10.1版本开始就出现了这个问题。


[更新] 事实证明,启动到 23.10.1 闪存驱动器只能部分解决问题。出现亮度滑块,但移动时它实际上不会更新屏幕亮度。启动到 23.04 闪存驱动器,一切都按预期工作。


[更新]计算机 Dell OptiPlex 7780 AIO 更新至 Ubuntu 23.10 后亮度控制不再工作

该命令gdbus call --session --dest org.gnome.SettingsDaemon.Power --object-path /org/gnome/SettingsDaemon/Power --method org.gnome.SettingsDaemon.Power.Screen.StepUp返回:

GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._gsd_5fpower_5fmanager_5ferror.Code1:找不到可用的背光!


[更新] 添加acpi_backlight=vendor内核参数/etc/default/grub没有什么区别。


[更新]我可以使用以下 xrandr 命令设置背光亮度:

xrandr --输出 HDMI-1 --亮度 0.85


[更新] 我的 24.04 系统上似乎dell_uart_backlight缺少驱动程序。

ls -alR /lib/modules/6.5.0-35-generic/ | grep dell
-rw-r--r--   1 root root 13689 Apr 26 02:32 dell-smm-hwmon.ko.zst
drwxr-xr-x  3 root root  4096 May 15 19:10 dell
/lib/modules/6.5.0-35-generic/kernel/drivers/platform/x86/dell:
-rw-r--r-- 1 root root 18647 Apr 26 02:32 dell-laptop.ko.zst
-rw-r--r-- 1 root root  6158 Apr 26 02:32 dell-rbtn.ko.zst
-rw-r--r-- 1 root root  8431 Apr 26 02:32 dell_rbu.ko.zst
-rw-r--r-- 1 root root 13963 Apr 26 02:32 dell-smbios.ko.zst
-rw-r--r-- 1 root root  4432 Apr 26 02:32 dell-smo8800.ko.zst
-rw-r--r-- 1 root root  7762 Apr 26 02:32 dell-uart-backlight.ko.zst
-rw-r--r-- 1 root root  3799 Apr 26 02:32 dell-wmi-aio.ko.zst
-rw-r--r-- 1 root root  9209 Apr 26 02:32 dell-wmi-ddv.ko.zst
-rw-r--r-- 1 root root  4532 Apr 26 02:32 dell-wmi-descriptor.ko.zst
-rw-r--r-- 1 root root 11198 Apr 26 02:32 dell-wmi.ko.zst
-rw-r--r-- 1 root root  3115 Apr 26 02:32 dell-wmi-led.ko.zst
drwxr-xr-x 2 root root  4096 May 15 19:10 dell-wmi-sysman
/lib/modules/6.5.0-35-generic/kernel/drivers/platform/x86/dell/dell-wmi-sysman:
-rw-r--r-- 1 root root 18312 Apr 26 02:32 dell-wmi-sysman.ko.zst

ls -alR /lib/modules/6.8.0-31-generic/ | grep dell
-rw-r--r--   1 root root 15140 Apr 19 14:46 dell-smm-hwmon.ko.zst
drwxr-xr-x  3 root root  4096 May 25 10:15 dell
/lib/modules/6.8.0-31-generic/kernel/drivers/platform/x86/dell:
-rw-r--r-- 1 root root 18629 Apr 19 14:46 dell-laptop.ko.zst
-rw-r--r-- 1 root root  6180 Apr 19 14:46 dell-rbtn.ko.zst
-rw-r--r-- 1 root root  8582 Apr 19 14:46 dell_rbu.ko.zst
-rw-r--r-- 1 root root 14726 Apr 19 14:46 dell-smbios.ko.zst
-rw-r--r-- 1 root root  4433 Apr 19 14:46 dell-smo8800.ko.zst
-rw-r--r-- 1 root root  3790 Apr 19 14:46 dell-wmi-aio.ko.zst
-rw-r--r-- 1 root root  9166 Apr 19 14:46 dell-wmi-ddv.ko.zst
-rw-r--r-- 1 root root  4492 Apr 19 14:46 dell-wmi-descriptor.ko.zst
-rw-r--r-- 1 root root 11306 Apr 19 14:46 dell-wmi.ko.zst
-rw-r--r-- 1 root root  3108 Apr 19 14:46 dell-wmi-led.ko.zst
drwxr-xr-x 2 root root  4096 May 25 10:15 dell-wmi-sysman
/lib/modules/6.8.0-31-generic/kernel/drivers/platform/x86/dell/dell-wmi-sysman:
-rw-r--r-- 1 root root 18307 Apr 19 14:46 dell-wmi-sysman.ko.zst

删除acpi_backlight=vendor没有/dev/default/grub区别。但是,添加acpi_backlight=video为我提供了适当的文件/sys/class/backlight,现在我得到了一个亮度滑块...尽管更改滑块实际上并没有改变亮度。


[更新] 提交错误报告https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2067498


23.10
  • 1 个回答
  • 122 Views
Martin Hope
heynnema
Asked: 2024-02-22 06:52:50 +0800 CST

Ubuntu 23.10 - 显示颜色校准问题

  • 8

我正在尝试调整液晶视频显示器的颜色校准。

我买了一个Datacolor Spyder X Pro色差计,应该是支持的。

我安装了argyll2.3.1 及其支持文件colord-sensor-argyll1.4.6-3、2.1-2、3.36.0-2和3.9.11-1 icc-profiles。gnome-color-managerdisplaycal

我打开“设置”并转到“该Color部分”,选择我的显示器,然后单击“calibrate按钮”。我执行以下步骤... 在此输入图像描述 在此输入图像描述 在此输入图像描述 在此输入图像描述 在此输入图像描述 在此输入图像描述

这就是我被拦住的地方。开始按钮在哪里?

在此输入图像描述

更新 #1 - 2024 年 2 月 21 日:

这似乎是一个可以追溯到 Ubuntu 22.10 的错误。我听说它在 22.04 中工作正常,但我还没有验证这一点。

后记:我刚刚在 Virtualbox VM 中安装了 22.04,并且在校准过程中,“开始”按钮出现了。

更新 #2 - 2/22/24:

在根据 Daniel T 的答案实现补丁后(感谢顺便说一句),它现在确实得到了一个“开始”按钮,但单击它后,颜色补丁保持白色,并且错误地显示“内部错误”。

从终端和系统日志中查看以下信息。

al@al-Inspiron-7700-AIO:~/Desktop$ sh askubuntu_color_calibration_fix.sh 
09:18:10.5465       cc-color-panel[18961]: WARNING: calibration failed with code 1: Timeout was reached

al@al-Inspiron-7700-AIO:~/Desktop$ cd /var/log
al@al-Inspiron-7700-AIO:/var/log$ tail syslog
2024-02-22T09:18:26.993688-08:00 al-Inspiron-7700-AIO ubuntu-report[3390]: level=error msg="data were not delivered successfully to metrics server, retrying in 120s"
2024-02-22T09:18:35.407512-08:00 al-Inspiron-7700-AIO systemd[3355]: Started app-gnome-org.gnome.Settings-19159.scope - Application launched by gnome-shell.
2024-02-22T09:18:35.707775-08:00 al-Inspiron-7700-AIO gnome-shell[3900]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2c00004
2024-02-22T09:19:21.000134-08:00 al-Inspiron-7700-AIO gnome-shell[3900]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x56149c6b1f90] is on because it needs an allocation.
2024-02-22T09:19:21.000796-08:00 al-Inspiron-7700-AIO gnome-shell[3900]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x56149e0ec310] is on because it needs an allocation.

附注:我有一台带触摸屏的戴尔 AIO。

更新 #3 - 2024 年 2 月 22 日:

这是 Daniel T 的补丁创建的屏幕截图......

在此输入图像描述

更新 #4 - 2024 年 2 月 22 日:

安装后gnome-color-manager,DisplayCAL 工作了。GNOME 设置仍然失败。

display
  • 2 个回答
  • 197 Views
Martin Hope
heynnema
Asked: 2023-04-23 03:10:12 +0800 CST

Ubuntu 23.04 无法从 .iso 完全启动

  • 6

当前运行 Ubuntu 22.10,没有问题。

配置:Dell Inspiron 灵越 7700 AIO。第 11 代 I7。32G内存,最新BIOS。

我尝试“试驾”Ubuntu 23.04 并得到不同的结果......

我做了适当的模组,/etc/grub.d/40_custom就像在下面的代码片段中看到的那样……

menuentry "Ubuntu 23.04 Desktop ISO (external disk)" {
        insmod part_gpt
        insmod ext2
        rmmod tpm
        set root=(hd0,gpt1)
        set isofile="/ubuntu-23.04-desktop-amd64.iso"
        loopback loop $isofile
        linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile quiet splash
        initrd (loop)/casper/initrd
}

这会将 23.04 .iso 文件(带有详细日志记录,我确实看到 SSSD 的 DEPENDS 错误消息)引导到具有纯蓝色的桌面模式(不是 23.04 默认桌面模式),以及仅包含声音图标和顶部菜单栏电池图标。我可以使用快捷菜单连接到我的无线网络。就是这样。没有活动菜单,没有破折号,无法打开终端应用程序,也无法进入应用程序页面。

注意:我使用完全相同的代码片段来启动 22.10 .iso,它工作正常。

现在,有趣的部分是我可以启动到 23.04 USB 闪存驱动器(我使用完全相同的 .iso 文件来构建),并且一切正常!

想法?

iso
  • 1 个回答
  • 32 Views
Martin Hope
heynnema
Asked: 2022-05-10 13:12:32 +0800 CST

密钥存储在旧的trusted.gpg 密钥环(/etc/apt/trusted.gpg)中

  • 35

我刚刚从 Ubuntu 21.10 升级到 22.04。

sudo apt update以以下警告结束...

W: https://linux.teamviewer.com/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://apt.keepsolid.com/ubuntu/dists/groovy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://linux.dropbox.com/ubuntu/dists/disco/Release.gpg: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://download.virtualbox.org/virtualbox/debian/dists/hirsute/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://download.opensuse.org/repositories/home:/IBBoard:/cawbird/xUbuntu_22.04/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://ppa.launchpad.net/solaar-unifying/stable/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

Synaptic在重新加载时显示相同的警告。

审查man apt-key并没有为我澄清这一点。

我认为这是因为 Ubuntu 22.04 已经从使用 /etc/apt/trusted.gpg 转变为使用位于 /etc/apt/trusted.gpg.d 中的单个 .gpg 文件。

这些密钥可以从一个转换为另一个,还是我必须删除这些密钥并重新导入它们?

gnupg
  • 6 个回答
  • 17165 Views
Martin Hope
heynnema
Asked: 2022-04-06 09:13:28 +0800 CST

Wireguard VPN,无法上网

  • 3

我正在试用 Wireguard VPN,虽然我相信我终于可以连接上了,但我无法访问 Internet,并且无法 ping 互联网上的各个站点。

我获取了我的 VPN 供应商提供的 Wireguard .conf 文件,将其重命名,然后将其复制到 /etc/wireguard/wg0.conf。

[Interface]
PrivateKey = redacted
ListenPort = 51820
Address = redacted/32
DNS = 10.100.0.1

[Peer]
PublicKey = redacted
PresharedKey = redacted
AllowedIPs = 0.0.0.0/0
Endpoint = redacted:51820
PersistentKeepalive = 25

如果我这样做sudo wg-quick up wg0,它似乎可以连接,但我无法访问 Internet。

$ sudo wg-快速启动 wg0

[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add redacted/32 dev wg0
[#] ip link set mtu 1420 up dev wg0
[#] resolvconf -a tun.wg0 -m 0 -x
[#] wg set wg0 fwmark 51820
[#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820
[#] ip -4 rule add not fwmark 51820 table 51820
[#] ip -4 rule add table main suppress_prefixlength 0
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
[#] iptables-restore -n

$ sudo wg 显示

interface: wg0
  public key: redacted
  private key: (hidden)
  listening port: 51820
  fwmark: 0xca6c

peer: redacted
  preshared key: (hidden)
  endpoint: redacted:51820
  allowed ips: 0.0.0.0/0
  transfer: 0 B received, 2.89 KiB sent
  persistent keepalive: every 25 seconds

我试过禁用防火墙但没有运气。我试过sysctl -w net.ipv4.ip_forward=1没有运气。

任何想法为什么没有互联网?

vpn
  • 2 个回答
  • 3650 Views
Martin Hope
heynnema
Asked: 2021-12-06 12:30:21 +0800 CST

使用 CLI“邮件”命令

  • 10

问这个问题我觉得有点傻……因为答案可能很简单……但是在 AU 或 Google 上搜索这里,或者man mail,并没有给我答案。

如果我开始mail,我会看到:

"/var/mail/al": 8 messages 8 unread
>U   1 root@al-Inspiron-7 Sun Nov 28 06:01 156/5409  Logwatch for al-Inspiron-
 U   2 root@al-Inspiron-7 Mon Nov 29 06:11 173/6447  Logwatch for al-Inspiron-
 U   3 root@al-Inspiron-7 Tue Nov 30 05:23 149/5261  Logwatch for al-Inspiron-
 U   4 root@al-Inspiron-7 Wed Dec  1 01:53 215/9228  Logwatch for al-Inspiron-
 U   5 root@al-Inspiron-7 Thu Dec  2 02:27 187/7610  Logwatch for al-Inspiron-
 U   6 root@al-Inspiron-7 Fri Dec  3 05:42 204/8129  Logwatch for al-Inspiron-
 U   7 root@al-Inspiron-7 Sat Dec  4 06:37 143/5074  Logwatch for al-Inspiron-
 U   8 root@al-Inspiron-7 Sun Dec  5 07:09 170/5922  Logwatch for al-Inspiron-
?

在我阅读了第一条消息后,我得到了这个:

? h
>R   1 root@al-Inspiron-7 Sun Nov 28 06:01 156/5409  Logwatch for al-Inspiron-
 U   2 root@al-Inspiron-7 Mon Nov 29 06:11 173/6447  Logwatch for al-Inspiron-
 U   3 root@al-Inspiron-7 Tue Nov 30 05:23 149/5261  Logwatch for al-Inspiron-
 U   4 root@al-Inspiron-7 Wed Dec  1 01:53 215/9228  Logwatch for al-Inspiron-
 U   5 root@al-Inspiron-7 Thu Dec  2 02:27 187/7610  Logwatch for al-Inspiron-
 U   6 root@al-Inspiron-7 Fri Dec  3 05:42 204/8129  Logwatch for al-Inspiron-
 U   7 root@al-Inspiron-7 Sat Dec  4 06:37 143/5074  Logwatch for al-Inspiron-
 U   8 root@al-Inspiron-7 Sun Dec  5 07:09 170/5922  Logwatch for al-Inspiron-
?

如果我quitmail和 restart mail,我会看到:

? q
Saved 1 message in /home/al/mbox
Held 7 messages in /var/mail/al
al@al-Inspiron-7700-AIO:~$ mail
"/var/mail/al": 7 messages 7 unread
>U   1 root@al-Inspiron-7 Mon Nov 29 06:11 174/6491  Logwatch for al-Inspiron-
 U   2 root@al-Inspiron-7 Tue Nov 30 05:23 149/5261  Logwatch for al-Inspiron-
 U   3 root@al-Inspiron-7 Wed Dec  1 01:53 215/9228  Logwatch for al-Inspiron-
 U   4 root@al-Inspiron-7 Thu Dec  2 02:27 187/7610  Logwatch for al-Inspiron-
 U   5 root@al-Inspiron-7 Fri Dec  3 05:42 204/8129  Logwatch for al-Inspiron-
 U   6 root@al-Inspiron-7 Sat Dec  4 06:37 143/5074  Logwatch for al-Inspiron-
 U   7 root@al-Inspiron-7 Sun Dec  5 07:09 170/5922  Logwatch for al-Inspiron-
?

如何列出/阅读上一条消息 #1(不再在列表中)?

command-line
  • 1 个回答
  • 853 Views
Martin Hope
heynnema
Asked: 2021-11-30 07:14:26 +0800 CST

Ubuntu 21.10 gnome-terminal 无法正确最大化/取消最大化为原始 80x24 大小

  • 2

Ubuntu 21.10。我gnome-terminal打开一个标准的 80x24 大小的窗口。没关系。

但是,如果我将窗口最大化到显示器的大小 (1920x1080),然后立即取消最大化窗口,它会返回到 80x23 大小的窗口。然后我必须使用gnome-terminal.

而且,实际上,每次我最大化/取消最大化 时gnome-terminal,窗口大小都会减少一行……到 80x22……然后是 80x21……等等。

知道为什么会发生这种情况,是否有修复/解决方法?

gnome-terminal
  • 1 个回答
  • 130 Views
Martin Hope
heynnema
Asked: 2021-11-27 10:34:25 +0800 CST

Ubuntu 21.10 - Thunderbird 91.xx 放弃 (movemail) mbox 支持!

  • 7

我刚刚从 Ubuntu 21.04 升级到 Ubuntu 21.10。

在这里和那里出现一些故障,现在运行正常。

然而,我刚刚发现 Thunderbird 91.xx 删除了 movemail 支持!这意味着我失去了对我的 /var/mail/* mbox 的支持!

除了安装另一个邮件程序(比如可能)之外Evolution,还有什么方法可以再次访问我的 mbox?

thunderbird
  • 1 个回答
  • 665 Views
Martin Hope
heynnema
Asked: 2021-11-04 15:45:37 +0800 CST

21.04 现在缺少“建立链接”Nautilus 扩展功能?

  • 1

我右键单击了一个期望找到“建立链接”选项的文件,但它现在不见了!

有谁知道它去哪儿了?

files
  • 1 个回答
  • 155 Views
Martin Hope
heynnema
Asked: 2021-09-27 06:18:35 +0800 CST

Ubuntu 21.04 新戴尔 Inspiron 灵越 7700 AIO 没有声音

  • 1

我刚刚购买了一台配备第 11 代 i7 CPU 的全新戴尔 Inspiron 灵越 7700 AIO 计算机。安装了 Ubuntu 21.04,它大部分工作正常。但是,内置扬声器没有声音,声音设置面板显示“虚拟输出”作为唯一的输出选项。

我目前连接了蓝牙声音输出设备,并成功使用它进行声音输出,但我更喜欢使用 AIO 的内置扬声器。

关于我可以检查什么的任何想法?

Ubuntu 21.04

内核 5.11.0-36-generic

$ sudo lshw -C 相关输出

  *-cpu                     
       description: CPU
       product: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
       vendor: Intel Corp.
       physical id: 18
       bus info: cpu@0
       version: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
       slot: Socket 0
       size: 1803MHz
       capacity: 4700MHz
       width: 64 bits
       clock: 100MHz

*-multimedia
       description: Audio device
       product: Tiger Lake-LP Smart Sound Technology Audio Controller
       vendor: Intel Corporation
       physical id: 1f.3
       bus info: pci@0000:00:1f.3
       version: 20
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list
       configuration: driver=snd_hda_intel latency=32
       resources: iomemory:600-5ff iomemory:600-5ff irq:131 memory:6013128000-601312bfff memory:6013000000-60130fffff

$ pacmd list-cards

2 card(s) available.
    index: 0
    name: <alsa_card.pci-0000_00_1f.3>
    driver: <module-alsa-card.c>
    owner module: 24
    properties:
        alsa.card = "0"
        alsa.card_name = "HDA Intel PCH"
        alsa.long_card_name = "HDA Intel PCH at 0x6013128000 irq 150"
        alsa.driver_name = "snd_hda_intel"
        device.bus_path = "pci-0000:00:1f.3"
        sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
        device.bus = "pci"
        device.vendor.id = "8086"
        device.vendor.name = "Intel Corporation"
        device.product.id = "a0c8"
        device.product.name = "Tiger Lake-LP Smart Sound Technology Audio Controller"
        device.form_factor = "internal"
        device.string = "0"
        device.description = "Built-in Audio"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"

$ sudo lspci -vvv | grep -A12 音频

00:1f.3 Audio device: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20) (prog-if 80)
    DeviceName: Onboard - Sound
    Subsystem: Dell Tiger Lake-LP Smart Sound Technology Audio Controller
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 32, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 131
    Region 0: Memory at 6013128000 (64-bit, non-prefetchable) [size=16K]
    Region 4: Memory at 6013000000 (64-bit, non-prefetchable) [size=1M]
    Capabilities: [50] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
        Status: D3 NoSoftRst+ PME-Enable+ DSel=0 DScale=0 PME-
    Capabilities: [80] Vendor Specific Information: Len=14 <?>
    Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Address: 00000000fee003b8  Data: 0000
sound
  • 1 个回答
  • 763 Views
Martin Hope
heynnema
Asked: 2021-07-08 13:15:06 +0800 CST

MythTV,以及 MySQL 5.7 与 MySQL 8.0

  • 1

我安装了 MythTV 3.1。有一段时间没用了,所以我想我会玩一会儿。

它的数据库目前使用 MySQL 5.7。

我注意到对于 Ubuntu 21.04,MySQL 8.0 似乎是常态。不知道为什么当我从 20.10 升级到 21.04 时它不会升级。

安装 MySQL 8.0 是否安全(它会自动删除 MySQL 5.7)?

更新:将 MySQL 5.8 的引用更改为 MySQL 8.0。

mysql
  • 2 个回答
  • 133 Views
Martin Hope
heynnema
Asked: 2021-03-22 15:26:03 +0800 CST

Ubuntu 20.xx SAMBA 问题

  • 2

我已经有一段时间没有使用 SAMBA 访问网络共享了。它在 19.xx 中运行良好,但我认为它可能在 20.04 和 20.10 中被破坏(我使用的是 20.10)。

尽管我似乎可以访问路由器上的共享,但我无法访问自己本地计算机上的共享。它会弹出一个错误对话框,并显示有关“无法从服务器检索共享列表”的消息?抱歉,我不记得确切的错误信息。

我想我知道可能是什么问题。出于安全原因,似乎 SMB1 可能已被禁用,但 SMB2/3 可能仍然存在。我不完全知道如何找到这个。

testparm通过了。findsmb并且smbtree没有工作(但他们现在可以,在以下补丁之后)。

我编辑了 /etc/samba/smb.conf 并将以下内容添加到网络部分......

client min protocol = NT1
server min protocol = NT1
name resolve order = bcast host lmhosts wins

重新启动 smbd 和 nmbd,这似乎已经解决了。我认为这重新启用了 SMB1 ......但我在这里不是 SAMBA 专家。

现在smbstatus显示...

Samba version 4.12.5-Ubuntu
PID     Username     Group        Machine                                   Protocol Version  Encryption           Signing              
----------------------------------------------------------------------------------------------------------------------------------------
24943   nobody       nogroup      satellite-e55 (ipv6:fe80::c433:26d6:91d2:3475:59876) NT1               -                    -                    
19177   nobody       nogroup      satellite-e55 (ipv4:192.168.0.100:57868)  NT1               -                    -                    

Service      pid     Machine       Connected at                     Encryption   Signing     
---------------------------------------------------------------------------------------------
IPC$         19177   satellite-e55 Sat Mar 20 07:17:40 PM 2021 PDT  -            -           
IPC$         24943   satellite-e55 Sun Mar 21 07:56:25 AM 2021 PDT  -            -           

No locked files

这是发生了什么,我是否实施了正确/最佳的修复?20.xx 中发生了什么可能导致此问题?

更新#1:

nmap --script smb-protocols IPofServer/32

我的路由器...

~$ nmap --script smb-protocols 192.168.0.1/32
Starting Nmap 7.91 ( https://nmap.org ) at 2021-03-22 07:01 PDT
Nmap scan report for caspurr.local (192.168.0.1)
Host is up (0.012s latency).
Not shown: 986 closed ports
PORT      STATE SERVICE
53/tcp    open  domain
80/tcp    open  http
139/tcp   open  netbios-ssn
445/tcp   open  microsoft-ds
548/tcp   open  afp
631/tcp   open  ipp
5000/tcp  open  upnp
8200/tcp  open  trivnet1
9100/tcp  open  jetdirect
9101/tcp  open  jetdirect
9102/tcp  open  jetdirect
9103/tcp  open  jetdirect
20005/tcp open  btx
49152/tcp open  unknown

Host script results:
| smb-protocols: 
|   dialects: 
|     NT LM 0.12 (SMBv1) [dangerous, but default]
|     2.02
|     2.10
|     3.00
|     3.02
|_    3.11

Nmap done: 1 IP address (1 host up) scanned in 4.21 seconds

我的电脑...

~$ nmap --script smb-protocols 192.168.0.100/32
Starting Nmap 7.91 ( https://nmap.org ) at 2021-03-22 07:03 PDT
Nmap scan report for ubuntu-eth0.local (192.168.0.100)
Host is up (0.00012s latency).
Not shown: 996 closed ports
PORT    STATE SERVICE
80/tcp  open  http
139/tcp open  netbios-ssn
445/tcp open  microsoft-ds
631/tcp open  ipp

Host script results:
| smb-protocols: 
|   dialects: 
|     NT LM 0.12 (SMBv1) [dangerous, but default]
|     2.02
|     2.10
|     3.00
|     3.02
|_    3.11
samba
  • 2 个回答
  • 2122 Views
Martin Hope
heynnema
Asked: 2020-12-09 11:45:05 +0800 CST

如何在 Ubuntu 上查看 iPhone IOS 11+ 中的 .HEIC 照片?

  • 1

朋友向我发送电子邮件,其中包含来自他们 iPhone 的 .HEIC 图片的附件。如何在 Ubuntu 上轻松查看这些图片?

image-processing ios heic
  • 2 个回答
  • 4657 Views
Martin Hope
heynnema
Asked: 2020-11-27 12:09:09 +0800 CST

Python 和 virtualbox 与 virtualbox-6.1

  • 5

virtualbox和有什么区别virtualbox-6.1?

如果您将virtualbox PPA添加到您的系统(通过 /etc/apt/sources.list),您会发现您现在可以安装多个版本的 virtualbox。

deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian focal non-free contrib

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

如 中所示Synaptic Package Manager,您将看到至少三个不同的版本。

在此处输入图像描述

有什么区别,我应该安装哪一个?

virtualbox
  • 2 个回答
  • 1647 Views
Martin Hope
heynnema
Asked: 2020-11-27 08:20:18 +0800 CST

Ubuntu 20.10 桌面图标 gnome-shell 扩展崩溃

  • 1

我刚刚从 Ubuntu 20.04 更新到 20.10,我从 /var/log/syslog 中的 desktop-icons gnome-shell 扩展中看到以下重复错误...

Nov 25 12:55:00 Satellite-E55 gnome-shell[106347]: == Stack trace for context 0x55a90494e220 ==
Nov 25 12:55:00 Satellite-E55 gnome-shell[106347]: #0   7ffe0555f410 b   resource:///org/gnome/gjs/modules/core/overrides/GObject.js:574 (1bb2727a4060 @ 25)
Nov 25 12:55:00 Satellite-E55 gnome-shell[106347]: #1   55a90c9f9128 i   /usr/share/gnome-shell/extensions/desktop-icons@csoriano/desktopGrid.js:212 (362843806ab0 @ 85)
Nov 25 12:55:00 Satellite-E55 gnome-shell[106347]: #2   55a90c9f90a0 i   /usr/share/gnome-shell/extensions/desktop-icons@csoriano/desktopGrid.js:148 (362843806bf0 @ 12)
Nov 25 12:55:00 Satellite-E55 gnome-shell[106347]: #3   55a90c9f9018 i   resource:///org/gnome/shell/ui/main.js:251 (1bb2727bed30 @ 12)

有关如何解决这些崩溃的任何建议?

desktop-icons 20.10
  • 1 个回答
  • 853 Views
Martin Hope
heynnema
Asked: 2020-11-01 13:33:46 +0800 CST

Ubuntu 20.10 sssd(系统安全服务守护进程)失败

  • 14

不知道为什么,他们决定将 sssd(系统安全服务守护进程)添加到标准的 Ubuntu 20.10升级和全新安装中。它无法启动,并生成大量错误消息。它在安装时没有配置,因为它缺少所需的 /etc/sssd/sssd.conf 文件。

SSSD 是一个系统守护进程。它的主要功能是通过可以为系统提供缓存和离线支持的通用框架提供对本地或远程身份和身份验证资源的访问。它提供了多种接口,包括 NSS 和 PAM 模块或 D-Bus 接口。

您可以通过以下方式查看失败:

systemctl status sssd
sssd 20.10
  • 1 个回答
  • 19021 Views
Martin Hope
heynnema
Asked: 2020-09-29 15:23:11 +0800 CST

20.04.1,从交换分区切换到 /swapfile 的问题

  • 6

我决定从使用交换分区切换到使用/swapfile.

但是有一个问题。系统仍在使用交换分区/dev/sda8,而不是/swapfile.

  • 我/swapfile使用适当的dd命令等创建了
  • 我改为/etc/fstab使用/swapfile而不是旧的交换分区
  • 我改变/etc/initramfs-tools/conf.d/resume以反映resume=/swapfile
  • 我检查了/etc/default/grub没有提到恢复或交换

然而,当我做swapon -sor时free -h,它仍然显示/dev/sda8,而不是/swapfile。

我是否需要删除/dev/sda8交换分区才能使其正常工作?

20.04.1 是否使用它找到的任何交换分区,即使它不在/etc/fstab?

更新#1:

只是为了记录我的/swapfile创作过程......

注意:命令使用不当dd会导致数据丢失。建议复制/粘贴。

在终端...

sudo swapoff -a           # turn off swap
sudo rm -i /swapfile      # remove old /swapfile

sudo dd if=/dev/zero of=/swapfile bs=1M count=4096

sudo chmod 600 /swapfile  # set proper file protections
sudo mkswap /swapfile     # init /swapfile
sudo swapon /swapfile     # turn on swap
free -h                   # confirm 16G RAM and 4G swap

/swapfile在...末尾确认此行/etc/fstab并确认没有其他“交换”行...

编辑、使用sudo -H gedit /etc/fstab或sudo pico /etc/fstab

/swapfile  none  swap  sw  0  0

reboot                    # reboot and verify operation

这是我的 /proc/swaps (从今天早上开始更新)...

Filename                Type        Size    Used    Priority
/dev/sda8                               partition   9081852 0   -2

这是我的适当部分/etc/fstab:

# swap was on /dev/sda8 during installation
# UUID=071f8b0e-8e16-4f4d-90ff-a4ae9cc56e2b  none  swap       sw       0       0
/swapfile    none    swap    sw      0   0

这是我的/etc/initramfs-tools/conf.d/resume:

# RESUME=UUID=071f8b0e-8e16-4f4d-90ff-a4ae9cc56e2b
RESUME=/swapfile

sudo update-initramfs -c -k $(uname -r)没有帮助。

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