- I killed my GUI and Startx cant find a «screen»
- Xorg No screen found
- Arch Linux
- #2 2012-09-21 22:49:07
- Re: Xorg No Screens Found
- #3 2012-09-21 22:49:22
- Re: Xorg No Screens Found
- #4 2012-09-22 03:14:59
- Re: Xorg No Screens Found
- #5 2012-09-22 03:59:59
- Re: Xorg No Screens Found
- #6 2012-09-22 05:51:04
- Re: Xorg No Screens Found
- #7 2012-09-22 06:48:38
- Re: Xorg No Screens Found
- #8 2012-09-22 07:10:19
- Re: Xorg No Screens Found
- #9 2012-09-22 18:29:29
- Re: Xorg No Screens Found
- #10 2012-09-22 18:42:01
- Re: Xorg No Screens Found
- #11 2012-09-22 19:47:57
- Re: Xorg No Screens Found
- #12 2012-09-22 20:18:26
- Re: Xorg No Screens Found
- #13 2012-09-22 20:58:51
- Re: Xorg No Screens Found
- #14 2012-09-22 21:09:24
- Re: Xorg No Screens Found
- #15 2012-09-22 21:51:30
- Re: Xorg No Screens Found
- #16 2013-11-23 03:25:31
- Re: Xorg No Screens Found
- #17 2013-11-23 04:32:21
- Re: Xorg No Screens Found
I killed my GUI and Startx cant find a «screen»
First off let me mention that this problem happened a while ago so i may have forgotten some of the details. A while ago I was trying to get used to backtrack5 and I was doing pretty well I think. I learned that you shouldn’t be using root exclusively so i was creating a user account and trying to give it all the right permissions and access. I don’t remember what did it specially but this is part of the error message I’m getting from Xorg.0.log:
(II) Module nvidia: vendor="NVIDIA Corporation" compiled for 4.0.2, module version = 1.0.0 Module class: X.Org Video Driver (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your (EE) NVIDIA: system's kernel log for additional error messages. (II) UnloadModule: "nvidia" (II) Unloading /usr/lib/xorg/extra-modules/nvidia_drv.so (EE) Failed to load module "nvidia" (module-specific error, 0) (EE) No drivers available. Fatal server error: no screens found
Now knowing that this was a problem of my own doing I took a look at my history to try and figure out what i did wrong but i’m not very savvy in such things. I’ll paste some of the relevant command history My Pasted command history I have an idea of what the problem might be but i have no idea how i would fix it. if anyone could help me it would be greatly appreciated. And if i should provide anymore information just let me know. PS sorry if this is a bit verbose. And sorry that the command history isn’t formatted properly for this site.
Xorg No screen found
Установил Xorg и при запуске через startx, xinit он не хотел запускаться с ошибкой No device found, но с помощью startxfce4 все запускалось, при этом я не мог сделать разрешение экрана больше 1024х768, хотя разрешения экрана моего монитора 1920х1080. Немного позже, прочитав на генту вики статью о том, как пофиксить данную ошибку я сгенерировал xorg.conf с помощью nvidia-xconfig, добавил строку в Device, если точнее BusID «PCI:1:0:0». И ошибка заменилась другой, No screen found. Xorg.conf прилагается.
# nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 337.25 (buildmeister@swio-display-x64-rhel04-10) Tue May 27 13:05:19 PDT 2014 Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection Section "Files" EndSection Section "InputDevice" # generated from default Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mice" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Unknown" HorizSync 28.0 - 33.0 VertRefresh 43.0 - 72.0 Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync Option "DPMS" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 EndSubSection EndSection
Arch Linux
I am attempting to get the Xorg working (in hopes of using xmonad).
When I try startx get the fatal error: no screens found.
Any pointers would be appreciated.
#2 2012-09-21 22:49:07
Re: Xorg No Screens Found
Please post the output of
(edit) and please tell us exactly which packages you installed in the process of installing X
Last edited by 2ManyDogs (2012-09-21 22:50:46)
How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.
#3 2012-09-21 22:49:22
Re: Xorg No Screens Found
Are you using EFI stub to boot?
Try removing quiet from the kernel command line to get (possibly) helpful output during boot while troubleshooting.
What is $vt_handoff? Is this supposed to show up as an unexpanded variable at this point? Note that I’m not familiar with this booting method so perhaps it is fine. Just looked odd.
I notice you are mounting / read only. What’s your partition set up?
You will probably need some fonts at some point.
Did you follow the Beginners’ Guide on installing X?
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
#4 2012-09-22 03:14:59
Re: Xorg No Screens Found
lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18) 01:00.0 VGA compatible controller: NVIDIA Corporation GT216 [GeForce GT 300M] (rev a2)
I am booting using EFI and here is a quick explanation of my boot parameters.
ro — According to http://www.rodsbooks.com/efi-bootloaders/efistub.html «The ro option tells Linux to mount the root filesystem read-only. (This is standard; initialization scripts later re-mount the filesystem read/write.) «
quite — Didn’t Illuminate anything else.
$vt_handoff — Old Parameter from using Grub-EFI that I have since removed.
I followed https://wiki.archlinux.org/index.php/Xorg , however for installation is rather short i.e. (install xorg-server and xorg-apps and run startx).
In addition i have also tried `hwd -xa` and using that config to no avail http://tonylog.altervista.org/2008/12/1 … rch-linux/
#5 2012-09-22 03:59:59
Re: Xorg No Screens Found
# pacman -S xorg-server xorg-xinit xorg-server-utils
Registered Linux User #482438
#6 2012-09-22 05:51:04
Re: Xorg No Screens Found
I followed the post and got a similar log message.
1707 sudo pacman -S xorg-server xorg-xinit xorg-server-utils 1709 sudo pacman -S mesa 1711 sudo pacman -S xf86-video-intel 1721 sudo pacman -S lib32-intel-dri 1722 pacman -S xorg-twm xorg-xclock xterm 1723 sudo pacman -S xorg-twm xorg-xclock xterm 1724 rm ~/.xinitrc 1725 startx 1727 sudo pacman -S ttf-dejavu 1729 sudo reboot 1735 startx
Last edited by raisdead (2012-09-22 05:52:01)
#7 2012-09-22 06:48:38
Re: Xorg No Screens Found
I had a similar problem with my Intel Chipset when using Zenwalk operating System with older kernel. I dont know whether that solution may help you or not. Just you can try this.
Add the above parameter in grub while booting and run. It may help.
Or if its an old monitor, it may require an xorg.conf file with Screens and Monitor Sections and subsections filled.
And if you are using Nvidia cards, you can also do as drobole has told below and in addition add,
Last edited by ajaykumar (2012-09-22 07:11:59)
With regards,
Ajay Kumar G
Nanos Gigantum Humeris Insidentis
#8 2012-09-22 07:10:19
Re: Xorg No Screens Found
It looks like you have a nvidia card. Try to install a driver for it
You can use the open source driver
# sudo pacman -S xf86-video-nouveau
or you can use the closed driver as decribed here
It doesn’t hurt to install the vesa driver either
# sudo pacman -S xf86-video-vesa
Last edited by drobole (2012-09-22 07:48:19)
#9 2012-09-22 18:29:29
Re: Xorg No Screens Found
I managed to get xorg to detect the intel and vesa drivers, but when I run `startx` or `xinit` I get a black screen with a non-flashing cursor.
It also turns out that I cannot use the nvidia driver when booting EFI.
I could also install the nouveau, but I would rather stick with the integrated graphics for power consumption reasons.
#10 2012-09-22 18:42:01
Re: Xorg No Screens Found
Raisdead, I would take a look into Bumblebee. https://wiki.archlinux.org/index.php/Bumblebee
It’s designed for optimus tech on linux. You can also use it with nouveau, since official nvidia drivers will not work with EFI.
#11 2012-09-22 19:47:57
Re: Xorg No Screens Found
Thanks for the suggestion, I have looked at Bumblebee and more specifically the scripts I would need to use with it to get it to work. https://github.com/ah-/gmux-scripts
However, before I try something as advanced as this I would like to get it working, even suboptimaly, so that I can use it for everyday tasks.
Once X is working I will back it up and then try a more optimized performance.
For these reasons, I only want one graphics card working for now.
#12 2012-09-22 20:18:26
Re: Xorg No Screens Found
Did I miss the part where you told us exactly what hardware you are using? Can I assume you are not able to physically disable the nvidia graphics (by removing the card) and are using something like the Dell XPS15 and optimus? Have you searched the wiki for «optimus» ? There are many topics, including
How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.
#13 2012-09-22 20:58:51
Re: Xorg No Screens Found
Sorry for not being more specific earlier, I am using A Macbook Pro 6,2 and I have followed the Wikis to no avail
#14 2012-09-22 21:09:24
Re: Xorg No Screens Found
So are you unsable to physically disable the nvdia card (remove it)? Your main problem seems to be that you have two competing graphics systems. I just briefly looked at the links you posted, but I did not see anything about dual graphics cards.
Last edited by 2ManyDogs (2012-09-22 21:09:35)
How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.
#15 2012-09-22 21:51:30
Re: Xorg No Screens Found
Some systems seem to allow people to disable the additional card via BIOS. (Do Macs have BIOS now?)
Did you tell us what you actually installed to get X working? Is it just the stuff in #6 or have you installed nvidia and/or nouveau stuff as well?
Have you tried without xorg.conf? It would probably be best, for example, to try getting it to work with one monitor to start with.
Last edited by cfr (2012-09-22 21:55:14)
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
#16 2013-11-23 03:25:31
Re: Xorg No Screens Found
rm /etc/X11/xorg.conf rm -r /etc/X11/xorg.conf.d
and then do startx, it worked for me
#17 2013-11-23 04:32:21
Re: Xorg No Screens Found
rm /etc/X11/xorg.conf rm -r /etc/X11/xorg.conf.d
and then do startx, it worked for me
Please do not suggest people start randomly deleting files from their systems without checking whether they are tracked by pacman. This is an excellent way to break your system. *Especially* don’t remove rather than moving them. Although it is a Bad Idea even so, you should at least move them rather than removing them.
Here is why you should not move or remove these particular files unless you are very sure you know what you are doing:
$ pacman -Qo /etc/X11/xorg.conf.d/* error: No package owns /etc/X11/xorg.conf.d/00-keyboard.conf /etc/X11/xorg.conf.d/10-evdev.conf is owned by xorg-server 1.14.4-1 /etc/X11/xorg.conf.d/10-quirks.conf is owned by xorg-server 1.14.4-1 error: No package owns /etc/X11/xorg.conf.d/20-intel.conf /etc/X11/xorg.conf.d/50-synaptics.conf is owned by xf86-input-synaptics 1.7.1-1
Those which are not owned could be safely deleted *if* I’m not depending on them. The others are tracked by pacman and should *not* be deleted as you suggest. Moreover, the directory itself is also owned by at least two packages.
Of course, *if* none of the files there are owned, you could delete them if you didn’t need them. But you’d need to check.
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L