Hello,
I've installed Artix with
Runit, than installed
xorg with all packages provided plus
xorg-xinit.
lspci gives the following:
lspci | grep -e VGA -e 3D
Thus the
xf86-video-intel package was installed.
The elogind & elogind-runit is installed, enabled and running.
sudo sv status elogind
run: elogind: (pid 1178) 4974s
For window manager I'm going to use
dwm or
i3.
System loads OK to tty1, after login trying to
dmw|i3 (with sudo or without) gives the following:
dwm: cannot open display
With
sudo startx dwm nothing happens as well.
From Xorg.0.log the bottom lines:
[ 1958.573] (**) FontPath set to:
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 1958.573] (**) ModulePath set to "/usr/lib/xorg/modules"
[ 1958.573] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 1958.573] (WW) Disabling Mouse0
[ 1958.573] (WW) Disabling Keyboard0
[ 1958.574] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20200313
[ 1958.574] (II) intel(0): SNA compiled from 2.99.917-908-g7181c5a4
[ 1960.651] intel: waited 2020 ms for i915.ko driver to load
[ 1960.675] Number of created screens does not match number of detected devices.
Configuration failed.
[ 1960.675] (EE) Server terminated with error (2). Closing log file.
Here is Xorg.0.log (https://bin.nixnet.services/?598d8bf3707f7bd5#DnpUoNHhUuWCSnBng7sXbdLA5XV3bofUeyHpERhryccD)
I've checked this posts "Cannot open display "default display"" (https://forum.artixlinux.org/index.php/topic,1572.msg10754.html), "boot stop before login, cant startx" (https://forum.artixlinux.org/index.php/topic,649.msg5093.html), "Warning: networkmanager 1.14.7dev+3+g353743b99-1 breaks X11" (https://forum.artixlinux.org/index.php/topic,936.msg7148.html), "boot stop before login, cant startx" (https://forum.artixlinux.org/index.php/topic,649.msg5093.html), but it didn't help.
Could you please help me to resolve this issue?
I guess wrong configured xorg?
Yes, exactly that is the problem, as i saw in your log :
[ 1958.568] (**) |-->Screen "Screen0" (0)
[ 1958.568] (**) | |-->Monitor "Monitor0"
[ 1958.570] (**) | |-->Device "Card0"
[ 1958.570] (**) |-->Screen "Screen1" (1)
[ 1958.570] (**) | |-->Monitor "Monitor1"
[ 1958.571] (**) | |-->Device "Card1"
Why you defined two graphics cards, if you have only one?? 😎😎😎
See:
https://blog.lobraun.de/2017/10/31/xorg-configure-no/
I haven't do any configurations just installed xorg.
And now while trying to do
sudo Xorg -configure it fails and displays following errors:
modprobe: FATAL: Module fbcon not found in directory /lib/modules/5.7.8-artix1-1
intel: waited 2020 ms for i915.ko driver to load
Number of created screens does not match number of detected devices.
Configuration failed.
(EE) Server terminated with error (2). Closing log file.
I was trying to remove another device, monitor, screen form the xorg.conf.new, than have copied it to /etc/X11/xorg.conf but it hasn't work.
It is my first experience to set up linux from the ground, I've never done this before even with systemd. Therefore could miss something while installing and setting up.
What else could I check/do in the case?
It seems you are trying to connect two monitors. You are using open source drivers so in theory you wouldn't need xorg.conf file.
Can you try without "xorg.conf" and only one monitor?
Have you got .xinitrc file? (This maybe obvious but still relevant)
please share your xorg configs! you must properly set your xorg server.
see my configs https://github.com/alium/share
I'm completely lost how to set it up :(
I've removed
/etc/X11/xorg.conf &
/root/xorg.conf.new.
Then (all as a root)
Xorg :0 -configure
Got [
this](https://bin.nixnet.services/?8eec736011250dd0#6kixZCkB4uYahneFvA4GR9ro4EzGe5ba2DRcnX7QUms9)
Here is [
Xorg.0.log](https://bin.nixnet.services/?02e9156cdcf216d5#R42vsk7h4p7thRRXaPS4RuRortEx9A9rFPch8p3wXiY)
Here is [
xorg.conf.new](https://bin.nixnet.services/?4e0e8d7480a8f614#6xnt6vRb6phhPJLhpcyN1k45ACA2TbLF82QGvAFs93Wa) generated by
Xorg :0 -configureAnd
lspci | grep -e VGA -e Display
shows
I've manually edited [
xorg.conf](https://bin.nixnet.services/?c8125ba7c8991b2b#CmUCthStQq5zJ84j3khFmYwCJkUJdghb1aNdZqYC32xt), removed all configs related to second device&monitor&screen and saved file under
/etc/X11/xorg.confAfter that run
startx dwm and received nothing :(, window manager won't start.
Here is [
Xorg.0.conf](https://bin.nixnet.services/?345915e104f0f81b#GEjqAm9db7TXiRfPXcFGHt6kzJ8DCQtSYHhfwaabzhtZ) after running the above command
But new log file [
Xorg.1.log](https://bin.nixnet.services/?26bdfa93549e1f28#CojfNcjv71MxoDgrpjmrzMUrcKi5UTC1hNcB7oerY8qb) has been created
I have no clue why there are two devices/monitors/screens detected and what is going on with X server :o
Is linux-firmware installed? Sometimes there are a few locations xorg.conf can reside, you could try locate xorg.conf or similar. Perhaps there is some BIOS menu setting that would help? Perhaps you could try another desktop, although I doubt that's the problem - or plug in another monitor (could be a TV) if you had suitable ports and a cable, so it had the 2 displays it thinks it has :D
linux-firmware is installed, the BIOS is very primitive, and it does not have any related settings (very old netbook - Acer D250), it is a laptop with one monitor available without additional plug-ins.
I've looked through whole disk to find xorg.conf but it is where it should be, in /etc/X11
OK, I've installed XFCE and it starts well by startxfce4 script.
here is a log file for the started xfce ([Xorg.0.log](https://bin.nixnet.services/?d27d27760c52f09c#97dhrUnW5ZyStdiMQFXy7hrUu1gEmkUUHJmhdf2veisL)).
after that I've created one more time ~/.xinitrc first with
exec i3
, then
exec dwm
.
and both have workded well with
startx.
here is a log for the successfully started window managers [Xorg.0.log](https://bin.nixnet.services/?5dd43ec7e836b5b6#9m7EDyJxCWi2tuDVX5RUuWZBQj1xxfVhQiXPC5X1F1y2).
I don't know what just happened. Maybe I've missed something previously ([/code]
1. can you try if can start your DE with displaymanager-opernrc package?
2. have you installed elogind?
1. I'm using
Runit so I guess there is no displaymanager-openrnrc.
2. Yes, I've installed elogind & elogind-runit service