UTM icon indicating copy to clipboard operation
UTM copied to clipboard

share folder don't work on mac m1 host , winxp x86 guest

Open fastfading opened this issue 2 years ago • 18 comments

https://github.com/utmapp/UTM/discussions/3625

winxp share folder don't work on mac m1

fastfading avatar May 09 '22 06:05 fastfading

related to https://github.com/utmapp/UTM/issues/311 this wiki https://github.com/utmapp/UTM/wiki/Useful-tips is out of date

Open Services (run services.msc) and Stop & Disable the "Spice webdav proxy" service Create a file called service.bat containing the following line and copy it to C:\Program Files\SPICE webdavd\ folder: "C:\Program Files\SPICE webdavd\bin\spice-webdavd.exe" -p 80 --no-service there is no "Spice webdav proxy" service and there is no "C:\Program Files\SPICE webdavd\bin\spice-webdavd.exe"

fastfading avatar May 09 '22 07:05 fastfading

Weird. On my VM it works flawlessly. (Windows 10 x64 Build 21H1, hosted on Mac M1) and these files do exist. Are you sure you installed Spice tools ? You should mount the spice tools image as a disk image so you can run it as a virtual CD on which the Spice installer exists.

freebrowser1 avatar May 09 '22 08:05 freebrowser1

@freebrowser1 This issue is about a Windows XP guest, not 10.

related to #311 this wiki https://github.com/utmapp/UTM/wiki/Useful-tips is out of date

Open Services (run services.msc) and Stop & Disable the "Spice webdav proxy" service Create a file called service.bat containing the following line and copy it to C:\Program Files\SPICE webdavd\ folder: "C:\Program Files\SPICE webdavd\bin\spice-webdavd.exe" -p 80 --no-service there is no "Spice webdav proxy" service and there is no "C:\Program Files\SPICE webdavd\bin\spice-webdavd.exe"

Should this be updated in the Wiki? @fastfading

conath avatar May 09 '22 20:05 conath

Maybe your XP is probably 32 bits and Spice tools is 64 bits ?

freebrowser1 avatar May 10 '22 18:05 freebrowser1

related to #311 this wiki https://github.com/utmapp/UTM/wiki/Useful-tips is out of date

Open Services (run services.msc) and Stop & Disable the "Spice webdav proxy" service Create a file called service.bat containing the following line and copy it to C:\Program Files\SPICE webdavd\ folder: "C:\Program Files\SPICE webdavd\bin\spice-webdavd.exe" -p 80 --no-service there is no "Spice webdav proxy" service and there is no "C:\Program Files\SPICE webdavd\bin\spice-webdavd.exe"

In the FIRST STEP you must DOWNLOAD AND INSTALL SPICE WEBDAV PROXY.

Indeed, I did everything mentioned into this link and it doesn't worked to me =(

viniavila avatar May 11 '22 17:05 viniavila

I also did everything as I was supposed to but no joy.

  • spice webdavd 2.2 (the last version that will work on XP)
  • errors in the image below

Screen shot 2022-09-07 at 16 45 34

gingerbeardman avatar Sep 07 '22 15:09 gingerbeardman

Same here with both XP and Windows 7. I cannot use WebDAV.

brunocastello avatar Jan 22 '23 02:01 brunocastello

I ended up using VMware Fusion: running latest ARM Windows due backwards compatibility (even Intel apps) and also remotely running some old VMs on a PC running ESXi.

gingerbeardman avatar Jan 22 '23 15:01 gingerbeardman

I can't even get networking going. Anyone else managed to get WInXP connected to the internet on Apple silicon. I'm using the WInXP_SP3 pro install disk and the UTM gallery VM template.

palmerj avatar Apr 12 '23 05:04 palmerj

I did this to get connected to network drive

  • Macbook Air m1 / Ventura 13.2.1
  • WinXP [en_windows_xp_professional_sp3_Nov_2013] with Spice [spice-guest-tools-0.164.3]

