내용으로 건너뛰기

Workspaces client fails to authenticate on Linux

0

I'm trying to connect to AWS Workspace from Linux (Ubuntu). It succeeds with authentication and progresses with connection and then suddenly responds with: "ERROR_TYPE_AUTHENTICATION ... You may have prolonged inactivity or a new password. Please try again."

There is message in the log which seems like Bad Request: WSBrokerClient::Authenticate failed with [ExceptionMessage]ErrorCode: 6001, ErrorMessage: User Authentication failed, InnerException: Request failed with status code 400

The password is correct and the client is actually able to progress on login, because when I type wrong password, it fails earlier directly with "Authentication Failed, please check your username and password...". With correct password, it fails later as described above.

I'm able to connect from Windows client without problems.

I tried both 22.04 (jammy) and 20.04 (focal) clients, installed directly on Kubuntu 24.04 or on Ubuntu 22.04, either via docker or chroot. None combination helped.

Edit: After enabling Linux in the "Other clients" section, it progresses beyond authentication. Then it says "Disconnected" though, without explanation. Log message: Received Disconnect Request from Solo {"Version":"1.0","Action":"DISCONNECT","ActionType":"REQUEST","Payload":{"DisconnectCode":"200"}}

질문됨 2년 전2.2천회 조회

1개 답변
0

Hello.

Are you using device authentication or something like that with Workspaces?
If you are using it, I think there was an item to allow Linux, so I think you need to set it to allow Linux.
https://docs.aws.amazon.com/workspaces/latest/adminguide/trusted-devices.html#configure-restriction

Although it may not be very relevant, an error may occur if there is a time difference of 5 minutes or more between resources.
https://repost.aws/knowledge-center/workspaces-authentication-error

전문가

답변함 2년 전

  • No device authentication, just regular user + password. I checked the time with ntp and it's correct (and the same as on successfully connecting windows machine). Thanks, the Linux in the other section was truly disabled. Now it progresses beyound authentication but then it says "Disconnected", without further explanation. There is an entry in the log: Received Disconnect Request from Solo {"Version":"1.0","Action":"DISCONNECT","ActionType":"REQUEST","Payload":{"DisconnectCode":"200"}}

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.