turbotiga
Contributor
Contributor

Solaris 10 Guest in ESX 3.5 without X installed. Cannot install VMWare Tools.

root # vmware-config-tools.pl

It looks like you are trying to run this program in a remote session. This

program will temporarily shut down your network connection, so you should only

run it from a local console session. Are you SURE you want to continue?

yes

Stopping VMware Tools services in the virtual machine:

Guest operating system daemon: done

Guest memory manager: done

The vmxnet driver will not be installed since the e1000 device is the supported

high performance networking device for 64-bit systems.

No X install found.

Unable to copy the source file

/usr/lib/vmware-tools/configurator/autostart-vmware-user.sh to the destination

file /usr/dt/config/Xsession.d/9999.autostart-vmware-user.sh.

Execution aborted.

root #

Any help is appreciated ... kind regards, thomas

Reply
0 Kudos
mikepodoherty
Expert
Expert

Have you checked ownership and permissions? I've usually seen this error when there is a ownership/permissions mismatch but it could also be caused by no destiation directory. /usr/dt/config/Xsession.d would be where the XWindows information is located.

Do you have a /usr/dt/config/Xsession.d directory? - if not you can try creating the directory.

Try the ls -l command on the directories and make sure the onership/permissions are the same. If they aren't use the chown command to set them the same.

HTH

Mike

turbotiga
Contributor
Contributor

Hi Mike,

thanx for the quick feedback. I created the directory by hand and run the script again which then works (at least ESX Server says, VMWare Tools are ok).

But this doesnt answer my question. This is a server, there is no X installed, so /usr/dt/... is not existing (grep /usr/dt /var/sadm/install/contents).

I don't understand why the config.pl tries to copy the file, when it has already detected, there is no X.

$result = configure_X();

$gFeatureInstallResults[$cFeatureInstallIDs{'xserver'}] =

$result eq 'no' ? $cFeatureInstallFailed : $cFeatureInstalled;

... instead of ... cannot work

if (vmware_product() eq 'tools-for-linux' ||

vmware_product() eq 'tools-for-solaris') {

configure_autostart();

}

should'nt it do something like

if ($result eq 'yes' && (vmware_product() eq 'tools-for-linux' ||

vmware_product() eq 'tools-for-solaris')) {

configure_autostart();

}

kind regards, thomas

Reply
0 Kudos
mikepodoherty
Expert
Expert

Thomas,

Can't answer why the script still tries to install after detecting no X server. However have seen this over the years so the quick fix is to create the directory. The longer fix is to edit the script to comment out the commands. I can make the directories far quicker.

BTW, If you found the answers helpful or useful, please consider awarding points.

Mike

Reply
0 Kudos