FS#75825 - [open-vm-tools] vmware-user.desktop randomly failed to start

Attached to Project: Community Packages
Opened by Xeonacid (Xeonacid) - Tuesday, 06 September 2022, 13:54 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 07 September 2022, 04:57 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

https://github.com/vmware/open-vm-tools/issues/568
vmware-user-suid-wrapper randomly failed to start with a timeout state when using systemd, making copy & paste not work.
We should add a wrapper like what openSUSE does. (https://github.com/vmware/open-vm-tools/issues/568#issuecomment-1178736806) This wrapper works fine on my machine.

Steps to reproduce:
1. Install Arch as VMware guest, use a WM/DE like KDE in my case
2. Install open-vm-tools
3. Boot to graphical.target. Copy & paste not working. Systemd log shows as below (from the issue):
$ systemctl --user --all status

× app-vmware\x2duser@autostart.service - VMware User Agent
Loaded: loaded (/etc/xdg/autostart/vmware-user.desktop; generated)
Active: failed (Result: timeout) since Fri 2022-07-08 18:36:15 NZST; 7min ago
Docs: man:systemd-xdg-autostart-generator(8)
Process: 726 ExecStart=/usr/bin/vmware-user-suid-wrapper (code=exited, status=0/SUCCESS)
Main PID: 726 (code=exited, status=0/SUCCESS)
CPU: 235ms

Jul 08 18:36:10 eos-kde systemd[528]: Starting VMware User Agent...
Jul 08 18:36:11 eos-kde vmtoolsd[728]: gtk_disable_setlocale() must be called before gtk_init()
Jul 08 18:36:15 eos-kde systemd[528]: app-vmware\x2duser@autostart.service: start operation timed out. Terminating.
Jul 08 18:36:15 eos-kde systemd[528]: app-vmware\x2duser@autostart.service: Failed with result 'timeout'.
Jul 08 18:36:15 eos-kde systemd[528]: Failed to start VMware User Agent.
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 07 September 2022, 04:57 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#75331 

Loading...