赞
踩
当断开显示器连接后远程桌面会连续的抖动,判断是没有显示器的影响。
由于Ubuntu默认显示管理器是gdm,而向日葵使用的是lightdm,选择gdm3
sudo apt install lightdm sudo dpkg-reconfigure lightdm #重新配置
sudo apt install xserver-xorg-core-hwe-18.04 #sudo apt install xserver-xorg-video-dummy sudo apt install xserver-xorg-video-dummy-hwe-18.04
当出现 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。 使用
aptitude
安装sudo aptitude install xserver-xorg-core-hwe-18.04 #sudo aptitude install xserver-xorg-video-dummy sudo aptitude install xserver-xorg-video-dummy-hwe-18.04
/usr/share/X11/xorg.conf.d/xorg.conf
cd /usr/share/X11/xorg.conf.d/ touch xorg.conf #把下面配置内容加入xorg.conf文件中 sudo vim xorg.conf
Section "Monitor" Identifier "Monitor0" HorizSync 28.0-80.0 VertRefresh 48.0-75.0 Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync EndSection Section "Device" Identifier "Card0" Driver "dummy" VideoRam 256000 EndSection Section "Screen" DefaultDepth 24 Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Depth 24 Modes "1920x1080_60.00" EndSubSection EndSection
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。