Problem with shared VM between multiple accounts on macOS

Discussion in 'Parallels Desktop on a Mac with Apple silicon' started by jhi, Feb 5, 2024.

  1. jhi

    jhi Bit poster

    Messages:
    2
    I created a Windows 11 VM on a MacBook Pro M3 Pro, running 14.3.

    Everything does work fine: created VM with user1, VM is created at /Users/user1/Parallels/Windows 11.pvm. Then I moved the file (sparse bundle) to a different location shared by other macOS users (e.g. /System/Volumes/Data/SharedData/Parallels). VM still works fine, could be started by user1.
    Then I tried to start the VM with user2, which has enough permissions on macOS layer (common group has R/W permissions, enforced for all subdirectories).
    When I try to start VM, it does NOT start at all.

    I searched a bit, and followed these instructions:
    https://kb.parallels.com/en/9303#:~:text=If you want to share,of the virtual machine's files
    No errors when changing file permissions (sudo chmod -R og+rwx /System/Volumes/Data/SharedData/Parallels/Windows-VM/Windows\ 11.pvm), checking with "ls -al" I see rwx permissions.

    I checked the parallels.log inside sparse bundle. I see a difference that --dir-uuid is different when starting as user1 and user2. See excerpt from logs when it did start successfully, and when it did NOT start at all.

    Any idea what's wrong?
    Thanks, Jo

    # start did work
    02-05 17:38:58.563 F /vm:4309:18b09/ ***** VM process started
    02-05 17:38:58.591 F /vm:4309:18b09/ Vm args '/Applications/Parallels Desktop.app/Contents/MacOS//Parallels VM.app/Contents/MacOS/prl_vm_app' '--vm-name' 'Windows 11' '--uuid' '{f8ba96a6-d284-445f-8469-62764a084ccb}' '--dir-uuid' '{f2e58fe4-830a-4a3d-8112-52429171bfec}' '--log-dir' '/System/Volumes/Data/SharedData/KNX-ETS/Windows-VM/Windows 11.pvm'
    02-05 17:38:58.592 F /prldirs:4309:18b09/ ParallelsDirs::Init( ) was called. Current app mode = 1 ( DESKTOP ) build version: 19.2.1 (54832) Wed, 20 Dec 2023 13:46:14
    02-05 17:38:58.592 F /vm:4309:18b09/ Parallels Virtual Machine Constructed
    02-05 17:38:58.595 F /StateMachine:4309:18b09/ SARE state(unknown): initialized to SareStateStart
    02-05 17:38:58.595 F /StateMachine:4309:18b09/ VM state(unknown): initialized to VmStateNone
    02-05 17:38:58.604 F /StateMachine:4309:18b09/ VM state(VmStateNone): enqueued 'VmLocalCmdStart'(20001) command
    # more logs following


    # start did NOT work
    02-05 17:40:01.143 F /vm:4360:19437/ ***** VM process started
    02-05 17:40:01.174 F /vm:4360:19437/ Vm args '/Applications/Parallels Desktop.app/Contents/MacOS//Parallels VM.app/Contents/MacOS/prl_vm_app' '--vm-name' 'Windows 11' '--uuid' '{f8ba96a6-d284-445f-8469-62764a084ccb}' '--dir-uuid' '{eaf1c526-4b04-437d-8c74-2fd7cede4b78}' '--log-dir' '/System/Volumes/Data/SharedData/Parallels/Windows-VM/Windows 11.pvm'
    02-05 17:40:01.174 F /prldirs:4360:19437/ ParallelsDirs::Init( ) was called. Current app mode = 1 ( DESKTOP ) build version: 19.2.1 (54832) Wed, 20 Dec 2023 13:46:14
    02-05 17:40:01.175 F /vm:4360:19437/ Parallels Virtual Machine Constructed
    02-05 17:40:01.178 F /StateMachine:4360:19437/ SARE state(unknown): initialized to SareStateStart
    02-05 17:40:01.178 F /StateMachine:4360:19437/ VM state(unknown): initialized to VmStateNone
    # no further logs found
     
  2. jhi

    jhi Bit poster

    Messages:
    2
    I did solve that problem meanwhile by myself.
    When I "moved" the Windows VM from /Users/user1/Parallels/Windows 11.pvm to /System/Volumes/Data/SharedData/Parallels/Windows 11.pvm, I did that using macOS finder.

    Now, I did a "clone" inside Parallels of Windows VM from /Users/user1/Parallels/Windows 11.pvm to /System/Volumes/Data/SharedData/Parallels/Windows 11.pvm.
    Then changing file permissions with chmod, afterwards I could start the VM also from user2.
     

Share This Page