我在 RPi4b 上运行 Ubuntu 22.04。我在 Windows PC 上使用免费的 VNC-Connect。但我不知道如何在 Ubuntu 上安装服务器。
我从 realvnc.com 下载了 Linux 安装文件:VNC-Server-7.0.0-Linux-x64.deb。但是当我尝试安装它时,出现错误。
sudo apt install ./VNC-Server-7.0.0-Linux-x64.deb
[sudo] password for p1:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'realvnc-vnc-server:amd64' instead of './VNC-Server-7.0.0-Linux-x64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
realvnc-vnc-server:amd64 : Depends: libc6:amd64 (>= 2.3) but it is not installable
Depends: libgcc1:amd64 (>= 1:4.1.1) but it is not installable
Depends: libx11-6:amd64 but it is not installable
Depends: libxext6:amd64 but it is not installable
Depends: libxtst6:amd64 but it is not installable
E: Unable to correct problems, you have held broken packages.
如果有 RealVNC Server 的安装包,我找不到它。
答案1
您正在尝试将 amd64 版本的服务器安装到 ARM 处理器。真实VNC下载页面有适用于 RasPI OS 9 - 11 的软件包。下载相应的软件包,然后按照以下步骤安装RealVNC 博客中的说明。