You are not logged in.

#1 2018-01-06 11:10:42

suryavamsi
Member
Registered: 2018-01-06
Posts: 3

startx error "Fatal server error: (EE) no screens found(EE)"

Everytime I try to start startx it gives me this error.

X.Org X Server 1.19.6
Release Date: 2017-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.71-1-lts x86_64 
Current Operating System: Linux archlinux 4.14.11-1-ARCH #1 SMP PREEMPT Wed Jan 3 07:02:42 UTC 2018 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=f372367a-2b9d-4f67-8117-d6e49b31b43a rw quiet
Build Date: 25 December 2017  02:02:38PM
 
Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Sat Jan  6 16:35:32 2018
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
Fatal server error:
(EE) no screens found(EE) 
(EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

I tried different display managers but none of them except gdm works and gdm always logs me into gnome even if I select deepin or openbox. I have been trying different solutions. But none of them works.

The output of 'lspci | grep -e VGA -3D'

00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev ff)

Heres my Xorg log:

Xorg log

Thanks!

Offline

#2 2018-01-06 11:50:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,863

Re: startx error "Fatal server error: (EE) no screens found(EE)"

GDM & Gnome will run on wayland.

Using config file: "/etc/X11/xorg.conf"

What does this file look like?

See https://wiki.archlinux.org/index.php/NVIDIA_Optimus

Offline

#3 2018-01-07 06:15:24

suryavamsi
Member
Registered: 2018-01-06
Posts: 3

Re: startx error "Fatal server error: (EE) no screens found(EE)"

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 387.34  (buildmeister@swio-display-x64-rhel04-15)  Tue Nov 21 03:31:45 PST 2017


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/psaux"
    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
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "vesa"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Offline

#4 2018-01-07 06:16:59

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: startx error "Fatal server error: (EE) no screens found(EE)"

suryavamsi wrote:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig

That is a recipe for brokeness. Delete and startx without it.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2018-01-07 08:14:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,863

Re: startx error "Fatal server error: (EE) no screens found(EE)"

Driver         "vesa"

And that looks 100% wrong.

https://wiki.archlinux.org/index.php/NVIDIA_Optimus

Offline

Board footer

Powered by FluxBB