How to check who login to Ubuntu VM (on GCP Compute Engine) via remote desktop

Viewed 15

I've a ubuntu VM on Google Cloud compute engine.

If a user remote login to it via terminal ssh, we can see the users using commands like 'who' or 'users'.

However, if a user login using a remote desktop, such as Chrome Remote Desktop, the above commands return nothing.

Is there a way to check who login using remote desktop?

0 Answers
Related