View Full Version : [OBSOLETE] Install PCBSD under VMware with VMware-tools

10-11-2005, 10:20 PM
I edit this post because with the new version of VMware Tools for FreeBSD, VMware WorkStation 5.5.3 buid-34685, you can install VMware Tools while X is running. In fact, the remainder of this post is obsolete. Tested with PCBSD 1.3 !

Done with VMWARE 5 on WIN XP SP2 Host and PCBSD 0.8.2 as guest.

After you finish the basic installation, you should like to install VMWARE-TOOLS. With the VMware Tools SVGA driver installed, Workstation supports significantly faster graphics performance. Other tools in the package support synchronization of time in the guest operating system with time on the host, automatic grabbing and releasing of the mouse cursor, copying and pasting between guest and host.
The VMware Tools package provides support required for shared folders and for drag and drop operations. Unfortunatly, shared folders are not suppoted with FreeBSD...and PCBSD :(

Note - It's not possible to install VMware Tools while X is running. So, edit the file /etc/ttys and comment the line :

#ttyv8 "/usr/local/bin/kdm" xterm on secure

Oups, before reboot, don't forget to run sysinstall in a console and choose your keyboard console :


OK, now you can reboot an login root. Nice! you run PCBSD in text mode :) with a fonctionnal keyboard.

Below, it's the modified documentation about "VMware Tools for FreeBSD Guests" adapted for PCBSD :

1. Power on the virtual machine.
2. Prepare your virtual machine to install VMware Tools.
Choose VM > Install VMware Tools.
The remaining steps take place inside the virtual machine, not on the host computer.
3. Be sure the guest operating system is running in text mode. You cannot install VMware Tools while X is running.
4. As root (su -), mount the VMware Tools virtual CD-ROM image, change to a working directory (for example, /tmp), uncompress the installer, then unmount the CD-ROM image.

mount /mnt/cdrom
cd /tmp

Using the tar installer .

tar zxf /mnt/cdrom/vmware-freebsd-tools.tar.gz
umount /mnt/cdrom

5. Run the VMware Tools installer.

cd /tmp/vmware-tools-distrib

Valid all default options and select the resolution you want.

At this point, do not try to run X. The /etc/X11/xorg.conf file don't work. You must edit it and modify two lines :

near line 30, replace [b]Identifier "Keyboard" by Identifier "Keyboard0"
near line 31, replace Driver "Keyboard" by Driver "keyboard"

note the minus "k" instead "K" of "keyboard" !!!

near line 116, replace InputDevice "Keyboard" "CoreKeyboard" by InputDevice "keyboard0" "CoreKeyboard"

It's better to modify lines 35 and 36 to match your keyboard configuration. By example like this (french) :

Option "XkbModel" "pc105"
Option "XkbLayout" "fr-latin9"

[end warning]

6. Re-edit the file /etc/ttys and uncomment the line :

ttyv8 "/usr/local/bin/kdm" xterm on secure

7. It's time to reboot and found your favorit KDE environnement under PCBSD..

8. In an X terminal, launch the VMware Tools background application :

vmware-toolbox &

All VMware tools are available except shared folders. I will inform vmware of this solution and ask them the possibility to share folders under FreeBSD.

Best regards,


10-27-2005, 04:45 PM
Thank you very mach for this info :D

10-27-2005, 05:13 PM
Can somebody tell me where I can dowload the vmware tools from?

The links on the vmware website are all 404-dead


10-28-2005, 09:31 PM
The vmware tools comes with the distrib !

Go in the VM menu, choose "Install VMware Tools..." and follow the instructions given here.

