R is taking longer to start than usual in Ubuntu 22.04

I installed R and RStudio in Linux Ubuntu 22.04 VM. I'm able to open R. When tried to access RStudio, a login page was shown and when I entered my credentials, RStudio doesn't open. No error in logs. Using Developer Tools, I see data:image/gif;base64* is loading. If I leave it loading for an hour, I don't see any improvement until it just timed out. Please help me. Thanks in advance.

R Version: 4.4.2 (2024-10-31)
RStudio Version: 2024.12.1+563 (Kousa Dogwood) for Ubuntu Jammy

image