I'm having a strange problem on my Ubuntu. Sometimes it works normally, however, at times when I turn on the computer, the files on my desktop do not appear, and when I try to open any application, like the terminal for example, nothing happens (sometimes only a black window is shown). If I log out and back in, it usually goes back to normal, but this makes me a little worried and I wanted to know what could be causing this problem. My guess is that maybe it's a problem with the video card. Searching the internet, I didn't find anyone with a similar problem. Below is some information about my PC:
SO: Ubuntu 22.04.3 64-bit
Motherboard: Gigabyte H510M H V2
Processor: Intel Core i3-10105F 3.70GHz
RAM: 16 GB
Graphic card: Geforce G210
SSD 960 GB Kingston A400