# Black Screen and X Display Error When Switching from Game Mode to Desktop Mode

**URL:** <https://universal-blue.discourse.group/t/black-screen-and-x-display-error-when-switching-from-game-mode-to-desktop-mode/4895>\
**Category:** Bazzite\
**Created:** [November 4, 2024, 8:31am UTC](https://universal-blue.discourse.group/t/black-screen-and-x-display-error-when-switching-from-game-mode-to-desktop-mode/4895 "2024-11-04T08:31:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NESman](https://avatars.discourse-cdn.com/v4/letter/n/9f8e36/32.png) [@NESman](https://universal-blue.discourse.group/u/NESman)\
**Post date:** [November 4, 2024, 8:31am UTC](https://universal-blue.discourse.group/t/black-screen-and-x-display-error-when-switching-from-game-mode-to-desktop-mode/4895/1 "2024-11-04T08:31:09Z")

</div>

Hello,

For the past few days, when I switch from game mode to desktop mode, I get a black screen for about a minute, and then the desktop launches and shows this error:

* * *

Check your DISPLAY environment variable and make sure that you have enabled X.

If you are running remotely, make sure that you have a remote connection which will allow an X connection.

For more information visit [Steam Support :: Linux Steam client unable to open a connection to X](https://support.steampowered.com/kb_article.php?ref=4050-WOJB-0608)

* * *

Can anyone help me resolve this issue, please?
