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

shinobody's questions

Martin Hope
shinobody
Asked: 2021-03-19 00:30:03 +0800 CST

source.list 中的错字?

  • 0

当我尝试使用 apt 添加存储库时,我收到一条消息,说明 sources.list 中可能存在拼写错误,说它没有找到“重新限制”的组件。我手动编辑了所有这些行以说“受限制”(当然是在备份原始版本之后) - 这修复了它,只是为了遇到不同的错字。

W: Skipping acquire of configured file 'partner/source/Sources' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partner' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/binary-amd64/Packages' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/binary-i386/Packages' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/i18n/Translation-en_US' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/i18n/Translation-en' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/dep11/Components-amd64.yml' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/dep11/icons-48x48.tar' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/dep11/icons-64x64.tar' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/dep11/[email protected]' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/cnf/Commands-amd64' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)

我假设“合作伙伴”应该是“合作伙伴”,但第一行证明情况并非如此,因为它也找不到组件“合作伙伴”。解决这个问题是否值得,或者没有它,存储库将正常工作?

有什么办法可以检查这实际上应该说什么?

apt software-sources
  • 1 个回答
  • 178 Views
Martin Hope
shinobody
Asked: 2021-02-27 07:57:38 +0800 CST

当 RAM 使用量激增时,Ubuntu 冻结

  • 0

这个问题持续了一段时间,但是当我从 18.04 升级到 20.04 后,感觉它变得非常频繁(而不是偶尔发生,几乎每天都会发生)。

每当事情发生时——在我看来就像是当 RAM 使用率变高时(我见过人们描述磁盘 I/O 的类似问题,但情况似乎并非如此)——系统边界冻结。第一分钟,系统会剧烈地跳动,我有一个短暂的机会来移动现在紧张的鼠标光标,以快速关闭导致问题的浏览器选项卡或应用程序。如果我不这样做,此时系统几乎永久冻结,顶部栏上的系统时钟停止更新,无论发生什么都不会解冻,我需要进行硬重置。

以前,当我打开太多选项卡时,这经常在 Firefox 上发生,但我安装了一个选项卡限制器扩展来缓解这种情况。但它一直在发生,当我在 GIMP 中处理更大的图像时,它会发生(有时),当我浏览一些无限滚动的网站时,比如 DeviantArt 重新设计或一些视频网站。我刚刚在 GIMP 中处理的像素艺术作品失去了半小时的进度。

这使我的系统使用起来真的很烦人。我不想这么说,但我在双启动中使用的 Windows 10 更稳定 - 这就是说,因为 W10 是我用过的最糟糕的操作系统。

这是一个 inxi -F 转储:

System:
  Host: shino-ProLiant-ML310-G5p Kernel: 5.4.0-66-generic x86_64 bits: 64 
  Desktop: Gnome 3.36.4 Distro: Ubuntu 20.04.2 LTS (Focal Fossa) 
Machine:
  Type: Desktop System: HP product: ProLiant ML310 G5p v: N/A 
  serial: <superuser/root required> 
  Mobo: N/A model: N/A serial: N/A BIOS: HP v: W08 date: 10/25/2010 
CPU:
  Topology: Dual Core model: Intel Xeon E3120 bits: 64 type: MCP 
  L2 cache: 6144 KiB 
  Speed: 1995 MHz min/max: N/A Core speeds (MHz): 1: 1995 2: 1995 
Graphics:
  Device-1: AMD ES1000 driver: N/A 
  Device-2: NVIDIA G86 [Quadro NVS 290] driver: nvidia v: 340.108 
  Display: x11 server: X.Org 1.20.9 driver: nvidia 
  unloaded: fbdev,modesetting,nouveau,vesa resolution: 1440x900~75Hz 
  OpenGL: renderer: Quadro NVS 290/PCIe/SSE2 v: 3.3.0 NVIDIA 340.108 
Audio:
  Device-1: Generalplus type: USB driver: hid-generic,snd-usb-audio,usbhid 
  Sound Server: ALSA v: k5.4.0-66-generic 
Network:
  Device-1: Broadcom and subsidiaries NetXtreme BCM5715 Gigabit Ethernet 
  driver: tg3 
  IF: enp3s4f0 state: down mac: 9c:8e:99:35:15:80 
  Device-2: Broadcom and subsidiaries NetXtreme BCM5715 Gigabit Ethernet 
  driver: tg3 
  IF: enp3s4f1 state: up speed: 1000 Mbps duplex: full 
  mac: 9c:8e:99:35:15:81 
Drives:
  Local Storage: total: 1.82 TiB used: 594.46 GiB (31.9%) 
  ID-1: /dev/sda model: LOGICAL VOLUME size: 1.82 TiB 
RAID:
  Hardware-1: Hewlett-Packard Smart Array G6 controllers driver: hpsa 
Partition:
  ID-1: / size: 910.88 GiB used: 594.46 GiB (65.3%) fs: ext4 dev: /dev/sda5 
Sensors:
  System Temperatures: cpu: 40.0 C mobo: N/A gpu: nvidia temp: 68 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 288 Uptime: 2h 17m Memory: 3.84 GiB used: 2.86 GiB (74.6%) 
  Shell: bash inxi: 3.0.38 
20.04
  • 1 个回答
  • 1379 Views
Martin Hope
shinobody
Asked: 2019-12-05 10:10:40 +0800 CST

鼠标光标自行移动和点击 Ubuntu 18.04

  • 2

我的鼠标光标有时似乎决定随机单击-左右-并四处移动。这不是由鼠标本身引起的,因为它只发生在 Ubuntu 上(我在 Windows 10 上使用双启动)并且不管使用的是什么鼠标(当鼠标插入不同的 Ubuntu 18.04 计算机时也不会发生) . 我能想到的唯一值得注意的是,我正在使用一种古老的 Wacom Bamboo Pen and Fun 平板电脑,它不再适用于 Windows,但不知何故仍然适用于 Ubuntu。但是,即使没有插入平板电脑,问题也会发生,所以也许不是这样。

一旦问题开始发生(可能需要几个小时或 10 分钟,这似乎完全随机),除了重新启动之外没有其他方法可以阻止它,这非常烦人。

平板电脑关闭时的 xinput 输出:

xinput
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ MEDION MEDION MD86825 USB Gaming Keyboard Consumer Control    id=10   [slave  pointer  (2)]
⎜   ↳ MEDION MEDION MD86825 USB Gaming Keyboard Mouse   id=12   [slave  pointer  (2)]
⎜   ↳ HP Virtual Keyboard                       id=14   [slave  pointer  (2)]
⎜   ↳ PixArt USB Optical Mouse                  id=8    [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ GeneralPlus USB Audio Device              id=7    [slave  keyboard (3)]
    ↳ MEDION MEDION MD86825 USB Gaming Keyboard id=9    [slave  keyboard (3)]
    ↳ MEDION MEDION MD86825 USB Gaming Keyboard System Control  id=11   [slave  keyboard (3)]
    ↳ HP Virtual Keyboard                       id=13   [slave  keyboard (3)]
    ↳ MEDION MEDION MD86825 USB Gaming Keyboard Consumer Control    id=15   [slave  keyboard (3)]

插入平板电脑的 xinput 输出,以防相关:

xinput
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ MEDION MEDION MD86825 USB Gaming Keyboard Consumer Control    id=10   [slave  pointer  (2)]
⎜   ↳ MEDION MEDION MD86825 USB Gaming Keyboard Mouse   id=12   [slave  pointer  (2)]
⎜   ↳ HP Virtual Keyboard                       id=14   [slave  pointer  (2)]
⎜   ↳ PixArt USB Optical Mouse                  id=8    [slave  pointer  (2)]
⎜   ↳ Wacom BambooPT 2FG 4x5 Pen stylus         id=16   [slave  pointer  (2)]
⎜   ↳ Wacom BambooPT 2FG 4x5 Pen eraser         id=17   [slave  pointer  (2)]
⎜   ↳ Wacom BambooPT 2FG 4x5 Pad pad            id=18   [slave  pointer  (2)]
⎜   ↳ Wacom BambooPT 2FG 4x5 Finger touch       id=19   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ GeneralPlus USB Audio Device              id=7    [slave  keyboard (3)]
    ↳ MEDION MEDION MD86825 USB Gaming Keyboard id=9    [slave  keyboard (3)]
    ↳ MEDION MEDION MD86825 USB Gaming Keyboard System Control  id=11   [slave  keyboard (3)]
    ↳ HP Virtual Keyboard                       id=13   [slave  keyboard (3)]
    ↳ MEDION MEDION MD86825 USB Gaming Keyboard Consumer Control    id=15   [slave  keyboard (3)]

编辑:我认为我的键盘被命名为指针设备的事实是可疑的,所以我尝试使用xinput --disable禁用这两个设备。但是,它没有用,几个小时后问题又恢复了。

编辑 2:我忘了提,但每当出现问题时,还会发生我的扬声器发出的声音会出现故障。我正在使用插入 USB 集线器的 USB 声卡,因为我的计算机没有内置声卡。我的鼠标也插入了同一个 USB 集线器。(请注意,问题仍然只发生在 Ubuntu 上)我将鼠标切换到常规 USB 端口,我们将看看问题是否会持续存在。

mouse wacom 18.04
  • 1 个回答
  • 2588 Views
Martin Hope
shinobody
Asked: 2019-09-09 04:07:28 +0800 CST

Ubuntu 18.04 以太网无法连接

  • 0

我的 Ubuntu 18.04 拒绝通过以太网连接到互联网。无论我做什么和尝试,我的互联网连接似乎在 90% 的时间都无法正常工作,而且我没有 wifi 适配器。

我尝试了这个解决方案:以太网无法连接(18.04.2) - 它工作了......一次。然后再也没有。

作为记录,我的以太网电缆插入了另一端的路由器,而路由器使用的是移动 LTE 互联网,这有点不可靠。而且我确实弄乱了试图修复它的设置,但问题从安装一开始就一直存在 - 虽然以前互联网有时可以工作,但最近它似乎从来没有工作过。

试图ping 8.8.8.8 导致:

connect: Network is unreachable

键入ifconfig -a结果:

enp3s4f0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 9c:8e:99:35:15:80  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  

enp3s4f1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::5db5:ba12:c784:52de  prefixlen 64  scopeid 0x20<link>
        ether 9c:8e:99:35:15:81  txqueuelen 1000  (Ethernet)
        RX packets 10  bytes 736 (736.0 B)
        RX errors 168  dropped 0  overruns 0  frame 407
        TX packets 133  bytes 23931 (23.9 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 17  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 1373  bytes 97213 (97.2 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1373  bytes 97213 (97.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

打字sudo service networking start结果如下:

Job for networking.service failed because the control process exited with error code.
See "systemctl status networking.service" and "journalctl -xe" for details.

键入这些命令会导致:

打字systemctl status networking.service

networking.service - Raise network interfaces
   Loaded: loaded (/lib/systemd/system/networking.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2019-09-08 13:48:04 CEST; 2min 44s ago
     Docs: man:interfaces(5)
  Process: 2560 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
  Process: 2558 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environmen
 Main PID: 2560 (code=exited, status=1/FAILURE)

wrz 08 13:48:04 shino-ProLiant-ML310-G5p systemd[1]: Starting Raise network interfaces...
wrz 08 13:48:04 shino-ProLiant-ML310-G5p sh[2558]: /etc/network/interfaces:2: misplaced option
wrz 08 13:48:04 shino-ProLiant-ML310-G5p sh[2558]: ifquery: couldn't read interfaces file "/etc/network/interfac
wrz 08 13:48:04 shino-ProLiant-ML310-G5p ifup[2560]: /etc/network/interfaces:2: misplaced option
wrz 08 13:48:04 shino-ProLiant-ML310-G5p ifup[2560]: /sbin/ifup: couldn't read interfaces file "/etc/network/int
wrz 08 13:48:04 shino-ProLiant-ML310-G5p systemd[1]: networking.service: Main process exited, code=exited, statu
wrz 08 13:48:04 shino-ProLiant-ML310-G5p systemd[1]: networking.service: Failed with result 'exit-code'.
wrz 08 13:48:04 shino-ProLiant-ML310-G5p systemd[1]: Failed to start Raise network interfaces.
~
~
~
~
~
~
~

打字journalctl -xe

wrz 08 14:44:58 shino-ProLiant-ML310-G5p megasync[2307]: gdk_device_update_tool: assertion 'GDK_IS_DEVICE (devic
wrz 08 14:44:58 shino-ProLiant-ML310-G5p upowerd[1066]: unhandled action 'unbind' on /sys/devices/pci0000:00/000
wrz 08 14:44:58 shino-ProLiant-ML310-G5p update-notifier[2305]: gdk_device_update_tool: assertion 'GDK_IS_DEVICE
wrz 08 14:44:58 shino-ProLiant-ML310-G5p gnome-software[2303]: gdk_device_update_tool: assertion 'GDK_IS_DEVICE 
wrz 08 14:44:58 shino-ProLiant-ML310-G5p gnome-terminal-[2125]: gdk_device_update_tool: assertion 'GDK_IS_DEVICE
wrz 08 14:44:58 shino-ProLiant-ML310-G5p nautilus-deskto[1837]: gdk_device_update_tool: assertion 'GDK_IS_DEVICE
wrz 08 14:44:58 shino-ProLiant-ML310-G5p gsd-media-keys[1781]: gdk_device_update_tool: assertion 'GDK_IS_DEVICE 
wrz 08 14:44:58 shino-ProLiant-ML310-G5p gsd-keyboard[1770]: gdk_device_update_tool: assertion 'GDK_IS_DEVICE (d
wrz 08 14:44:58 shino-ProLiant-ML310-G5p transmission-gt[1834]: gdk_device_update_tool: assertion 'GDK_IS_DEVICE
wrz 08 14:44:58 shino-ProLiant-ML310-G5p gsd-color[1767]: gdk_device_update_tool: assertion 'GDK_IS_DEVICE (devi
wrz 08 14:44:58 shino-ProLiant-ML310-G5p gsd-clipboard[1759]: gdk_device_update_tool: assertion 'GDK_IS_DEVICE (
wrz 08 14:44:58 shino-ProLiant-ML310-G5p gsd-xsettings[1742]: gdk_device_update_tool: assertion 'GDK_IS_DEVICE (
wrz 08 14:44:58 shino-ProLiant-ML310-G5p gsd-power[1724]: gdk_device_update_tool: assertion 'GDK_IS_DEVICE (devi
wrz 08 14:44:58 shino-ProLiant-ML310-G5p /usr/lib/gdm3/gdm-x-session[1163]: (II) UnloadModule: "libinput"
wrz 08 14:44:58 shino-ProLiant-ML310-G5p /usr/lib/gdm3/gdm-x-session[1163]: (II) systemd-logind: releasing fd fo
wrz 08 14:44:58 shino-ProLiant-ML310-G5p gsd-wacom[1743]: gdk_device_update_tool: assertion 'GDK_IS_DEVICE (devi
wrz 08 14:44:58 shino-ProLiant-ML310-G5p gnome-shell[1573]: gdk_device_update_tool: assertion 'GDK_IS_DEVICE (de
wrz 08 14:44:58 shino-ProLiant-ML310-G5p /usr/lib/gdm3/gdm-x-session[1163]: (EE) systemd-logind: failed to relea
wrz 08 14:44:58 shino-ProLiant-ML310-G5p upowerd[1066]: unhandled action 'unbind' on /sys/devices/pci0000:00/000
wrz 08 14:44:58 shino-ProLiant-ML310-G5p upowerd[1066]: unhandled action 'unbind' on /sys/devices/pci0000:00/000
wrz 08 14:44:58 shino-ProLiant-ML310-G5p upowerd[1066]: unhandled action 'unbind' on /sys/devices/pci0000:00/000
wrz 08 14:44:58 shino-ProLiant-ML310-G5p upowerd[1066]: unhandled action 'unbind' on /sys/devices/pci0000:00/000
wrz 08 14:44:58 shino-ProLiant-ML310-G5p upowerd[1066]: unhandled action 'unbind' on /sys/devices/pci0000:00/000

我的 etc/network/interfaces 如下所示:

# interfaces(5) file used by ifup(8) and ifdown(8)
pre-up /usr/sbin/ethtool --change enp3s4f1 speed 100 duplex full autoneg off

“wrz”是九月的波兰语首字母缩写词。

在这一点上,我不知道该怎么办了,我正在考虑重新安装。

编辑:好的,它似乎确实有时会连接,但只是在启动 Ubuntu 后一段时间(20-30 分钟)。我注意到这是否与打字有关,sudo modprobe r8169我现在完全感到困惑。

编辑 2 (09.09.2019) 好的,所以。我正在运行 Ubuntu 桌面。有一条以太网电缆直接从我的路由器 TPLINK TL-MR3220 连接到我的计算机。该路由器有一个通过 USB 直接插入的移动 4G LTE 华为调制解调器。我没有 wifi 适配器,因此目前无法选择无线连接。

我注释掉 /etc/network/interfaces,重新启动并输入sudo lshw -C network

*-network:0               
       description: Ethernet interface
       product: NetXtreme BCM5715 Gigabit Ethernet
       vendor: Broadcom Inc. and subsidiaries
       physical id: 4
       bus info: pci@0000:03:04.0
       logical name: enp3s4f0
       version: a3
       serial: 9c:8e:99:35:15:80
       capacity: 1Gbit/s
       width: 64 bits
       clock: 66MHz
       capabilities: pcix pm vpd msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.137 firmware=5715-v3.29, UMP 1.23 latency=64 link=no mingnt=64 multicast=yes port=twisted pair
       resources: irq:32 memory:f9ff0000-f9ffffff memory:f9fe0000-f9feffff
  *-network:1
       description: Ethernet interface
       product: NetXtreme BCM5715 Gigabit Ethernet
       vendor: Broadcom Inc. and subsidiaries
       physical id: 4.1
       bus info: pci@0000:03:04.1
       logical name: enp3s4f1
       version: a3
       serial: 9c:8e:99:35:15:81
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 66MHz
       capabilities: pcix pm vpd msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.137 duplex=full firmware=5715-v3.29 latency=64 link=yes mingnt=64 multicast=yes port=twisted pair speed=10Mbit/s
       resources: irq:33 memory:f9fd0000-f9fdffff memory:f9fc0000-f9fcffff

然后我输入cat /etc/netplan/*.yaml

# Let NetworkManager manage all devices on this system
network:
  version: 2
  renderer: NetworkManager

我还检查了crontab -e(不编辑任何内容)的内容,除了评论,只有一行是:

@reboot dhclient -r eth$ && dhclient eth$

似乎我有时可以在打字后建立连接,sudo modprobe r8169但它似乎有时只能工作,或者经过一段时间后才能工作。

输入dhclient enp3s4f1返回

RTNETLINK answers: Operation not permitted

再次键入sudo似乎可以成功运行它,但没有任何反应。我尝试了另一个以太网端口,结果相同。

编辑3:拔下电缆,关闭计算机,重新启动然后重新插入似乎可以完美且立即连接所有内容。

networking internet ethernet 18.04
  • 1 个回答
  • 3121 Views
Martin Hope
shinobody
Asked: 2019-08-06 08:35:14 +0800 CST

Ubuntu 无法启动,并显示消息“已启动 GNOME 显示管理器。调度服务...系统更改.pp 链接已关闭'

  • 0

出于某种原因,Ubuntu 18.04 拒绝启动。它以前工作过 - 与我的 Nvidia GPU 驱动程序相关的一些小问题(我通过使用 nomodeset 并安装专有驱动程序修复了这些问题),以及后来以太网连接的一些问题(我使用这些解决方案解决了这些问题:以太网丢弃不规则连接的问题 Ubuntu -Budgie和https://ubuntu-mate.community/t/stop-network-disconnecting-in-ubuntu/829 - 我都使用了,但我不确定哪个是有效的)。上次打开 Ubuntu 时,我没有以任何方式弄乱系统或系统文件。

目前,在 Ubuntu 徽标启动画面加载屏幕后,屏幕(充满文字)开始定期闪烁,屏幕上显示这些消息没有任何变化(拍摄这些照片需要 5 分钟,因为它们只是短暂闪烁时间,然后它们消失几秒钟,然后再次出现 - 等等)。

在恢复模式菜单中,我尝试了“修复损坏的软件包”选项 - 它似乎成功但它根本没有帮助,现在不同的消息闪烁而行为没有改变。

这是图像:https ://imgur.com/a/VU4jD4e 1-3 是最初的图像,II1 - II3 是修复包尝试后的图像。如果它们相同(我认为它们可能相同,但我不确定),那么我猜您有两个版本的图像?

使用恢复模式只会在我的显示器上显示“超出范围/60khz”错误,而 nomodeset 什么也不做,它仍然会导致文本闪烁。昨天(我上次使用 Ubuntu)一切正常。

我的电脑规格是:

  CPU:Intel Xeon E3120 3.16 GHz
  RAM:4GB
  GPU:Nvidia Quadro NVS 290
  HDD:2TB,分为两个分区(1TB Windows 10 和 1TB Ubuntu 18.04)

我使用的是外部声卡,因为这个系统(作为服务器)默认没有一个。

我在同一台计算机上从 Windows 10 发布这个似乎没有受到影响(同样 GRUB 工作得很好),所以我怀疑这是一个硬件问题。

编辑:最后一行文本的全文:

启动 GNOME 显示管理器。 调度服务...系统更改.pp 链接已关闭...。

编辑 2:我现在让它运行了 40 分钟,它似乎没有启动。不过,我会让它在一夜之间运行。现在屏幕也像这样: https ://imgur.com/a/zhoq0Uk

编辑 3:我尝试通过将“安静启动”替换为“文本”来登录文本模式。令我惊讶的是,它做了同样的事情 - 闪烁的文本 - 尽管带有不同的信息:

其他图片

有趣的是,当我按下 Ctrl+Alt+F3 时,我看到了一个文本登录屏幕,但大约 5 秒后它消失了,屏幕又开始闪烁。

至于这个问题是重复的 - 从根 shell(在恢复模式菜单中)将显示管理器切换到 lightdm 似乎部分成功 - 我现在看到登录屏幕,但 Ubuntu 拒绝接受我的登录,因为尝试使用正确的登录密码只会导致屏幕变黑,然后我被转回到登录屏幕。但是,我可以从 HERE 按下 Ctrl+Alt+F3,与 GUI lightdm 登录屏幕不同,此控制台出于某种原因接受了我的登录。

这让我可以尝试GDM3 中提出的每一个解决方案都不是在 Ubuntu 18.04 中启动的——它们都没有做任何事情——Wayland 的事情、Slim 解决方案、gnome-desktop——它们都没有。我尝试安装并切换到 Slim,但与 LightDM 基本相同 - 当我输入用户名和密码时,我收到一条错误消息failed to execute login command,提示黑屏,并且登录屏幕重新启动。就像使用 LightDM 一样,我可以使用 Ctrl+Alt+F3 登录到文本模式。

此外,我尝试使用 访问/var/log并查看日志less,但我没有注意到任何明显的错误——至少没有声称“错误”的行。如果我能够以某种方式将这些文件复制到我的 Windows 分区并在此处共享它们的内容,那肯定会有所帮助——我想我明天会研究一下。

编辑 4:重读 Xorg.1.log 时,我注意到一些错误 - 似乎有一堆涉及“Wacom Bamboo PT”的错误 -invalid type 'cursor for this device以及类似的东西(除了光标之外,还有套索触摸、垫子、手写笔、橡皮擦...)。但是,我不确定这是否可能是问题,因为无论我的 Wacom 数位板是否插入,都会出现此问题。

但是,后来我发现了更多错误:client bug: timer event8 debounce: offset negative-该行一遍又一遍地重复,然后是括号中的值:(-6ms),(-21ms),,timer event8 debounce short offset negative (-77ms)(-14ms),(-26ms),(-32ms)和timer event8 debounce short offset negative (-46ms)

但是,没有出现这样的错误Xorg.0.log

boot dual-boot 18.04
  • 2 个回答
  • 13421 Views
Martin Hope
shinobody
Asked: 2019-08-01 23:54:22 +0800 CST

使用 gedit 使用 'sudo -H gedit' 编辑系统文件时会出现任何问题吗?

  • 10

我对 Ubuntu 比较陌生,我注意到在这个网站的答案中,当人们建议编辑系统文件时,他们给出的命令总是sudo nanoor sudo vi。因为我不喜欢使用基于终端的文本编辑器,所以我通常使用

sudo -H gedit

相反,到目前为止它工作得很好。

使用编辑系统文件是否有任何问题,gedit或者文本编辑器的选择完全取决于个人喜好?编辑这些文件时我应该记住什么(如编码)?

command-line gedit sudo
  • 2 个回答
  • 1712 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