我想使用运行 Fedora 24 的笔记本电脑作为台式电脑的第二台显示器,台式电脑也运行 Fedora 24。
Xdmx
做一个搜索互联网和这个网站,我发现这是相似的不少帖子后这一项,所有这些基本上含有相同的几个步骤:
Xdmx在两台电脑上安装。ssh从另一台计算机进入一台计算机,并带有 -X选项。Xdmx将接收端的计算机ssh变成显示器:
startx -- /usr/bin/Xdmx :1 +xinerama -display :0.0 -display localhost:10.0 -norender -noglxproxy这样做首先会使两台计算机屏幕变黑几秒钟,然后给我一条长长的错误消息,其结尾是:
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
xinit: connection to X server lost
waiting for X server to shut down
Couldn't get a file descriptor referring to the console
Run Code Online (Sandbox Code Playgroud)
谷歌搜索错误会返回这篇2015 年 7 月的博客文章,其中用户按照与我完全相同的步骤进行操作,除了使用 Ubuntu 而不是 Fedora,最终得到与我完全相同的结果。最近在 2016 年 …
我重新安装了一个虚拟机(CentOS7),现在出现这个错误。VM 有两个位于不同子网上的适配器。
有趣的是,在修复了预期的 MITM 警告后,ssh 在一个子网上运行良好。
ssh -v 显示:
OpenSSH_8.0p1, OpenSSL 1.1.1c 28 May 2019
debug1: Reading configuration data /home/user/.ssh/config
debug1: /home/user/.ssh/config line 6: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolving "foreman" port yy
debug2: ssh_connect_direct
debug1: Connecting to foreman [xxx.xxx.xxx.xxx] port yy.
debug1: Connection established.
debug1: identity file /home/sam/.ssh/id_rsa type 0
debug1: identity file /home/sam/.ssh/id_rsa-cert type -1
debug1: identity file /home/sam/.ssh/id_dsa type -1
debug1: identity file /home/sam/.ssh/id_dsa-cert type -1
debug1: identity file /home/sam/.ssh/id_ecdsa …Run Code Online (Sandbox Code Playgroud)