Are there two usernames for virtual machine?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
HelloUbuntu
Posts: 1
Joined: 8. May 2020, 21:44

Are there two usernames for virtual machine?

Post by HelloUbuntu »

I have a windows 10 host and Ubuntu guest. Whenever I start virtual machine I have to enter password for my username, for example "User". But when I try to execute something from my host command line: vboxmanage guestcontrol "My VM" run --username user --password xxxxx --exe "/bin/ls", I have to use lowercase "user" as my username, not uppercase "User", otherwise I get a error: The specified user was not able to logon. I opened the file in guest system, it seems my username is "user". So why is that?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Are there two usernames for virtual machine?

Post by scottgus1 »

There should not be any special setting causing one capitalization of the username to work differently than another intentionally caused through the 'vboxmanage guestcontrol' command.

I tried guestcontrol but couldn't make it work on a Linux guest. But on an XP guest with user 'SnC' I got SnC, snc, and SNC to work. Unless there's a bit flipped in your local setup I'd say there is no case imposed by Virtualbox.

Maybe your guest is case-sensitive?
fth0
Volunteer
Posts: 5690
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Are there two usernames for virtual machine?

Post by fth0 »

Like in most OSs, a Linux user has a username and a full name. GUI login screens often allow you to use the full name instead of the username. CLI logins require the username most of the time.
Post Reply