Mac

  • Go to System Settings > General
  • Turn File Sharing toggle On
  • Click the (!) icon next to the same toggle
  • Make a new shared folder for your macos using the + under Shared Folders on left. I used a single word for the name for simplicity.
  • Make sure your macos user has read/write access to said folder in the right column
  • Click the (options) button above right column
  • Enter a password that you'll need to enter in XP when connecting to this network folder
  • Hit ok
  • Now note the ip address on top of this panel (smb://192.168.1.121) you will need it to manually connect to your mac from xp.

UTM/XP

  • Open up your installed XP instance in UTM
  • I did this but not sure if I had to: top right of UTM window, click the shared folder icon and locate the new shared folder you created in the Mac steps
  • Go to My Computer
  • Go to Tools > Map Network Drive
  • Pick your favorite letter from the drive letter options
  • Enter \\192.168.1.121\your-shared-folder-name
  • Check box next to reconnect at login
  • Hit next
  • If all goes well it will ask you for the password you made in the Mac steps above
  • Enter your user of the mac (the one from Users/your-mac-name)
  • Enter that password you created from the Mac steps above
  • Hit finish or whatever the option is to be done
  • Hopefully it maps the drive into My Computer now

network-drive

gojsse avatar Apr 14 '23 18:04 gojsse

I can't even get networking going. Anyone else managed to get WInXP connected to the internet on Apple silicon. I'm using the WInXP_SP3 pro install disk and the UTM gallery VM template.

@palmerj I managed to get internet working on my M1 Max Mac Studio for Windows XP by having Network Mode set to Shared Network and choosing "virtio-net-pci" as the Emulated Network Card. After booting back into XP, I was prompted to install the drivers that were detected, now internet connection works fine.

MrHDML avatar Jun 30 '23 06:06 MrHDML

Cool thank you it seems to have worked. And I can now connect to the internet and browse the web (carefully!) with opera.

utm

Although I'm getting random crashes after the network card driver install.

In the system log I'm getting messages like Save Dump: The computer has rebooted from a bugcheck. The bugcheck was 0x00000d1.

@MrHDML do you also have the missing PCI device in the Device Manager?

palmerj avatar Jun 30 '23 22:06 palmerj

Would be really nice to get the spice tools going, at least for clipboard copy and paste functions between guest and host Has anyone got that working?

palmerj avatar Jun 30 '23 22:06 palmerj

I did this to get connected to network drive

  • Macbook Air m1 / Ventura 13.2.1
  • WinXP [en_windows_xp_professional_sp3_Nov_2013] with Spice [spice-guest-tools-0.164.3]

Mac

  • Go to System Settings > General
  • Turn File Sharing toggle On
  • Click the (!) icon next to the same toggle
  • Make a new shared folder for your macos using the + under Shared Folders on left. I used a single word for the name for simplicity.
  • Make sure your macos user has read/write access to said folder in the right column
  • Click the (options) button above right column
  • Enter a password that you'll need to enter in XP when connecting to this network folder
  • Hit ok
  • Now note the ip address on top of this panel (smb://192.168.1.121) you will need it to manually connect to your mac from xp.

UTM/XP

  • Open up your installed XP instance in UTM
  • I did this but not sure if I had to: top right of UTM window, click the shared folder icon and locate the new shared folder you created in the Mac steps
  • Go to My Computer
  • Go to Tools > Map Network Drive
  • Pick your favorite letter from the drive letter options
  • Enter \\192.168.1.121\your-shared-folder-name
  • Check box next to reconnect at login
  • Hit next
  • If all goes well it will ask you for the password you made in the Mac steps above
  • Enter your user of the mac (the one from Users/your-mac-name)
  • Enter that password you created from the Mac steps above
  • Hit finish or whatever the option is to be done
  • Hopefully it maps the drive into My Computer now

network-drive

This worked but in a different way.

I had to create an additional user on MacOS (Standard User). There I picked a simple password. It wouldn't work with a more complex password (yes I trippled checked if I entered it correctly). Also: it was like I wasn't able to choose a password in the file sharing settings in MacOS but rather I need to use the users password.

konzentrat avatar Sep 17 '23 20:09 konzentrat

related to #311 this wiki https://github.com/utmapp/UTM/wiki/Useful-tips is out of date

Open Services (run services.msc) and Stop & Disable the "Spice webdav proxy" service Create a file called service.bat containing the following line and copy it to C:\Program Files\SPICE webdavd\ folder: "C:\Program Files\SPICE webdavd\bin\spice-webdavd.exe" -p 80 --no-service there is no "Spice webdav proxy" service and there is no "C:\Program Files\SPICE webdavd\bin\spice-webdavd.exe"

There are some clues in this thread https://gitlab.gnome.org/GNOME/phodav/-/issues/19 but I'm really not sure how they managed to get past this error:

C:\Program Files\SPICE webdavd\bin>spice-webdavd.exe -p 80 --no-service

(spice-webdavd.exe:1780): phodav-?[1;31mERROR?[0m **: The system cannot find the file specified.

(spice-webdavd.exe:1780): phodav-?[1;33mWARNING?[0m **: map_drive error 67

I haven't messed around with Windows in a long time, but I guess there are ways to do something like strace to see which files its trying to open.

mihaitodor avatar May 14 '24 23:05 mihaitodor