在CentOS系统中使用VirtualBox实现多屏显示,可以按照以下步骤进行操作:
xrandr --output VGA --auto --output LVDS --off
关闭外接显示器,同时打开笔记本液晶屏幕的命令是:
xrandr --output VGA --off --output LVDS --auto
其他常用的xrandr命令包括:
xrandr --output VGA --same-as LVDS --auto
xrandr --output VGA --mode 1024x768
xrandr --output VGA --right-of LVDS --auto
/etc/X11/xorg.conf
文件(如果不存在,可以使用 Xorg -configure
命令生成)。通过以上步骤,你应该能够在CentOS虚拟机中成功配置多屏显示。如果遇到问题,可以参考VirtualBox和CentOS的官方文档或相关社区论坛。