小编one*_*ijk的帖子

如何使用第二台计算机作为附加显示器(Linux Fedora 24)?

我的目标

我想使用运行 Fedora 24 的笔记本电脑作为台式电脑的第二台显示器,台式电脑也运行 Fedora 24。


我尝试过的以及没有完全解决的问题或:为什么这不是一个重复的问题

Xdmx

做一个搜索互联网和这个网站,我发现这是相似的不少帖子后这一项,所有这些基本上含有相同的几个步骤:

  1. Xdmx在两台电脑上安装。
  2. ssh从另一台计算机进入一台计算机,并带有 -X选项。
  3. 使用以下命令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 年 …

fedora ssh multiple-monitors xdmx

14
推荐指数
1
解决办法
9931
查看次数

kex_exchange_identification:读取:对等方重置连接。连接适用于其他 NIC/子网

我重新安装了一个虚拟机(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)

networking ssh openssh

8
推荐指数
1
解决办法
2万
查看次数

标签 统计

ssh ×2

fedora ×1

multiple-monitors ×1

networking ×1

openssh ×1

xdmx ×1