LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 07-29-2016, 09:46 AM   #1
Dawn507
LQ Newbie
 
Registered: Jul 2016
Location: Salt Lake City, UT
Distribution: CentOS
Posts: 10

Rep: Reputation: Disabled
Xorg Server (EE) No Screens Found (VMWare)


I've finally gotten to the part where I can run startx and log into the X windows system. however when I run the command, I end up with the no screens found error. When I try to run X -configure, the auto configure fails.

I have downloaded the vmware drivers and updated the kernel but I just can't get it to boot. Does anyone know what I can do to fix this?
Attached Thumbnails
Click image for larger version

Name:	2016-07-29.png
Views:	977
Size:	49.9 KB
ID:	22598   Click image for larger version

Name:	2016-07-29 (1).png
Views:	537
Size:	41.0 KB
ID:	22599  

Last edited by Dawn507; 08-02-2016 at 03:16 PM.
 
Old 07-29-2016, 10:57 AM   #2
Krejzi
Member
 
Registered: Jan 2015
Posts: 215

Rep: Reputation: Disabled
Did you build vmware kernel driver with modesetting enabled?
 
Old 07-30-2016, 09:40 AM   #3
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Rep: Reputation: 23
Have the same problem before.

Please check your kernel configuration, make sure you enable these:
Code:
1. VMware Virtual Graphics Driver

Device Drivers  --->
  Graphics support  --->
    Direct Rendering Manager  --->
      <*> Direct Rendering Manager (XFree86 ... support) --->  [CONFIG_DRM]
      <*> DRM driver for VMware Virtual GPU                    [CONFIG_DRM_VMWGFX][*]   Enable framebuffer console under vmwgfx by default [CONFIG_DRM_VMWGFX_FBCON]

2. VMware VMMouse Driver

Processor type and features --->[*] Symmetric multi-processing support          [CONFIG_SMP][*] Support for extended (non-PC) x86 platforms [CONFIG_X86_EXTENDED_PLATFORM][*] ScaleMP vSMP                                [CONFIG_X86_VSMP]
Device Drivers --->
  Input device support --->[*] Mice --->                                 [CONFIG_INPUT_MOUSE]
      <*/M> PS/2 mouse                            [CONFIG_MOUSE_PS2][*] Virtual mouse (vmmouse)                 [CONFIG_MOUSE_PS2_VMMOUSE]

3. VMware SoundCard Driver

Device Drivers  --->
     <*> Sound card support  --->
          <*>   Advanced Linux Sound Architecture  --->[*]   PCI sound devices  --->
                    <*>   (Creative) Ensoniq AudioPCI 1371/1373
The book instruct to create videocard-0.conf, xkb-defaults.conf, and server-layout.conf configuration files in /etc/X11/xorg.conf.d/ directory. But I prefer to combine into one file xorg.conf.

And this is my /etc/X11/xorg.conf.d/xorg.conf configuration file :
Code:
Section "ServerLayout"
    Identifier     "DefaultLayout"
    Screen      0  "Screen0" 0 0
    Option         "Xinerama"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Device"
    Identifier  "Videocard0"
    Driver      "vmware"
    VendorName  "VMWare Inc."
    BoardName   "VMware SVGA II Adapter"
    Option      "NoAccel" "true"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option      "XkbModel" "pc105"
    Option      "XkbLayout" "us"
EndSection

Section "InputClass"
    Identifier "XKB Defaults"
    MatchIsKeyboard "yes"
    Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Section "Monitor"
    Identifier      "Monitor0"
    VendorName      "VMware, Inc"
    HorizSync 1-10000
    VertRefresh 1-10000
    ModeLine "1360x768" 100 1300 1400 1500 1600 800 900 1000 1100
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth    24
                Modes "1360x768"
        EndSubSection
EndSection
 
