Skip to main content
Topic: Xorg doesn’t start, gives no screens found error (Read 5832 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Xorg doesn’t start, gives no screens found error

Sorry if this post is bad or messy this is my first time trying to do this
So I’m on an Arch install that I migrated to Artix OpenRC two days ago. Yesterday everything, including Xfce, was going smooth and fine, but right now startxfce4 is not working.

The specific error it gives me in the logs is “Device(s) detected, but none match those in the config file.”
I don’t know what or where the config file is.

Edit: Oh yeah forgot to mention I am using NVIDIA proprietary drivers
Edit2: But I can switch to open source if that fixes the problem

How do I fix this issue and get Xfce to work properly?

Re: Xorg doesn’t start, gives no screens found error

Reply #1
Edit: Oh yeah forgot to mention I am using NVIDIA proprietary drivers
https://www.youtube.com/watch?v=_36yNWw_07g
https://www.youtube.com/watch?v=i2lhwb_OckQ
"Wer alles kann, macht nichts richtig"

Artix USE="runit openrc slim openbox lxde gtk2 qt4 qt5 qt6 conky
-gtk3 -gtk4 -adwaita{cursors,themes,icons} -gnome3 -kde -plasma -wayland "


Re: Xorg doesn’t start, gives no screens found error

Reply #3
Thank you, but nothing changed after trying that.

Out of curiosity I also tried to nano the conf file, but it was empty, so that might be the issue.

Edit: I also tried running Xorg :0 -configure, but that gave me a “Number of created screens does not match number of detected devices.” error

Re: Xorg doesn’t start, gives no screens found error

Reply #4
Post /var/log/Xorg.0.log (in code tags)

Re: Xorg doesn’t start, gives no screens found error

Reply #5




Sorry that I have to make this an image but I don’t really know how to copy paste the whole thing through the terminal only

Re: Xorg doesn’t start, gives no screens found error

Reply #6
That hurts to look at  :)
My eyes are not great.

I might have missed it but the propriety nvidia driver is not mentioned afaikt

Try reinstalling it.
Code: [Select]
sudo pacman -S nvidia
so long as you card is not ancient.

To get  nicer output for a forum with only the console you can redirect the output to a file  eg
Code: [Select]
cat /var/log/Xorg.0.log > ~/X.log
then copy to a usb or something.

Or install pastebinit and pastebin it
Code: [Select]
pacman -S pastebinit
cat /var/log/Xorg.0.log | pastebinit -b paste.debian.net
Then post the link
If you reinstall the nvidia driver and it still doesn't work also try.
Code: [Select]
pacman -Q | pastebinit -b paste.debian.net 
and post the link so I can see what packages you have installed. if you don't mind.
Also
Code: [Select]
sudo dmesg | pastebinit -b paste.debian.net
would maybe how something ?
Off to bed soon.
btw I like the MC models :)


Re: Xorg doesn’t start, gives no screens found error

Reply #8
Did you try reinstalling the nvidia drivers ?
https://wiki.archlinux.org/title/NVIDIA

My guess is either they are not installed or there's a problem with the installation or you have a config file interfering which would be either /etc/X11/xorg.conf or any file *.conf in /etc/X11/xorg.conf.d (This was already mentioned in the thread).

Re: Xorg doesn’t start, gives no screens found error

Reply #9
Reinstalling NVIDIA didn’t work.

I’m just going to do a fresh reinstall, because this whole thing was me migrating through a not-very-official program and I’m tired of going through tech issues.
Thanks for helping, though.

 

Re: Xorg doesn’t start, gives no screens found error

Reply #10
The pics you posted show a lot of basic/fallback xf86-video-* packages missing. Try installing xf86-video-fbdev, xf86-video-vesa and xf86-video-nouveau which should at least give you a working Xorg.