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:
-
Open the Terminal on your Ubuntu WorkSpace.
-
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.
-
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.
-
Save the file and exit the text editor.
-
Restart the LightDM service by running the command sudo systemctl restart lightdm.
Relevant content
- asked 3 years ago
- asked 5 months ago
- asked 4 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 6 months ago