11-01-2005, 02:21 PM
I try to install PC-BSD on Windows throught NMWare but can not start graphics mod.. :( . In NMWare no support PC-BSD?

11-02-2005, 06:06 AM
I try to install PC-BSD on Windows throught NMWare but can not start graphics mod.. :( . In NMWare no support PC-BSD?

d-rap helped me with a VMWare problem I was having.

try here -> http://www.pcbsd.org/forums/viewtopic.php?t=1532

11-13-2005, 02:05 AM
d-rap, thanks for the VMware Tools install info, it woked fine for me. The problem is I do not have sound.

Is there anyone having sound in pcbsd using vmware?

11-15-2005, 09:25 PM
I have a SoundMAX Integrated Digital Audio (ACí97 hardware CODEC installed on the ASUS motherboard) and the sound is ok under pcbsd (not midi under vmware :? ).

verify in the kde configuration center that the sound system is activated.

11-20-2005, 08:45 AM
Goodday d-rap

Im very new to PC-BSD, got it this morning :)

Im having trouble getting the VMWare-Tools to work properly.

Ive followed your walkthrough step-by-step to the letter, yet when the kde
starts up, I get the following message:

PCBSD kdm[716]: X server for display :0 terminated unexpectedly
PCBSD kdm[716]: Unable to fire up local display :0; disabling.

Ive reinstalled PCBSD about 2682^972 times now and I just cant get it to work. Is it possible that something has changed with rc1 ?

near line 30, replace Identifier "Keyboard" by Identifier "Keyboard0" Is the 0 a number or a letter ? Im going with a number.

My Guest operating system is setup for FreeBSD.

Im using vmware 5, XP SP2, PCBSD-1.0rc1-x86-CD1.iso

Thank you

11-20-2005, 05:10 PM

There's nothing changed last 0.8.2 and yes, Keyboard0 is with a terminal zero.

below it's my actual xorg.conf (for 1280*1024 and french keyboard). Forget the last three lines if you want. It's for tranparency but the system become too slow for me

# VMware SVGA

Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Load "type1"
Load "freetype"
# Load "glx"

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
# FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
# ModulePath "/usr/X11R6/lib/modules"

Section "ServerFlags"
# Option NoTrapSignals

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr-latin9"
Option "XkbCompat" ""

Section "InputDevice"
Identifier "Mouse1"
Driver "vmmouse"
Option "Protocol" "SysMouse"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5"
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# Option "ChordMiddle"

Section "Monitor"
Identifier "vmware"
VendorName "VMware, Inc"
HorizSync 1-10000
VertRefresh 1-10000

ModeLine "640x480" 100 640 700 800 900 480 500 600 700
ModeLine "800x600" 100 800 900 1000 1100 600 700 800 900
ModeLine "1024x768" 100 1024 1100 1200 1300 768 800 900 1000
ModeLine "1152x864" 100 1152 1200 1300 1400 864 900 1000 1100
ModeLine "1152x900" 100 1152 1200 1300 1400 900 1000 1100 1200
ModeLine "1280x1024" 100 1280 1300 1400 1500 1024 1100 1200 1300
ModeLine "1376x1032" 100 1376 1400 1500 1600 1032 1100 1200 1300
ModeLine "1600x1200" 100 1600 1700 1800 1900 1200 1300 1400 1500
ModeLine "2364x1773" 100 2364 2400 2500 2600 1773 1800 1900 2000

Section "Device"
Identifier "VMware SVGA"
Driver "vmware"


Section "Screen"
Identifier "Screen 1"
Device "VMware SVGA"
Monitor "vmware"

# Don't specify DefaultColorDepth unless you know what you're
# doing. It will override the driver's preferences which can
# cause the X server not to run if the host doesn't support the
# depth.

Subsection "Display"
# VGA mode: better left untouched
Depth 4
Modes "640x480"
ViewPort 0 0
Subsection "Display"
Depth 8
Modes "1280x1024"
ViewPort 0 0
Subsection "Display"
Depth 15
Modes "1280x1024"
ViewPort 0 0
Subsection "Display"
Depth 16
Modes "1280x1024"
ViewPort 0 0
Subsection "Display"
Depth 24
Modes "1280x1024"
ViewPort 0 0

Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"

Section "Extensions"
Option "Composite" "Enable"

Try this command in a root console :

cat /var/log/Xorg.0.log | grep EE

You will see all the errors reported by the X server. Give us the result. It's will be more usuable to help you.


11-21-2005, 09:56 PM

Thank you for your help!

I Used: cat /var/log/Xorg.0.log | grep EE and I saw that I accidently edited the Mouse1 Corepointer, I replaced one of the " with a - :oops:

Now onto my next big step! installing FireFox :shock:

09-21-2006, 08:21 PM
In reference to this thread just the following update:

There is no need to run the vmware-tools installation outside of X anymore. After installation, simply select "install wmware tools" from the menu (if your host OS is windows) and the tools will be mounted as a CD-ISO. Un-ark (unzip) the installation files to somewhere suitable (use /tmp if you want the sources to be removed automatically at the next restart) and run the installation script. It just works!

I'm using WMWare server 1.0.1 with PC-BSD 1.2 and no problems.