用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 800x600 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 “1024x800”
EndSubSection
EndSection

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

装一个虚拟显示器燕驱动

  1. apt安装驱动

    sudo apt-get install xserver-xorg-video-dummy

  2. 配置虚拟显示器
    将以下配置写入配置文件,/usr/share/X11/xorg.conf.d/xorg.conf 或 /etc/X11/xorg.conf

    在下试的/etc/X11/xorg.conf,可以正常使用

    配置文件如下:

    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 "1024x800"
        EndSubSection
    EndSection

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

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

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值