NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.08k stars 14.06k forks source link

parallels-guest.nix clipboard intermittently broken #245259

Open jamesla opened 1 year ago

jamesla commented 1 year ago

Describe the bug

Two copies of parallels clipboard manager daemon prlcp are started when installing parallels guest tools via the following:

hardware.parallels = {
  enable = true;
};

This creates a race condition with the clipboard which is both slow and non-performant as well as sometimes not copying or pasting and requiring you to hit copy or paste twice.

Temporary workaround appears to be:

ps -A | grep prlcp
kill %id of second prlcp%

I am unsure how to resolve in the nix package so posting it here.

I've also reproduced this on a seperate fresh machine that has nothing installed but nixos and prltools.`

Duplicate processes here:

image

jamesla commented 1 year ago

@wegank @catap any ideas on this one?