用teamviewer、anydesk等远程软件连接没有插显示器的debian系统时会卡顿的问题

用teamviewer或anydesk连接远程debian机器时,即使在局网内也会卡成屎。原因未明,哈哈哈哈

原因

据说是xwindow没有启动,但没有启动为何又能连得上,只是很卡。算了,不懂也不深究,只说解决方法

解决方法

14.04 – Add Fake Display when No Monitor is Plugged In – Ask Ubuntu

Found a way to do it without requiring a dummy plug: Ubuntu Headless VNC VESA 800×600 Resolution Fix ~ Andy Hawkins @ June 12, 2011

Basically install a dummy driver:

sudo apt-get install xserver-xorg-video-dummy
Then write it in the /usr/share/X11/xorg.conf.d/xorg.conf (or possibly /etc/X11/xorg.conf) file (create one, if it does not exist):

Section “Device”
Identifier “Configured Video Device”
Driver “dummy”
EndSection

Section “Monitor”
Identifier “Configured Monitor”
HorizSync 31.5-48.5
VertRefresh 50-70
EndSection

Section “Screen”
Identifier “Default Screen”
Monitor “Configured Monitor”
Device “Configured Video Device”
DefaultDepth 24
SubSection “Display”
Depth 24
Modes “1024×800”
EndSubSection
EndSection

还是翻译成中文吧,就是:

装一个虚拟显示器燕驱动

  1. apt安装驱动

  2. 配置虚拟显示器
    将以下配置写入配置文件, 或 

    在下试的,可以正常使用

    配置文件如下:

  3. 是啥子意思呢,看不懂。。。哈哈哈哈

  4. 重启系统
    如果正常,那么再次用teamviewer连接,就不会卡了

文章知识点与官方知识档案匹配,可进一步学习相关知识CS入门技能树Linux入门初识Linux24789 人正在系统学习中

来源:ieeso

声明:本站部分文章及图片转载于互联网,内容版权归原作者所有,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2022年3月10日
下一篇 2022年3月10日

相关推荐