You need to enable JavaScript to run this app.
最新活动
大模型
产品
解决方案
定价
生态与合作
支持与服务
开发者
了解我们

Ubuntu 23.04下GNOME远程桌面RDP服务启动失败及连接黑屏问题求助

Ubuntu 23.04下GNOME远程桌面RDP服务启动失败及连接黑屏问题求助

我折腾了好一阵都没找到解决办法,想求助各位大佬!

我先是装了Ubuntu 22.04,结果GNOME桌面远程用不了,想着升级到23.04应该能解决问题,结果还是不行——不管从Windows 11还是Mac连接,都搞不定。

GNOME远程桌面服务的状态信息如下:

yigal@yigal-desktop:~$ systemctl --user status gnome-remote-desktop.service

● gnome-remote-desktop.service - GNOME Remote Desktop
Loaded: loaded (/usr/lib/systemd/user/gnome-remote-desktop.service; enabled; preset: enabled)
Active: active (running) since Sun 2023-05-07 23:49:36 CDT; 23min ago
Main PID: 9559 (gnome-remote-de)
Tasks: 8 (limit: 9187)
Memory: 14.2M
CPU: 424ms
CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/gnome-remote-desktop.service
└─9559 /usr/libexec/gnome-remote-desktop-daemon

May 07 23:49:36 yigal-desktop systemd[1033]: Starting gnome-remote-desktop.service - GNOME Remote Desktop...
May 07 23:49:36 yigal-desktop systemd[1033]: Started gnome-remote-desktop.service - GNOME Remote Desktop.
May 07 23:49:37 yigal-desktop gnome-remote-desktop-daemon[9559]: Cannot load libnvidia-encode.so.1
May 07 23:49:37 yigal-desktop gnome-remote-de[9559]: Failed to start RDP server: Error binding to address [::]:3389: Address already in use

从日志里能看到两个关键错误:Cannot load libnvidia-encode.so.1Failed to start RDP server: Error binding to address [::]:3389: Address already in use

当我用RDP客户端连接的时候,界面就卡在黑屏状态,完全没反应。重启GNOME远程桌面服务、甚至重启Ubuntu都试过了,根本没用。

我对Linux不算太熟,但感觉问题可能和那个加载失败的nvidia编码库有关?

另外我也贴一下相关的系统信息,方便大家排查:

系统版本信息

yigal@yigal-desktop:~$ sudo lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 23.04
Release:        23.04
Codename:       lunar

端口占用情况

yigal@yigal-desktop:~$ netstat -lntp
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:5900          0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.54:53           0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      -
tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN      -
tcp6       0      0 ::1:631                 :::*                    LISTEN      -
tcp6       0      0 :::22                   :::*                    LISTEN      -
tcp6       0      0 :::3389                 :::*                    LISTEN      -
tcp6       0      0 ::1:3350                :::*                    LISTEN      -

CPU信息

yigal@yigal-desktop:~$ lscpu
Architecture:            x86_64
CPU op-mode(s):        32-bit, 64-bit
Address sizes:         36 bits physical, 48 bits virtual
Byte Order:            Little Endian
CPU(s):                  2
On-line CPU(s) list:   0,1
Vendor ID:               GenuineIntel
Model name:            Intel(R) Celeron(R) CPU G540T @ 2.10GHz
CPU family:          6
Model:               42
Thread(s) per core:  1
Core(s) per socket:  2
Socket(s):           1
Stepping:            7
CPU(s) scaling MHz:  79%

麻烦各位帮忙看看怎么解决这个问题,提前谢过大家了!

备注:内容来源于stack exchange,提问作者Yigal

火山引擎 最新活动