Ubuntu18.04.4LTS的远程桌面大坑

2020-05-21 00:09:25 浏览数 (1)

由于我的机器不是正常内核,是up Squared2 x86开发板 首先安装虚拟X11服务

代码语言:javascript复制
sudo apt-get search xserver-xorg-video-dummy-hwe-18.04

修改配置

代码语言:javascript复制
 sudo vim /usr/share/X11/xorg.conf.d/xorg.conf

修改为

代码语言:javascript复制
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

重启即可

0 人点赞