You are not logged in.

#1 2014-11-05 20:36:25

melvinvermeeren
Member
From: Netherlands
Registered: 2014-11-03
Posts: 4
Website

[SOLVED] - VMWare: open-vm-tools runs without errors, but doesn't work

Hi guys,

I've recently decided to switch to Linux for programming in C++ since I got tired of all the problems with on Windows.
I installed Arch on my laptop, works perfectly and I'm really enjoying it so far!

Now I'd also like it as a virtual machine on my desktop (Windows 7 64-bit) since dual-booting isn't really an option for me.
So I decided to make use of VMWare (Workstation, 10.0.4 build-2249910) and installing the same setup that I have on my laptop (basically KDE 5).

Installing went smooth, it booted, installed KDE 5 and the other stuff. Everything works, although 800x600 makes it hard to work with.

Installed open-vm-tools (the "official" ones don't seem to work at all, probably because of the new kernel).
Of course I also grabbed open-vm-tools-dkms from the AUR, Aditu's version which he posted in a comment on 2014-10-24 19:02.
It installed correctly, I enabled the service. Every time I check the service it runs without any problems.
xf86-input-vmmouse, xf86-video-vmware, and svga-dri are also installed.

I also added the modules to mkinitpico.conf which should fix autofit problems, but that didn't work either.
Besides that I also tried the xorg example config for VMWare, but no success with that either.
So I started searching the web, couldn't find anything that worked (for example this).

I checked xorg logs, bootup logs, and some other stuff I forgot about already but I couldn't find anything there either.

However, upon trying commands with vmware-toolbox-cmd I get the following:

[melvin@melvin-pc-archlinux ~]$ vmware-toolbox-cmd stat sessionid
UpdateInfo failed: VMware Guest API is not enabled on the host

The result in the same for other commands, running as root doesn't change anything either.

Another thing I found in the VMWare log (on the host):

2014-11-05T16:52:49.211+01:00| vcpu-5| I120: serial0: Failed to enforce the noRxLoss option: an overrun occurred while the virtual UART was in loopback mode.
2014-11-05T16:52:49.211+01:00| vcpu-5| I120: serial0: Overrun
2014-11-05T16:52:49.211+01:00| vcpu-5| I120: serial0: Failed to enforce the noRxLoss option: an overrun occurred while the virtual UART was in loopback mode.
2014-11-05T16:52:49.211+01:00| vcpu-5| I120: serial0: Overrun
2014-11-05T16:52:49.211+01:00| vcpu-5| I120: serial0: Failed to enforce the noRxLoss option: an overrun occurred while the virtual UART was in loopback mode.
2014-11-05T16:52:49.211+01:00| vcpu-5| I120: serial0: Overrun
2014-11-05T16:52:49.232+01:00| vcpu-5| I120: serial1: Overrun
2014-11-05T16:52:49.232+01:00| vcpu-5| I120: serial1: Overrun
2014-11-05T16:52:49.232+01:00| vcpu-5| I120: serial1: Overrun
2014-11-05T16:52:49.232+01:00| vcpu-5| I120: serial1: Overrun

Basically there are like 750 lines like that, but I wouldn't know if they have anything to do with the problem.

In VMWare self the "fit guest now" option is disabled. xrandr shows a bunch of what I think are default resolutions. Loading a EDID file for my monitor didn't change those.
Trying to force a resolution with:

xrandr -s 1920x1440

doesn't work, it looks like the window zooms in to a tiny portion of the top-left of the screen. Only 800x600 works properly.

I'm pretty stuck right now, and I'm sure this can work since it would be abandoned if it didn't I guess.

Does anybody know a solution for this?

If you need more information or logs let me know, I'll do my best.

Regards,

Melvin.

Last edited by melvinvermeeren (2014-11-07 11:17:09)

Offline

#2 2014-11-06 06:00:19

hydrosIII
Member
Registered: 2013-04-04
Posts: 127

Re: [SOLVED] - VMWare: open-vm-tools runs without errors, but doesn't work

I know that this doesn't answer your question. But... have you tried virtualbox?? It is opensource so it is well suported in linux. You can reuse the already installed disk image and try it in virtualbox.

Offline

#3 2014-11-06 15:14:20

melvinvermeeren
Member
From: Netherlands
Registered: 2014-11-03
Posts: 4
Website

Re: [SOLVED] - VMWare: open-vm-tools runs without errors, but doesn't work

Alright, just dumped VMWare and reinstalled everything in VirtualBox.
Everything works, and it boots faster too!

However, turning 3D acceleration on in the host causes the Xorg server to hang, which is apparently a common problem.
Is it possible to fix that at all? Or do I have to live without 3D acceleration?

Thanks,

Melvin.

Offline

#4 2014-11-06 18:58:02

hydrosIII
Member
Registered: 2013-04-04
Posts: 127

Re: [SOLVED] - VMWare: open-vm-tools runs without errors, but doesn't work

well i think so, i have never had these problem, but some people use emulation for gaming. But it would be the other way, ussing a windows 7 guest. I dont think these emulators are made for 3d acceleration. You can try to install virtualbox guest additions. Maybe it will help. But i do not know further, sorry.

Last edited by hydrosIII (2014-11-06 18:58:35)

Offline

#5 2014-11-07 11:16:45

melvinvermeeren
Member
From: Netherlands
Registered: 2014-11-03
Posts: 4
Website

Re: [SOLVED] - VMWare: open-vm-tools runs without errors, but doesn't work

Yeah that's the main reason I just can't switch my main OS on my desktop, besides gaming things like SVP (smooth video project) are only available for Windows right now.
I guess I'll keep 3D acceleration disabled for now, thanks for your help.

Offline

#6 2014-11-21 22:46:35

Fallback
Member
From: Austria
Registered: 2009-12-26
Posts: 25

Re: [SOLVED] - VMWare: open-vm-tools runs without errors, but doesn't work

I have the same problem with autofit. I also tried everything in the wiki like melvinvermeeren, except new xorg config.

Maybe I found the source of the problem.
After I start  vmware-user-suid-wrapper manually autofit mode works.
It only throw a error:

vmware-user: could not open /proc/fs/vmblock/dev

https://bbs.archlinux.org/viewtopic.php … 9#p1081629

Last edited by Fallback (2014-11-21 23:09:55)

Offline

#7 2015-05-08 05:15:27

eduncan911
Member
Registered: 2015-05-02
Posts: 93
Website

Re: [SOLVED] - VMWare: open-vm-tools runs without errors, but doesn't work

Fallback wrote:

I have the same problem with autofit. I also tried everything in the wiki like melvinvermeeren, except new xorg config.

Maybe I found the source of the problem.
After I start  vmware-user-suid-wrapper manually autofit mode works.
It only throw a error:

vmware-user: could not open /proc/fs/vmblock/dev

https://bbs.archlinux.org/viewtopic.php … 9#p1081629

Fyi, this link points to a resolution when using the Open VM Tools. 

I'm chiming in to say I've resolved this with pure VMware tools installed.  I've updated the wiki page today to reflect what is needed:

https://wiki.archlinux.org/index.php/VM … as_a_guest

Specifically the section that describes how to install systemd services for vmware-vmblock-fuse, which is required to enable /proc/fs/vmblock/dev.

Afterwards, folder sharing, smooth mouse in/out, autofocus, raw mouse inputs, etc all started working under Xorg (in my case, Gnome 3.16 and i3).

Offline

#8 2016-08-17 18:25:19

KFrench
Member
Registered: 2016-08-17
Posts: 1

Re: [SOLVED] - VMWare: open-vm-tools runs without errors, but doesn't work

eduncan911 wrote:
Fallback wrote:

I have the same problem with autofit. I also tried everything in the wiki like melvinvermeeren, except new xorg config.

Maybe I found the source of the problem.
After I start  vmware-user-suid-wrapper manually autofit mode works.
It only throw a error:

vmware-user: could not open /proc/fs/vmblock/dev

https://bbs.archlinux.org/viewtopic.php … 9#p1081629

Fyi, this link points to a resolution when using the Open VM Tools. 

I'm chiming in to say I've resolved this with pure VMware tools installed.  I've updated the wiki page today to reflect what is needed:

https://wiki.archlinux.org/index.php/VM … as_a_guest

Specifically the section that describes how to install systemd services for vmware-vmblock-fuse, which is required to enable /proc/fs/vmblock/dev.

Afterwards, folder sharing, smooth mouse in/out, autofocus, raw mouse inputs, etc all started working under Xorg (in my case, Gnome 3.16 and i3).


I went to the section regarding vmware-vmblock-fuse and was hit with authorization errors. Here is my output. Pretty big newb here so sorry if I am missing something obvious:

➜  ~ sudo systemctl enable vmware-vmblock-fuse 
Failed to execute operation: Access denied
➜  ~ sudo systemctl enable dkms
Failed to execute operation: Access denied

I can't do any of the things the wiki is telling me to do even as root.

Offline

#9 2018-08-02 05:54:05

necktwi
Member
Registered: 2018-07-12
Posts: 20

Re: [SOLVED] - VMWare: open-vm-tools runs without errors, but doesn't work

My graphical environment is latest  gnome with wayland. I too have same problem as melvinvermeeren. When I do

sudo vmware-user-suid-wrapper

as suggested by @Fallback, it says

No protocol specified
(vmware-user:1533): Gtk-WARNING **: 11:12:12.851: cannot open display: :0

Is it something to do with wayland although wayland emulates xorg?

Offline

#10 2018-08-02 11:19:44

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: [SOLVED] - VMWare: open-vm-tools runs without errors, but doesn't work

Please do not necrobump old threads, especially when they are marked as solved.

https://wiki.archlinux.org/index.php/Co … bumping.22

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB