vmware-archive / vivace

Other
4 stars 6 forks source link

open-vm-tools-desktop? #31

Open spawnflagger opened 3 years ago

spawnflagger commented 3 years ago

Hello, I noticed that there was a package open-vm-tools-vivace in 0.2, but is gone in the current 3.0. I'm not sure if that had the GUI functionality of other distro's open-vm-tools-desktop package, but this Issue is to request that open-vm-tools-desktop be added to the vivace repo, such that one can get the auto-resize Xorg feature when resizing the window from VMware Fusion, Workstation, Player, etc. Having the mouse pointer "auto-escape" without hotkey would be useful as well. (clipboard sync would be a bonus, but not a big deal)

open-vm-tools was already installed as part of Photon OS 3.0.

I plan to use Photon OS + Vivace as a minimal VM to test GUI apps within a Docker container (by mapping volume /tmp/.X11-unix/ ) It seems that the vui meta-package installs a lot of libraries - are all of those required for Xorg/dwm? or were many of them needed just for Firefox?

YustasSwamp commented 3 years ago

Hi @spawnflagger Original open-vm-tools from Photon repository will also work for screen resize, not sure about mouse escape.

As you mentioned vui comes with Xorg, dwm and firefox. Firefox introduces only extra ~15% of packages. The biggest package required by Xorg (mesa) is LLVM (more than 600MB). In Photon 4.0 we split llvm-libs (only 60MB) which is bare minimal for mesa.

May I ask, what prototype or project are you working on? Is it in VMware?

spawnflagger commented 3 years ago

Hello @YustasSwamp , I'm running Fusion Pro 12.1.2 on macOS 11.5.2, did a tdnf update of the Photon OS 3.0 release 3 OVA, and now it's at PHOTON_BUILD_NUMBER=11dd065. systemctl status vmtoolsd shows that it's running, however when I run startx , dwm starts, but resizing the window only scales it (xwininfo confirms it's 800x600). Is there additional dwm or xorg.conf config required to enable "resize the virtual machine" option ? Other Windows & Linux VMs are behaving as expected (the VM Tools are installed)

The main GUI apps are different versions of Firefox & Chromium for kiosk, and since containers are stateless, should be safer if malicious sites are visited, and could auto-restart quickly between users.