Old 07-30-2016, 09:56 AM   #4
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Rep: Reputation: 23
In Section "Monitor" you can put more ModeLine options, but I only put the one match my system.
Example I found on the internet :
Code:
Section "Monitor"
    Identifier      "vmware"
    VendorName      "VMware, Inc"
    HorizSync 1-10000
    VertRefresh 1-10000
    ModeLine "640x480" 100 640 700 800 900 480 500 600 700
    ModeLine "1280x480" 100 1280 1300 1400 1500 480 500 600 700
    ModeLine "640x960" 100 640 700 800 900 960 1000 1100 1200
    ModeLine "800x600" 100 800 900 1000 1100 600 700 800 900
    ModeLine "1600x600" 100 1600 1700 1800 1900 600 700 800 900
    ModeLine "800x1200" 100 800 900 1000 1100 1200 1300 1400 1500
    ModeLine "1024x768" 100 1024 1100 1200 1300 768 800 900 1000
    ModeLine "2048x768" 100 2048 2100 2200 2300 768 800 900 1000
    ModeLine "1024x1536" 100 1024 1100 1200 1300 1536 1600 1700 1800
    ModeLine "1152x864" 100 1152 1200 1300 1400 864 900 1000 1100
    ModeLine "2304x864" 100 2304 2400 2500 2600 864 900 1000 1100
    ModeLine "1152x1728" 100 1152 1200 1300 1400 1728 1800 1900 2000
    ModeLine "1280x1024" 100 1280 1300 1400 1500 1024 1100 1200 1300
    ModeLine "2560x1024" 100 2560 2600 2700 2800 1024 1100 1200 1300
    ModeLine "1280x2048" 100 1280 1300 1400 1500 2048 2100 2200 2300
    ModeLine "1600x1200" 100 1600 1700 1800 1900 1200 1300 1400 1500
    ModeLine "3200x1200" 100 3200 3300 3400 3500 1200 1300 1400 1500
    ModeLine "1600x2400" 100 1600 1700 1800 1900 2400 2500 2600 2700
    ModeLine "1920x1400" 100 1920 2000 2100 2200 1200 1300 1400 1500
    ModeLine "3940x1400" 100 1920 2000 2100 2200 1200 1300 1400 1500
    ModeLine "1920x2800" 100 1920 2000 2100 2200 1200 1300 1400 1500
    ModeLine "1152x900" 100 1152 1200 1300 1400 900 1000 1100 1200
    ModeLine "1280x800" 100 1280 1300 1400 1500 800 900 1000 1100
    ModeLine "1376x1032" 100 1376 1400 1500 1600 1032 1100 1200 1300
    ModeLine "1400x1050" 100 1400 1500 1600 1700 1050 1100 1200 1300
    ModeLine "1680x1050" 100 1680 1700 1800 1900 1050 1100 1200 1300
    ModeLine "1920x1200" 100 1920 2000 2100 2200 1200 1300 1400 1500
    ModeLine "2364x1773" 100 2364 2400 2500 2600 1773 1800 1900 2000
EndSection
In Section "Screen" you can put more Display options, but I only put the one match my system.
Example I found on the internet :
Code:
Section "Screen"
    Identifier "Screen0"
    Device      "VMware SVGA"
    Monitor     "vmware"

    Subsection "Display"
        Depth       4
        Modes       "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       8
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       15
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

Specify Default ColorDepth will override the driver's preferences which can cause the X server not to run if the host doesn't support the depth. Please check your host Color Depth
My experience don't put Color Depth more than 24 (24 bit) although your host can run 32 bit Color Depth. It also cause X server failed to run.

Hope this work for you.
 
Old 08-01-2016, 02:40 PM   #5
Dawn507
LQ Newbie
 
Registered: Jul 2016
Location: Salt Lake City, UT
Distribution: CentOS
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thank you for your feedback. I tried these two options but neither worked. I ended up looking up another forum and noticed a different solution that required me to rm -r /etc/X11/xorg.conf.d. Since I was struggling with this problem for a week I figured I had nothing more to lose so I ran the command and reran startx. It now works!! I guess it had to rebuild that file after the drivers were installed.
 
Old 08-01-2016, 07:22 PM   #6
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Rep: Reputation: 23
Congratulations.

So far I've been building LFS/BLFS five times, and I never have the same configuration for X-org.
Because I encountered a different problem every time I finished building X-org.

I think building X-org is the most tricky part of BLFS.
 
  


Reply

Tags
xorg, xwindows



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem with xorg, startx does not start, no screens found JayCorts Linux From Scratch 8 05-09-2019 12:52 AM
Xorg, no screens found; no devices found (after Virtualbox install) Archytas Linux - General 6 03-06-2013 03:41 PM
xorg.0.log no screens found and I cant figure out why gfem Fedora 6 02-20-2009 09:46 AM
Dell Dimension 2100 XOrg "No Screens Found" sigloiv Linux - General 0 02-17-2005 05:57 PM
Mandrake 10.1/GeForce 4600... xorg error "no screens found" SAFX Mandriva 8 10-18-2004 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration