小编Gry*_*ryu的帖子

蓝牙找不到任何设备(Ubuntu 18.04)

蓝牙在 Ubuntu 18.04 中找不到任何设备。我尝试了在互联网上找到的不同解决方案,但没有成功。

启用蓝牙后,它会一直搜索设备,直到关闭。我尝试连接的所有设备都功能齐全,它们与其他操作系统配对并且工作正常。

bluetooth 18.04

11
推荐指数
3
解决办法
4万
查看次数

psql 命令“错误:未安装 PostgreSQL 版本 12”

我已经安装了 PostgreSQL 11,但是由于某种原因,当我psql在终端中输入时PostgreSQL version 12 is not installed出现错误

最近我卸载了一个PostgreSQL服务器,所以我觉得我做得不太好

我怎么能得到 psql 命令 exec 版本 11 而不是 12

截屏

postgresql

9
推荐指数
1
解决办法
4914
查看次数

为什么没有选项可以在 Windows 10 旁边安装 ubuntu

我想双引导 Windows 10 和 ubuntu,但在 ubuntu 安装过程中我看不到与 Windows 10 一起安装的选项。然而 ubuntu 安装程序可以识别 Windows 10。我的电脑有 4 个分区。请帮忙

dual-boot windows-10 20.04

8
推荐指数
1
解决办法
1900
查看次数

无法安装扩展包 /home/user/Downloads/Oracle_VM_VirtualBox_Extension_Pack-6.0.4.vbox-extpack

我正在尝试安装 virtualbox 扩展包 (Oracle_VM_VirtualBox_Extension_Pack-6.0.4),但出现以下错误。

Failed to install the Extension Pack /home/user/Downloads/Oracle_VM_VirtualBox_Extension_Pack-6.0.4.vbox-extpack.

Failed to load the main module ('/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VBoxPuelMain.so'): VERR_FILE_NOT_FOUND - /usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VBoxPuelMain.so: undefined symbol: _ZNK16RTCRestArrayBase9baseCloneEv.

在此输入图像描述

virtualbox

7
推荐指数
2
解决办法
2万
查看次数

gpg:由于缺少密钥,未检查 1 个签名

不能sudo apt-get update

Ign:8 http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04  Release.gpg
Reading package lists... Done    
W: GPG error: http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04  Release: The following signatures were invalid: EXPKEYSIG 5A7D1D38BEB6D886 home:Horst3180 OBS Project <home:Horst3180@build.opensuse.org>
E: The repository 'http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04  Release' is not signed.
Run Code Online (Sandbox Code Playgroud)

从无数次尝试中,我得到

1 signature not checked due to a missing key
Run Code Online (Sandbox Code Playgroud)

我的尝试是:

sudo apt-key adv --keyserver hkp://keys.gnupg.net:80 --recv-keys 5A7D1D38BEB6D886
Executing: /tmp/apt-key-gpghome.f5yVraTkTa/gpg.1.sh --keyserver hkp://keys.gnupg.net:80 --recv-keys 5A7D1D38BEB6D886
gpg: key 5A7D1D38BEB6D886: 1 signature not checked due to a missing key
gpg: key 5A7D1D38BEB6D886: "home:Horst3180 OBS Project <home:Horst3180@build.opensuse.org>" not …
Run Code Online (Sandbox Code Playgroud)

apt gnupg keyserver

7
推荐指数
2
解决办法
6724
查看次数

如何将外接显示器设置为默认值?

我已通过 HDMI 将外接显示器连接到我的笔记本电脑。目前,当我选择“两者中的相同图像”时,我的桌面要么扩展到外​​部显示器(具有原始分辨率),要么同时扩展到两个低分辨率。

如何确保默认使用外接显示器而笔记本电脑显示器只是空白。

我通过执行以下操作生成了 xorg.conf 文件:

X-配置

以下是我的用户文件夹中生成的 xorg.conf.new 文件的内容。我应该在任何地方复制这个吗?我应该编辑内容吗?

Section "ServerLayout"
    Identifier      "X.org Configured"
    Screen          0 "Screen0" 0 0     
    InputDevice     "Mouse0" "CorePointer"
    InputDevice     "Keyboard0" "CoreKeyboard" 
EndSection

Section "Files"
    ModulePath      "/usr/lib/xorg/modules"
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath    "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath    "/usr/share/fonts/X11/100dpi"
    FontPath    "/usr/share/fonts/X11/75dpi"
    FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath        "built-ins" 
EndSection

Section "Module"
    Load    "glx"
    Load    "dri2"
    Load    "record"
    Load    "extmod"
    Load    "dbe"
    Load    "dri" 
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver          "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver          "mouse"
    Option …
Run Code Online (Sandbox Code Playgroud)

xorg external-monitor

6
推荐指数
1
解决办法
1387
查看次数

Dell Vostro 5490 在 Ubuntu 18.04 中没有 WIFI

我有一台装有 Ubuntu 18.04 的 Dell Vostro 5490,在 Windows 10 的双启动中安装。我目前没有 WIFI。我尝试更新和升级我的软件包,我也遵循了指南,但没有成功。除了上面提到的东西,我的 Ubuntu 是完全库存的,我没有做任何其他的修改。请帮我解决这个问题,任何帮助将不胜感激!

这是命令的输出lspci -knn | grep Net -A3; rfkill list

00:14.3 Network controller [0280]: Intel Corporation Device [8086:02f0] Subsystem: Intel Corporation Device [8086:42a4] Kernel driver in use: iwlwifi Kernel modules: iwlwifi 0: hci0: Bluetooth Soft blocked: yes Hard blocked: no

这是命令输出的粘贴dmesg | grep iwlhttps : //paste.ubuntu.com/p/hzDHb6zGhb/

sound wireless dell-vostro

6
推荐指数
1
解决办法
1214
查看次数

如何在未使用或未激活的情况下使用管理员帐户运行应用程序?

即使管理员帐户未处于活动状态并且访客或家庭帐户正在使用中,我也希望在管理员帐户中运行应用程序(如洪水)。

有时家庭帐户正在使用中,并且出于任何原因重新启动了电脑,因此管理应用程序不会在后台启动。

有没有办法使这成为可能?

administration

5
推荐指数
1
解决办法
282
查看次数

Ubuntu UFW 3x 特定IP地址仅访问特定端口

我需要使用 UFW 只允许 3 个不同的 IP 地址连接到特定端口。
例如: 特定端口上的
IP 地址 [1] - 111.111.111.111
IP 地址 [1] - 222.222.222.222
IP 地址 [1] - 333.333.333.333 。
所有其他连接均被拒绝。
有什么帮助吗?
我可以简单地为每个 IP 地址逐个添加 3x 规则以指向端口吗?

firewall

5
推荐指数
1
解决办法
2万
查看次数

如何启动 PostgreSql

当我在下面运行此命令时:

sudo -u postgres psq
Run Code Online (Sandbox Code Playgroud)

我在下面收到此错误消息:

psql: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Run Code Online (Sandbox Code Playgroud)

如何启动 postgreSql 并修复此错误?

postgresql

5
推荐指数
1
解决办法
2万
查看次数