WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: LXDE and open-vm-tools-desktop  (Read 2571 times)

Offline krooooo

  • Jr. Member
  • **
  • Posts: 66
LXDE and open-vm-tools-desktop
« 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

Offline andyj

  • Hero Member
  • *****
  • Posts: 1032
Re: LXDE and open-vm-tools-desktop
« Reply #1 on: December 28, 2015, 09:18:06 AM »
That's a little vague. Could you be more specific?

Offline krooooo

  • Jr. Member
  • **
  • Posts: 66
Re: LXDE and open-vm-tools-desktop
« Reply #2 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

Offline andyj

  • Hero Member
  • *****
  • Posts: 1032
Re: LXDE and open-vm-tools-desktop
« Reply #3 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.

Offline krooooo

  • Jr. Member
  • **
  • Posts: 66
Re: LXDE and open-vm-tools-desktop
« Reply #4 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?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11515
Re: LXDE and open-vm-tools-desktop
« Reply #5 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.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1032
Re: LXDE and open-vm-tools-desktop
« Reply #6 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.