我目前正在测试 RockyLinux,并尝试通过 xdmcp 配置远程访问。
目前,我正在为迎宾程序运行 LightDM,然后为桌面运行 XFCE。
我的lightdm.conf
文件设置包括:
[XDMCPServer]
enabled=true
port=177
该端口177
已在防火墙中启用,我的sshd_config
设置如下:
XauthLocation /usr/bin/xauth
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
通过上述设置,我可以毫无问题地远程访问 RockyLinux 机器和 LightDM 迎宾显示屏。然而,一旦我登录,显示就会出现故障,从我所看到的情况来看,XFCEC 桌面在登录时似乎是重复的。我不知道如何最好地解释它,但希望下面的图片能给你一个想法:
我目前正在使用 Xming 进行远程连接,并包含以下日志输出:
Welcome to the Xming X Server
Vendor: Colin Harrison
Release: 7.5.0.88 (Date: 20141127 Time: 11248)
OS: Windows Version 10.0 (not supported)
FreeType2: 2.5.3
Pixman: 0.33.1
Contact: http://www.straightrunning.com/XmingNotes/
Xming was started with the following command line...
Xming.exe :1 -query [redacted] -clipboard -nolisten inet6
LoadPreferences - [redacted]/Xmingrc not found.
LoadPreferences - Loading C:\Program Files\Xming\Xmingrc
LoadPreferences - Using the default Xmingrc configuration file.
winDetectSupportedEngines - DirectDraw installed, allowing ShadowDD
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 00000007
winSetEngine - Using Shadow DirectDraw NonLocking
winScreenInit - Using Windows display depth of 32 bits per pixel
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
(II) AIGLX: Loaded and initialized swrast
(II) GLX: Initialized DRISWRAST GL provider for screen 0
[dix] Could not init font path element C:\WINDOWS\Fonts, removing from list!
winPointerWarpCursor - Discarding first warp: 957 565
(--) 5 mouse buttons found
(--) Setting autorepeat to delay=500, rate=31
(--) Windows keyboard layout: "00000809" (00000809) "United Kingdom", type 4
(--) Found matching XKB configuration "English (United Kingdom)"
(--) Model = "pc105" Layout = "gb" Variant = "none" Options = "none"
Rules = "base" Model = "pc105" Layout = "gb" Variant = "none" Options = "none"
winBlockHandler - pthread_mutex_unlock()
winProcEstablishConnection - winInitClipboard returned.
winClipboardThreadProc - DISPLAY=127.0.0.1:1.0
OS maintains clipboard viewer chain: yes
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
我希望这些信息足以寻求帮助或建议。谢谢