LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   No Screens Found Error when startx (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/no-screens-found-error-when-startx-235821/)

Ckesey 09-27-2004 11:57 AM

No Screens Found Error when startx
 
I have very limited experience with mandrake or any version of linux so please speed simple terms and explain the process. After I installed mandrake 10.0 on my Sony TR laptop i booted up to a command prompt which i logged in a root and then typed startx. I get the fatal server error:No screens Found. I have found the drivers for my display adapter from Intel's website but I'm not sure how to install them. I have both .rpm file and the .tar file. How do i go about getting these files installed from a CD ROM??? Will this fix my problem???
Thanks ahead of time!
ck

JaseP 09-27-2004 12:05 PM

Log in as root and launch HardDrake (I use SuSE now, so I'm not sure about the character casing). See if that allows you to get to the section for the video setup,... I'm surprised it didn't auto-detect.

If not, there is another setup utility that works in Mandrake. Use that to get you to a graphical screen, and then you can try to install the more updated drivers.

Ckesey 09-27-2004 12:14 PM

I tried 'harddrake' , 'Harddrake' , 'HardDrake', and i saw on a post that is was 'HardDrake2' which returned to me that it couldn't be started from a console (which is the only place i can go @ this point). Any suggestion?
Thanks

JaseP 09-27-2004 12:40 PM

Try XFDrake (again, using various capitalization schemes)... I think that was the name of the package...

Ckesey 09-27-2004 01:45 PM

U R the MAN! FXDrake was the command and it let me change my display adapter and properties. It had the right adapter selected but i chose the option to configure only the card and it worked. Not sure why it didn't work the first time but its fixed now. One problem im still having...I can't use the wide screen picture of my laptop. The only monitors listed in the control center is standard flat planels. And when i do a custom I only get H and V refresh rates to change. Any suggestions????

JaseP 09-27-2004 01:55 PM

Quote:

Originally posted by Ckesey
U R the MAN! FXDrake was the command and it let me change my display adapter and properties. It had the right adapter selected but i chose the option to configure only the card and it worked. Not sure why it didn't work the first time but its fixed now. One problem im still having...I can't use the wide screen picture of my laptop. The only monitors listed in the control center is standard flat planels. And when i do a custom I only get H and V refresh rates to change. Any suggestions????
Yes,...

BACK UP YOUR XF86CONFIG-4 and XF86CONFIG FILES FIRST!!! You might need `em later...

Then you can fart around to your heart's content with the video configuration tool.
With a custom display setup like you've got, you might have to "roll your own" modelines in the XF86Config files. Do a little research as to your model's video set-up.

Ckesey 09-27-2004 02:09 PM

How do I get to the Video Configuration Tool?? Is that a file I will have to edit??? Thanks for all your help!!!

JaseP 09-27-2004 02:15 PM

XFDrake is the video configuration tool in Mandrake.

SuSE has SAX2,...

RedHat/Fedora has another...

Some hardware manufacturers have their own tools...

Then, there is using a text editor to edit the XF86Config files... they are usually found in /etc/X11,...

Ckesey 09-27-2004 04:05 PM

I have edited my XF86Config file to look like this:

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
Load "/usr/X11R6/lib/modules/extensions/libglx.a"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "1024x768 @ 60 Hz"
HorizSync 31.5-48.5
VertRefresh 50-70

# Sony Vaio C1(X,XS,VE,VN)?
# 1280x768 @ 85.6 Hz, 48 kHz hsync
ModeLine "1280x768" 80.14 1280 1344 1480 1680 768 768 772 795
EndSection

Section "Device"
Identifier "device1"
VendorName "Intel Corp."
BoardName "Intel 85x"
Driver "i810"
BusID "PCI:0:2:0"
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1280 768
EndSubsection

EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
#Option "Xinerama"
EndSection


********************************************
Im still getting the regular screen size. Is there any other files that need to be edited to allow me to get a 1280x768 screen???? I don't see a XF86CONFIG-4 file in the x11 folder.....is that another file that i need???
Thanks

Ckesey 09-27-2004 04:07 PM

I found the "rolling" config for my monitor on a website that had done this on another version of linux.

JaseP 09-27-2004 04:41 PM

I would try making sure your refresh rates were consistant throughout the config,... but first make sure you make a backup file that you can use to overwrite the config file if it gets screwed up...

Also, make sure there is not another config file (Mandrake had a habit of creating a XF86Config & a XF86Config-4 file, both of which were necessary). The two must also be consistent.

Ckesey 09-28-2004 09:22 AM

compile file
 
I believe I have found my fix but (as i said earler im very new to linux) and need to know how to compile this file http://nomadic.null.li/intel/1280patch.c Do i need to save it to a text file in linux and so something with it?? What is the process for compiling a file??? The post said i should "To compile, just do "gcc -o 1280patch 1280patch.c"." but there again im so new i don't know what that means.
Thanks for your help!!!!!

JaseP 09-28-2004 02:27 PM

Just play with the modelines for now,...

Save this C code patch as a backup measure incase you get nowhere. This looks very much to be a bios patch.It appears that you are to compile this and then load the thing into bios memory, into shadow RAM. Doing this could theoretically mess your machine up beyond repair (that is, beyond your ability to fix it) if something goes wrong.

It's far easier to simply define a set of modelines for the display and tweak and adjust them...

There are modeline calculators online that you can use to try to get the settings right.

Ckesey 09-28-2004 04:04 PM

I have changed file that is in the x11 folder. Every file has at least one modeline with the 1280x768 but still no change in the screen size. I also have looked in the control center at "monitor" and "resoultion" and no change has taken place in either of those windows. Am i leaving something out or in the wrong folder?????


All times are GMT -5. The time now is 08:21 AM.