Ubuntu 20.04 가상 디스플레이 및 원격 연결

1. 구성 방법

1) 소프트웨어 설치

터미널을 통해 가상 디스플레이 소프트웨어를 설치합니다.

$ sudo apt-get install  xserver-xorg-core-hwe-18.04
$ sudo apt-get install  xserver-xorg-video-dummy

2) 구성 파일 추가

/usr/share/X11/xorg.conf.d/에 xorg.conf 파일을 추가합니다.

$ sudo vim /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 "1920x1080"
    EndSubSection
EndSection
~
~
~
:wq
$
注意:虽然配置上面写了 “1920x1080”,但是实际上最大支持 "1360x768"

3) 재시작

컴퓨터를 다시 시작하면 기본적으로 가상 디스플레이가 사용됩니다.

해바라기 또는 팀 뷰어를 사용하여 원격 연결 실현

参考 原文 : 1. https://blog.csdn.net/h_bpdwn/article/details/103727551
2. https://blog.csdn.net/weixin_44523062/article/details/105405019

추천

출처blog.csdn.net/qq_43030934/article/details/113394502