在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的官方文檔或相關社區論壇。