Tigervnc 显示空白屏幕

Tigervnc 显示空白屏幕

0

我在 Fedora 工作站上配置了 Tigervnc-server,当我通过 macOS 中的 VNC 查看器或另一个 Fedora 工作站中的 vncviewer 连接到它时,我得到的只是一个空白屏幕,有时鼠标指针不移动。

我查看了很多论坛,这似乎是一个常见问题,但所有信息都相当陈旧,并且与使用 systemd 和 gdm 配置 TigerVNC-server 的最新方式不同。

在这个特定的实例中,我选择使用用户的服务管理器(RHEL8进程)安装tigervnc-serverhttps://access.redhat.com/solutions/4201371)) - 所以它在用户空间中运行。

~/.vnc/xstartup 包含:

#!/bin/sh

unset SESSION_MANAGER 
unset DBUS_SESSION_BUS_ADDRESS 
exec /etc/X11/xinit/xinitrc

~/.vnc/.log cat log2.log

Xvnc TigerVNC 1.10.0 - built Jan 13 2019 00:00:00
Copyright (C) 1999-2019 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12006000, The X.Org Foundation


Sun Apr  5 13:15:01 2020
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5902
 vncext:      created VNC server for screen 0

Sun Apr  5 13:15:47 2020
 Connections: accepted: 10.10.10.9::48246
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VeNCrypt(19)
 SVeNCrypt:   Client requests security type TLSVnc (258)

Sun Apr  5 13:15:51 2020
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888

Sun Apr  5 13:16:03 2020
 VNCSConnST:  closing 10.10.10.9::48246: Clean disconnection
 EncodeManager: Framebuffer updates: 9
 EncodeManager:   Tight:
 EncodeManager:     Solid: 14 rects, 1.53762 Mpixels
 EncodeManager:            224 B (1:27458.2 ratio)
 EncodeManager:     Indexed RLE: 1 rects, 1 kpixels
 EncodeManager:                  394 B (1:10.1827 ratio)
 EncodeManager:   Tight (JPEG):
 EncodeManager:     Full Colour: 14 rects, 96.816 kpixels
 EncodeManager:                  60.25 KiB (1:6.27969 ratio)
 EncodeManager:   Total: 29 rects, 1.63543 Mpixels
 EncodeManager:          60.8535 KiB (1:104.986 ratio)
 TLS:         TLS session wasn't terminated gracefully
 TcpSocket:   unable to get peer name for socket
 Connections: closed: ::0
 ComparingUpdateTracker: 836.526 kpixels in / 800.094 kpixels out
 ComparingUpdateTracker: (1:1.04553 ratio)

Sun Apr  5 13:16:26 2020
 Connections: accepted: 10.10.10.9::48248
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VeNCrypt(19)
 SVeNCrypt:   Client requests security type TLSVnc (258)

Sun Apr  5 13:16:28 2020
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888

Sun Apr  5 13:16:29 2020
 ComparingUpdateTracker: 0 pixels in / 0 pixels out
 ComparingUpdateTracker: (1:-nan ratio)

Sun Apr  5 13:16:36 2020
 VNCSConnST:  closing 10.10.10.9::48248: Clean disconnection
 EncodeManager: Framebuffer updates: 3
 EncodeManager:   Tight:
 EncodeManager:     Solid: 2 rects, 1.50733 Mpixels
 EncodeManager:            32 B (1:188417 ratio)
 EncodeManager:   Total: 2 rects, 1.50733 Mpixels
 EncodeManager:          32 B (1:188417 ratio)
 TLS:         TLS session wasn't terminated gracefully
 TcpSocket:   unable to get peer name for socket
 Connections: closed: ::0
 ComparingUpdateTracker: 0 pixels in / 0 pixels out
 ComparingUpdateTracker: (1:-nan ratio)

日志文件捕获重新启动后直接连接的两次尝试。即使在提示输入密码之前,第一个总是会失败并显示“哎呀”消息。第二个显示空白屏幕。

套接字:无法获取套接字的对等名称

这条消息让我认为这是一个防火墙问题,所以我也尝试过在禁用和停止防火墙的情况下进行此操作 - 但没有运气。

我确信这与 gdm 有关 - 但这是我薄弱的领域,因此寻求建议。谢谢

相关内容