Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

startx fault & xrandr: Can`t open display

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
CrySam
n00b
n00b
Posts: 15
Joined: Thu Jun 27, 2019 3:18 pm

startx fault & xrandr: Can`t open display

  • Quote

Post by CrySam » Wed Oct 09, 2019 6:05 am

hi,all,i am using links to post this topic,so i think there will be some problems in the layout,please understand.
i am new to Gentoo,i followed the instructions in the manual on installing nvidia-drivers and X11,but i run into some problems,when i startx,tty shows:

Code: Select all

   (EE) Fatal server error:(EE) no screens found(EE) 
,then i ran "xrandr" and "glxinfo | grep direct",and it shows:

Code: Select all

    ~# xrandr
    ~# Can`t find display 
    ~# glxinfo | grep direct
    ~# Error:unable to open display
My /var/log/Xorg.0.log is: (just contain ERROR)

Code: Select all

(EE) NVIDIA(0): Faild to assign any connected display devices to X screen 0.
(EE) NVIDIA(0): Set AllowEmptyInitialConfiguration if you want the server to start anyway
(EE) NVIDIA(0): Falling initialization of X screen"
...omit 5 informations(II)...
(EE) Screen(s) found, but none have a usable configuration.
(EE) Fatal server error:
(EE) no screens found
...omit...
and my /etc/X11/xorg.conf is (All comments are omitted):

Code: Select all

Section "ServerLayout"
    Identifier     "Layout 0"
    Screen     0   "Screen0" 0 0
    InputDevice    "Keyboard0"
"CoreKeyboard"
    InputDevice    "Mouse0""CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    Identifier    "Mouse0"
    Driver        "mouse"
    Option        "Protocol"
    Option        "Device" "/dev/input/mice"
    Option        "Emulate3Buttons" "no"
    Option        "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier    "Keyboard0"
    Driver        "kbd"
EndSection

Section "Monitor"
    Identifier    "Monitor0"
    VendorName    "Unknown"
    ModelName     "Unknown"
    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    
----------------

My graphics cards are NVIDIA Quadro M2200 and Intel HD Graphics 630,and my laptop`s display is 15.6 inch

[Moderator edit: Moved poster's self-response into main post, then deleted that self-response to return the thread to the unanswered list.

OP: Generally, if post length permits, you should edit extra information into your first post instead of replying to it. Some users run a canned search for threads with zero replies as a way of finding posts to answer. When you replied to yourself, you removed your thread from that list, even though you were not replying to announce that the thread was solved. Thus, they would no longer see your thread on the list of unanswered threads.
-Hu]
Last edited by CrySam on Wed Oct 09, 2019 7:36 am, edited 1 time in total.
Top
Dominique_71
Veteran
Veteran
User avatar
Posts: 1957
Joined: Wed Aug 17, 2005 1:01 pm
Location: Switzerland (Romandie)

  • Quote

Post by Dominique_71 » Sat Oct 12, 2019 7:54 pm

The best current way of setting X is with files into /etc/X11/xorg.conf.d

For now, you have to remove or comment out every thing, and follow Xorg/Guide.
Top
CrySam
n00b
n00b
Posts: 15
Joined: Thu Jun 27, 2019 3:18 pm

  • Quote

Post by CrySam » Sat Oct 12, 2019 8:05 pm

Dominique_71 wrote:The best current way of setting X is with files into /etc/X11/xorg.conf.d

For now, you have to remove or comment out every thing, and follow Xorg/Guide.
thank you, my X11 is returned to normal, When I meet new problems, please help me if you are willing. Here's my question:
[HELP] primus error : failed to load any of the libraries
viewtopic-t-1102846-start-0-postdays-0- ... ight-.html
Top
Post Reply

3 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic