billdp
deepin
2020-04-18 14:07 Section "Device"
Identifier "Dummy"
Driver "dummy"
VideoRam 256000
Option "IgnoreEDID" "true"
Option "NoDDC" "true"
EndSection
Section "Monitor"
Identifier "Monitor"
HorizSync 15.0-100.0
VertRefresh 15.0-200.0
EndSection
Section "Screen"
Identifier "Screen"
Monitor "Monitor"
Device "Dummy"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080" "1280x1024"
EndSubSection
EndSection
上面这一段不怎么改都显示不正常。在这里补充一下
Identifier "Dummy"
Driver "dummy"
VideoRam 256000
Option "IgnoreEDID" "true"
Option "NoDDC" "true"
EndSection
Section "Monitor"
Identifier "Monitor"
HorizSync 15.0-100.0
VertRefresh 15.0-200.0
EndSection
Section "Screen"
Identifier "Screen"
Monitor "Monitor"
Device "Dummy"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080" "1280x1024"
EndSubSection
EndSection
上面这一段不怎么改都显示不正常。在这里补充一下
Reply Like 0 View the author
需求:
我装deepin系统的显示器是旧的,最高仅仅支持1280x1024的分辨率。用x11vnc登录的时候,窗口看起来又小又不舒服。
通过安装虚拟的显示器,并做好设置,可以在不接显示器,或者不开显示器的是,远程登录的时候使用更大的分辨率。
这个也可以在没有显卡,或者没有外接显示器的时候,从远程调阅使用。
如下图,最高改到了1920x1080
步骤:
1、vnc客户端使用X11VNC,并已经成功调试好x11vnc(可以看我的另外的帖子,写有X11VNC的安装),仅仅是窗口只支持1280x1024不够大。
2、下载虚拟显示组件:sudo apt install xserver-xorg-video-dummy
3、配置显示器文件:sudo vi /usr/share/X11/xorg.conf.d/xorg.conf, 内容如下
Section "Device" Identifier "Dummy"
Driver "dummy"
VideoRam 256000
Option "IgnoreEDID" "true"
Option "NoDDC" "true"
EndSection
Section "Monitor"
Identifier "Monitor"
HorizSync 15.0-100.0
VertRefresh 15.0-200.0
EndSection
Section "Screen"
Identifier "Screen"
Monitor "Monitor"
Device "Dummy"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080" "1280x1024"
EndSubSection
EndSection
4、重启,不接显示器(关闭显示器)用vnc客户端连接测试。
另外:
用windows的远程桌面去连接x11vnc,显示刷新速度要比用vnc客户端还快点,有时候会爽一点(但是不能共享剪贴板不爽),下面说明怎么样使用windows远程桌面来连接装了X11VNC的deepin主机(并使用虚拟显示器实现分辨率的提升)。
1、sudo apt install xrdp
2、重启
3、用windows的远程桌面连接,登录deepin。
4、说明:用vnc客户端的优势是直接不用输入密码就可以登录,用windows远程桌面每次都要输入ip和密码,还要记得选择类型为“vnc-any”
5、远程桌面xrdp是浏览器刷新有点卡,vnc是鼠标有点卡,下面的图给出了其它的一点区别。
参考文章:
1、https://www.cnblogs.com/xuliangxing/p/7560723.html
2、https://www.lxtreme.nl/blog/headless-x11/