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 有關 - 但這是我薄弱的領域,因此尋求建議。謝謝

相關內容