If you followed the getting started guide of HXE 2, then you have set the password for the XSA_ADMIN user the first time you logged in via hdbsql. If you then are not able to login via xs login, you use the wrong password (maybe a typo during setup, maybe a different keyboard layout ... several reasons are possible).

Why you do not set a new password using the SYSTEM user.

For instance goto the web based dev workbench catalog view, open an SQL console and execute the following command (of course set the password you wanna have appropriate to the password rules):

I recommend to delete current virtual machine hard-drive and start the whole procedure from scratch where your "master password" won't contain any special characters (like !, @, ...). Use for password only letters and digits and it should work then.

When VM is turned on for the first time, initial prompt is for OS user and next prompt is for master password. Master password is used for all the DB and XSA user logins. Please make sure to use master password for XSA user login.