Changer User name on Mac, Virtualbox still looks for old name

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
positivEnergy
Posts: 5
Joined: 2. Sep 2017, 13:02

Changer User name on Mac, Virtualbox still looks for old name

Post by positivEnergy »

Hello,
I changed my user name on my Mac, and Virtualbox still looks for the old user name.
How do I change the this please?
So I cannot open the Virtual PC,
I really appreciate a step by step help
thanks
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Changer User name on Mac, Virtualbox still looks for old name

Post by mpack »

What are you referring to? VirtualBox doesn't "look for" any user names.

Do you mean that a VM's login didn't change passwords at the same time as the host? Well naturally not - the VM is a separate PC. You should follow the normal guest OS procedure for changing password.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Changer User name on Mac, Virtualbox still looks for old name

Post by Perryg »

Actually if I read this right you didn't change the user name you created a new account ( names can not be changed ). Since VirtualBox is rather hard nosed about other users having access you would need to reset the VBox environment. I don't know how you change the VBOX_HOME_ENVIRONMENT in a MAC, but you could just install again and then see if you can add the original guest/s back using the add feature. Other than that you need to wait for a Mac user do drop by.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Changer User name on Mac, Virtualbox still looks for old name

Post by ChipMcK »

this is a variation on sharing VMs amongst multiple users. Google is your friend.
positivEnergy
Posts: 5
Joined: 2. Sep 2017, 13:02

Re: Changer User name on Mac, Virtualbox still looks for old name

Post by positivEnergy »

Hello,
Thanks for your answers
I am not sure if I have explained rightly, here is a screen shot look at gailey dot ch slash vbpb
old name hforlani
new name hcgailey

sorry mac is in french too!

However I have deleted and re-installed on the mac, it keeps the old name in memory
I really am just a simple user so thanks
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Changer User name on Mac, Virtualbox still looks for old name

Post by mpack »

Please attach images locally. Many of us will not click offsite links.
positivEnergy
Posts: 5
Joined: 2. Sep 2017, 13:02

Re: Changer User name on Mac, Virtualbox still looks for old name

Post by positivEnergy »

I cannot attach the document, as the format extension is not accepted,
And I cannot post an url, cos I have not been long enough on this forum. The link is to a google document on my drive.
I ill try again to upload - nope The extension is not allowed.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Changer User name on Mac, Virtualbox still looks for old name

Post by ChipMcK »

so zip it, then Upload the attachment (scroll down)
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Changer User name on Mac, Virtualbox still looks for old name

Post by mpack »

If the image format you want to use isn't accepted by the site then there's a good chance I can't view it anyway. Please stick to PNG or JPG.

Ok, I just gave in and checked the link. The image is a jpg. I have no idea why you say that the site won't accept it, of course it will! In fact here it is below... The only thing which the site won't accept is an offsite link from a new user. That is not a problem if you attach the image itself instead of a link.

Ok, now all that is established, what is it that we see in this picture that invalidates the answers given, particularly Perry's?
Attachments
w1605-h1221.jpg
w1605-h1221.jpg (114.48 KiB) Viewed 3990 times
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Changer User name on Mac, Virtualbox still looks for old name

Post by ChipMcK »

. . . /VirtualBox/HardDisks/Windows 7.vdi
Version 3 era VM ???

Did you delete the "old" user id ?
Did you 'save' the "old" user's home directory ?
Have you emptied the trash since ?
positivEnergy
Posts: 5
Joined: 2. Sep 2017, 13:02

Re: Changer User name on Mac, Virtualbox still looks for old name

Post by positivEnergy »

Thanks everyone, not sure if I mentioned, I am blonde!

I renamed the user, I think
so old user became new one.
trash has of course been emptied
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Changer User name on Mac, Virtualbox still looks for old name

Post by ChipMcK »

macOS does not support renaming home directories, causes too many errors.

so you have ~/Library/VirtualBox/HardDisks/Windows 7.vdi ?? (Note that "~" is short-hand for your home directory)
positivEnergy
Posts: 5
Joined: 2. Sep 2017, 13:02

Re: Changer User name on Mac, Virtualbox still looks for old name

Post by positivEnergy »

Each time I launch the pc, the whole thing blocks, the mouse and keyboard become disconnected, and I have to reeboot the mac

I have managed to change the shared user file name, but do not understand this screet shot which I have to take with my phone!
thanks
Attachments
IMG_6058.JPG
IMG_6058.JPG (92.22 KiB) Viewed 3955 times
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Changer User name on Mac, Virtualbox still looks for old name

Post by BillG »

The vm is trying to do a PXE boot (which times out). It is not trying to boot directly from a local .vdi, it is trying to boot from a network share somewhere, which it cannot find.

Why is the vm set up to do a network boot? Where is this .vdi? Is it on your Mac or somewhere else?
Bill
Post Reply