Every night Zorin OS 18 Pro goes to black screens and restarts

Walked into to all 3 monitors black with one that had a blinking cursor. I could type but now linux commands work. over the last 3 nights every night the computer restarts.

here is a screenshot of the log page after the restart.

Here is a screen shot of what computer I have Zorin OS 18 Pro running on.

any ideas?

do you have any software programs running that will put the system into shutdown/reboot/log off after the software has finished its function. like backup software.
best of luck Steve ..

Hi and welcome.

The reference to x2dgtk I did a search on:

" X2dgtk is a desktop application associated with GNOME that is typically launched during user session startup. It is related to the user-dirs-update-gtk service, which manages user directory configuration (like Documents, Downloads, etc.) in a graphical manner.

From the search context, it appears that x2dgtk is involved in a known issue where the system logs errors such as:

  • Failed to start Application launched by gnome-session-binary
  • No PIDs left to attach to the scope's control group, refusing
  • Failed with result 'resources'

These errors are generally considered harmless but can clutter journalctl logs. The root cause is often a misbehaving or outdated .desktop file in /etc/xdg/autostart/ (e.g., user-dirs-update-gtk.desktop ). To resolve the issue, users can temporarily move the problematic file to a backup location (e.g., ~/Desktop/backup/ ) to prevent it from launching at boot—but caution is advised , as removing essential autostart entries may affect desktop functionality.

The name "x2dgtk" likely stems from a URL-encoding of x2d (which stands for "x-dash") in log messages, where x2d is a hex representation of a hyphen (- ), so x2dgtk is effectively x-dgtk , a shorthand for a GUI-based user directory updater.

AI-generated answer. Please verify critical facts."

This appears to relate to X, the display server not initialising.
Whilst I positively dislike Wayland, see if changing to that helps.

To check what display protocol is being used, open a terminal by typing terminal in menu search bar and enter:

echo $XDG_SESSION_TYPE

It is already run in Wayland:

@krobnett:

Welcome to the Forum!

  • Are Secure Boot and Fast Boot in BIOS disabled?
  • If Windows is still installed: Is Fast Start-Up in Windows disabled?
  • Is this a fresh Install or do You run Zorin longer and that happened now the first Time?
1 Like

No.

I have closed all running programs so it is just the Zorin OS running and still restarts.

This is a new install on the computer. With no other OS installed. since I installed the OS it has restarted every night.

I have changed the power settings to performance and it still restarts

I am also using 3 monitors. HDMI, Display Port and USB 4.

I really wish that GMKtec supplied Zorin OS images on their download pages. https://www.gmktec.com/pages/drivers-and-software?spm=..index.header_1.1

Zorin OS you should reach out to them. :slight_smile: Just a thought.

Only to have asked that: Did You checked the Monitor Settings of each one? And when You go to Setings>Power and Settings>Privacy>Lock Screen how are these set up?

Ubuntu is listed, you could try that? (if you didn't know, Zorin is based off Ubuntu.)

have you checked the AMD site for graphic/GPU driver files
i have a Ryzen 7 5825u CPU/GPU in a desktop system
and have found that the AMD radeon driver files have sorted several problems
such as flickering display going from bright to dim.
https://www.amd.com/en/support/download/linux-drivers.html

you would want the Ubuntu driver files as Zorin is Ubuntu based.
best of luck Steve ..

Mine is the EVO-X1 which does not have a linux download :frowning: bummer

Will look into the drivers tomorrow.

1 Like

Try it with disabled ''Automatic Screen Lock'' and/or ''Lock Screen on Suspend''.

1 Like

I made these changes last night.

and the computer did not restart last night.
so this fixed it. Thank You very much.

3 Likes

Looks like a another issue might be related to this. I created another thread Gkr-pam errors since install of Zorin OS Pro