Настройка XOrg для VMWare (autofit, autosize, clipboard) :: Cетевой уголок Majestio

Настройка XOrg для VMWare (autofit, autosize, clipboard)


Установка необходимого

# pkg install xf86-video-vmware 
# pkg install xf86-input-vmmouse
# pkg install open-vm-tools 

Добавим вo /etc/rc.conf:

moused_enable="YES"
dbus_enable="YES"
hald_enable="YES"
# slim_enable="YES" <-- по желанию сразу логин в иксах

vmware_guest_vmblock_enable="YES"
vmware_guest_vmhgfs_enable="YES"
vmware_guest_vmmemctl_enable="YES"
vmware_guest_vmxnet_enable="YES"
vmware_guestd_enable="YES"

Примерная правка xorg.conf

Section "ServerLayout"
         Identifier    "X.org Configured"
         Screen  0     "Screen0" 0 0
         InputDevice   "Mouse0" "CorePointer"
         InputDevice   "Keyboard0" "CoreKeyboard"
         Option        "AutoAddDevices" "Off"
EndSection            
                      
Section "Files"       
         ModulePath    "/usr/local/lib/xorg/modules"
         FontPath      "/usr/local/lib/X11/fonts/misc/"
         FontPath      "/usr/local/lib/X11/fonts/TTF/"
         FontPath      "/usr/local/lib/X11/fonts/OTF/"
         FontPath      "/usr/local/lib/X11/fonts/Type1/"
         FontPath      "/usr/local/lib/X11/fonts/100dpi/"
         FontPath      "/usr/local/lib/X11/fonts/75dpi/"
         FontPath      "/usr/local/lib/X11/fonts/webfonts/"
EndSection            
                      
Section "Module"      
         Load          "dbe"
         Load          "dri"
         Load          "dri2"
         Load          "extmod"
         Load          "glx"
         Load          "record"
         Load          "freetype"
EndSection            
                      
Section "InputDevice"
         Identifier    "Keyboard0"
         Driver        "keyboard"
EndSection            
                      
Section "InputDevice"
         Identifier    "Mouse0"
         Driver        "vmmouse"
         Option        "Protocol" "auto"
         Option        "Device" "/dev/sysmouse"
         Option        "ZAxisMapping" "4 5 6 7"
EndSection            
                      
Section "Monitor"     
         Identifier    "vmware"
         VendorName    "VMware, Inc"
         HorizSync     30-100
         VertRefresh   56-120
EndSection            
                      
Section "Device"      
         Identifier    "VMware SVGA"
         Driver        "vmware"
         BusID         "PCI:0:15:0"
EndSection            
                      
Section "Screen"      
         Identifier    "Screen0"
         Device        "VMware SVGA"
         Monitor       "vmware"
EndSection
Рейтинг: 0/5 - 0 голосов