Amazon Workspace session timeout on Ubuntu

0

Hi, How to set up a session timeout for Amazon Workspace (Ubuntu 22) to automatically log out remote users after a period of inactivity, such as 10 minutes.

Thanks, Anoop K

Anoop_k
질문됨 일 년 전363회 조회
1개 답변
1
수락된 답변

hi,

Amazon WorkSpace has a session timeout of 1 hour for inactive sessions. This means that if you leave your WorkSpace inactive for more than an hour, you will be automatically logged out.

To change the session timeout for your WorkSpace on Ubuntu, you can follow these steps:

  1. Open the Terminal on your Ubuntu WorkSpace.

  2. If you use lightdm service already, then edit the /etc/lightdm/lightdm.conf file using a text editor of your choice. Command: sudo nano /etc/lightdm/lightdm.conf.

  3. Add the following line at the end of the file:

autologin-user-timeout=x (x = number of seconds that you want the user to be logged out)

This will enable the logout and the user will be logged out due to inactivity after the time mentioned above.

  1. Save the file and exit the text editor.

  2. Restart the LightDM service by running the command sudo systemctl restart lightdm.

AWS
Arun
답변함 일 년 전

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

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

질문 답변하기에 대한 가이드라인

관련 콘텐츠