vzctl enter veid fails. Unable to get term attr: Invalid argument
How to resolve the issue where logging into OpenVZ containers using vzctl fails with the error 'Unable to get term attr: Invalid argument'?
Overview: This article will help gateway users to fix the error encountered while logging into OpenVZ containers using vzctl, which displays the message "Unable to get term attr: Invalid argument".
Example: When the gateway user 'alex' attempts to access OpenVZ container through Ezeelogin and encounters the error "Unable to get term attr: Invalid argument" then the admin user needs to log into the Ezeelogin GUI and disable the virtual shell option for that user. After this modification, 'alex' can log back into the container without encountering the error message again.
Virtual Shell Enabled:
Virtual Shell Disabled:
Step 1: Login to Ezeelogin GUI -> edit the user -> disable virtual shell.