Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: krooooo on December 27, 2015, 06:54:04 PM

Title: LXDE and open-vm-tools-desktop
Post by: krooooo on December 27, 2015, 06:54:04 PM
On dCore-trusty, xfec4 well worked with open-vm-tools-desktop, but LXDE do not, how to make open-vm-tools-desktop worked in LXDE?

thanks
Title: Re: LXDE and open-vm-tools-desktop
Post by: andyj on December 28, 2015, 09:18:06 AM
That's a little vague. Could you be more specific?
Title: Re: LXDE and open-vm-tools-desktop
Post by: krooooo on December 28, 2015, 11:18:49 AM
That's a little vague. Could you be more specific?

Yes.

xfce4 + open-vm-tools-desktop:  text copy and paste, file drag and drop, auto resize guest display are all OK

lxde + open-vm-tools-desktop: text copy and paste, file drag and drop, auto resize guest display are all not work

"shared folders" can't be used whatever  xfce4 or lxde

lxde + open-vm-tools-desktop only do not need to type Ctrl + Alt to turn to host
Title: Re: LXDE and open-vm-tools-desktop
Post by: andyj on December 28, 2015, 09:22:09 PM
Are you starting vmware-user in your .xsession file? Do you have shared enabled always in the host? Try using ldd for all the executables and libraries in the /tmp/tcloop/open-vmtools tree and see if there is a missing dependency.
Title: Re: LXDE and open-vm-tools-desktop
Post by: krooooo on December 29, 2015, 04:33:51 AM
Are you starting vmware-user in your .xsession file?

how to do this?

Do you have shared enabled always in the host?

Yes

Try using ldd for all the executables and libraries in the /tmp/tcloop/open-vmtools tree and see if there is a missing dependency.

What is ldd?
Title: Re: LXDE and open-vm-tools-desktop
Post by: Rich on December 29, 2015, 10:11:13 AM
Hi krooooo
Running  ldd  on a program or library will list its dependencies and where they were found:
Code: [Select]
tc@box:~/tc6/squashfs-root/usr/local/lib$ ldd ./libgobject-2.0.so
        linux-gate.so.1 =>  (0xb78c6000)
        libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0xb7765000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb774f000)
        libffi.so.6 => not found
        libc.so.6 => /lib/libc.so.6 (0xb7644000)
        librt.so.1 => /lib/librt.so.1 (0xb763b000)
        /lib/ld-linux.so.2 (0xb78c7000)
If a dependency is missing, it is listed as  not found.
Title: Re: LXDE and open-vm-tools-desktop
Post by: andyj on December 29, 2015, 04:14:04 PM
Per the comments in the app browser:

Add to ~/.xsession after mouse-config:
[ $(which vmware-checkvm) ] && [ vmware-checkvm ] && vmware-user &

Most of VM tools is a user land application. YOU have to start it when you're ready, and usually this means when X is starting. If you're not using X you would add it to ~/.profile. The service part handles things like shutdown from the host. It starts from /etc/init.d/open-vm-tools. It should run when the extension is loaded, but you can try running it from the command line to see if it is throwing an error. /usr/local/bin/vmtoolsd must be running for the tools to work.