Black Screen after adding 10-monitor.conf to /etc/X11/xorg.conf.d/

Hi.
I have a black screen.
My system boots but does not load a display server.
I can get into the terminal.
GPU: AMD rx6800

When I type Xorg in the terminal I get the error message:
fatal server error
(EE) No screens found(EE)

Xrandr says: Can’t open display

This happened when I wanted to add a new permanent resolution to 10-monitor.conf.

I’m new to Linux and maybe need a detailed description to solve the problem.

Thanks and best regards

(Note: I can’t attach a screenshot, I get the error I can’t embed files)

Hi Marold & welcome! I’m not very techie but I did a bit of a search & found this - not sure if it will help:

https://bbs.archlinux.org/viewtopic.php?id=264772

I hope you find a solution soon! Keep going & good to have you on Manjaro.

Ruziel :slight_smile:

Hi @Marold, and welcome!

In order for us, or anyone for that matter, to be able to provide assistance, more information is necessary. To that end, please see:

Hope you manage!


:bangbang: Tip: :bangbang:

To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Portaest sed
elementum
cursus nisl nisi
hendrerit ac quis
sit
adipiscing
tortor sit leo commodo.

Instead of like this:

Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby improving legibility and making it much easier for those trying to be of assistance.


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.


Sheesh, what a mouth full!

Welp, that file is obviously thee cause. Easiest would be to boot into a live environment, and move/rename the file on the drive so that it’s no longer visible to Xorg. That is quite easy from an installation and a chroot environment, but I suspect it’ll be very different from the live environment.

If you decide to use a chroot environment to do it, these would be the instructions:

To enter a chroot environment

  1. Ensure you’ve got a relatively new ISO or at least one with a still supported LTS kernel.

  2. Write/copy/dd the ISO to a USB thumb drive.

  3. When done, boot with the above mentioned USB thumb drive into the live environment.

  4. Once booted, open a terminal and enter the following command to enter the chroot environment:

manjaro-chroot -a

If you have more than one Linux installation, select the correct one to use from the list provided.

If sucessfully done, you should now be in the chroot environment.

But, be careful, as you’re now in an actual root environment on your computer, so any changes you make will persist after a restart and can cause damage.

Once you’ve sucessfully entered the chroot environment, run the following to imp[ply “hide” the file from X:

mv  /etc/X11/xorg.conf.d/10-monitor.conf  /etc/X11/xorg.conf.d/10-monitor.conf.backup

Or, if you’re certain you can always just delete it:

rm  /etc/X11/xorg.conf.d/10-monitor.conf

The instructions would be the same from the installation itself and since you can get into the terminal, that might be easier. Just remember to run the command with sudo then:

sudo mv /etc/X11/xorg.conf.d/10-monitor.conf  /etc/X11/xorg.conf.d/10-monitor.conf.backup

or

sudo rm  /etc/X11/xorg.conf.d/10-monitor.conf

Just remember, if you delete it, it’s gone.

Hope you manage!

Hello.
Thanks for all the help.
Have solved the problem in the meantime.
I simply deleted my self-created file :).

Best regards.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.