spaillet
Contributor
Contributor

Can't launch VMRC on Debian Buster

Jump to solution

Hello, since upgrading my computers from Debian Stretch to Buster (stable version), I can't launch VMRC anymore (even with VMRC 9.0 which worked in Stretch).

Errors examples I have in the apploader log file :

/usr/lib/vmware/lib/libz.so.1/libz.so.1: version `ZLIB_1.2.9' not found (required by /lib/x86_64-linux-gnu/libpng16.so.16)

Child process was terminated with signal 11.

Unable to load dependencies for /usr/lib/vmware/lib/libvmrc.so/libvmrc.so

Unable to execute /usr/lib/vmware/bin/vmrc.

+ so many libs located in /usr/lib/vmware marked as SHIPPED or INVALID.

I can post the log file if needed.

Can you help me ? I'm blocked, and I can't work correctly daily without it (Remote Web console isn't efficient, even in VCSA 6.5)

Thank you so much.

0 Kudos
1 Solution

Accepted Solutions
zarrx
Contributor
Contributor

This fix works

Computer Salad: Using VMware Remote Console on Debian Linux

"

so I ended up creating a temporary symlink to appLoader as /tmp/vmrc and calling that from the script:

#!/bin/bash

# Set the library and bin directories

LIBDIR="/usr/lib/vmware/lib"

BINDIR="/usr/lib/vmware/bin"

# Clear the LD_LIBRARY_PATH

LD_LIBRARY_PATH=""

# Build the LD_LIBRARY_PATH with all of the $LIBDIR subdirectories

for dir in $(find ${LIBDIR} -type d) ; do

    LD_LIBRARY_PATH="${dir}:${LD_LIBRARY_PATH}"

done

export LD_LIBRARY_PATH

# Create a temporary symlink to appLoader in /tmp and run it

ln -s ${BINDIR}/appLoader /tmp/vmrc

/tmp/vmrc $*

# Delete the symlink and exit

rm -f /tmp/vmrc

exit 0

Simply delete /usr/lib/vmware/bin/vmrc and replace it with this script, and it works!"

I personally renamed my vmrc executable and used sudo nano vmrc > paste script > save and it worked for me

View solution in original post

0 Kudos
5 Replies
zarrx
Contributor
Contributor

This fix works

Computer Salad: Using VMware Remote Console on Debian Linux

"

so I ended up creating a temporary symlink to appLoader as /tmp/vmrc and calling that from the script:

#!/bin/bash

# Set the library and bin directories

LIBDIR="/usr/lib/vmware/lib"

BINDIR="/usr/lib/vmware/bin"

# Clear the LD_LIBRARY_PATH

LD_LIBRARY_PATH=""

# Build the LD_LIBRARY_PATH with all of the $LIBDIR subdirectories

for dir in $(find ${LIBDIR} -type d) ; do

    LD_LIBRARY_PATH="${dir}:${LD_LIBRARY_PATH}"

done

export LD_LIBRARY_PATH

# Create a temporary symlink to appLoader in /tmp and run it

ln -s ${BINDIR}/appLoader /tmp/vmrc

/tmp/vmrc $*

# Delete the symlink and exit

rm -f /tmp/vmrc

exit 0

Simply delete /usr/lib/vmware/bin/vmrc and replace it with this script, and it works!"

I personally renamed my vmrc executable and used sudo nano vmrc > paste script > save and it worked for me

0 Kudos
shareandgain
VMware Employee
VMware Employee

Hi!

We didn't test VMRC on the Debian Buster (since there are too many Linux distributions :smileysilly:), but we did tests on its corresponding ubuntu releases, VMRC 10.0.6 should work well on ubuntu 10.04 and 19.04, could you please try to upgrade the VMRC to 10.0.6?

Actually, we upgrade 3rd party libs shipped with VMRC in every release to eliminate security vulnerabilities and package compatibility issues.

0 Kudos
zarrx
Contributor
Contributor

10.0.6 does not work on Ubuntu, I used my above post to be able to work from my Debian machine. Ubuntu 18.04 is working ok.

0 Kudos
zarrx
Contributor
Contributor

10.0.6 does not work on ​Debian Buster*

0 Kudos
spaillet
Contributor
Contributor

It works !

Thank you so much ! I needed to use a Stretch machine to access to VMs by VMRC since I migrated my main computer on Buster.

You make my day sir Smiley Happy

Your workaround should be pinned on top of GNU / Linux users forum in VMware communities.

Have a nice evening.

0 Kudos