VNC连接ubuntu好卡的解决方法
VNC远程连接Ubuntu连过去特别卡,和windows系统没有安装显卡驱动下拉网页差不多的感觉,而且什么都操作不了,体验极差。下面是解决办法。
系统版本:Ubuntu 18.04·
1.安装VNC&配置
在终端输入
#sudo apt-get install vnc4server
配置dconf (如没安装,请到Ubuntu软件中搜索Dconf,添加此软件)
依次展开org->gnome->desktop->remote-access,然后取消 “requlre-encryption”的勾选即可

2.设置桌面共享 设置→共享→屏幕共享→配置账号和密码

3.安装
使用xserver-xorg-video-dummy创建虚拟显示器
sudo apt install xserver-xorg-video-dummy
配置
然后按照如下写入配置文件/usr/share/X11/xorg.conf.d/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
最后重启,就可以不连接显示器用VNC流畅的远程访问桌面了。