I am using 2 monitors for CentOS 8 guest under Windows 10 host and CentOS guest do not save dual monitor layout after reboot.
open-vm-tools and open-vm-tools-desktop 10.3.10 installed. I am using KDE.
I am curious is it OK by default? In Windows guests dual or triple monitors layout properly restored after reboot.
I have created xorg.conf in /etc/X11.
In Xorg.0.log vmware service properly configured second display and says it is enabled.
[ 6.502] (II) vmware(0): Output Virtual2 enabled by config file
But xrandr -q says it is disconnected. Please look at the attached logs.
[user@localhost ~]$ xrandr -q
Screen 0: minimum 1 x 1, current 1920 x 1080, maximum 16384 x 16384
Virtual1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
Virtual2 disconnected (normal left inverted right x axis y axis)
1080x1920 60.00 +
After changing monitor layout from the top command bar in full screen mode I can manipulate that display with xrandr and it is connected until next reboot.
Screen 0: minimum 1 x 1, current 3000 x 1920, maximum 16384 x 16384
Virtual1 connected primary 1920x1080+1080+0 (normal left inverted right x axis y axis) 0mm x 0mm
Virtual2 connected 1080x1920+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
I was thinking that vwware-toolbox-cmd or vmtoolsd or any other tool from open-vm-tools can help me to automate this task during boot/login but information about this is very limited online.
I would be grateful if you can point me in the right direction if automation of monitor layout with /etc/vmware-tools/scripts is possible.
Any places where I can look at why layout is not saved after reboot? Or how can I solve this?