LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-03-2004, 09:11 AM   #46
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47

yes: well, close
first: do this as root, not as valentino
type this to open the file in the vi editor:
Code:
vi XF86Config-4
notice the lowercase v in vi and the uppercase in XF86Congif-4... this is important
press the Insert key to go to edit mode
edit the hsync and vrefresh rates to look like mine
delete the section previously specified, make sure of this:
-your will look slightly different, but make sure to delete ONLY THE ONE THAT HAS DEPTH 24
- NONE of the lower ones (Depth 16, 8, etc)
Press your Esc key to get to command MODE (in the editor)
type :wq (thats a colon, then wq) to save the file and quit the editor
youll be back at a normal command prompt
then logout, log back in as valentino, and try startx
 
Old 08-03-2004, 09:22 AM   #47
DemonFox
Member
 
Registered: Aug 2004
Posts: 46

Original Poster
Rep: Reputation: 15
So I type wq: and then enter and then type wq (wrong isn't it? )? O well... I have 3 H-sync rates and one of them has 2 (first, second). Do I have to change them all?
 
Old 08-03-2004, 09:25 AM   #48
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
change whatever hsync rates you have to look like mine
and we're simply trying to save the file and quit
after yur thru editing,
Press Esc (thats your Escape key)
then type
:wq
thats a colon, then wq
not the other way around
 
Old 08-03-2004, 09:37 AM   #49
DemonFox
Member
 
Registered: Aug 2004
Posts: 46

Original Poster
Rep: Reputation: 15
Well it didn't work. I changed everything then I did :wq and then wq but it said it was an invalid command.
 
Old 08-03-2004, 09:40 AM   #50
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
are you doing it as root?

Quote:
yes: well, close
first: do this as root, not as valentino
type this to open the file in the vi editor:
 
Old 08-03-2004, 09:48 AM   #51
DemonFox
Member
 
Registered: Aug 2004
Posts: 46

Original Poster
Rep: Reputation: 15
The settings were saved without the wq... but I still get the same error.
 
Old 08-03-2004, 09:51 AM   #52
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
the hsync and vrefresh rates were saved, and the depth 24 was gone?
did the error message change, or are these lines still in it:
Code:
(EE) VGA (0): Driver can't support depth 24
(EE) Screen (s) found, but none have a usable confoguration.
 
Old 08-03-2004, 09:57 AM   #53
DemonFox
Member
 
Registered: Aug 2004
Posts: 46

Original Poster
Rep: Reputation: 15
the hsync and vrefresh rates were saved, and the depth 24 was gone?

yup...

did the error message change, or are these lines still in it:

still in there
 
Old 08-03-2004, 10:05 AM   #54
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
and u edited XF86Config-4 not XF86Config right?
 
Old 08-03-2004, 10:07 AM   #55
DemonFox
Member
 
Registered: Aug 2004
Posts: 46

Original Poster
Rep: Reputation: 15
yup
 
Old 08-03-2004, 10:08 AM   #56
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
im not so sure how this would work, but in the XF86Config file there is a line that says DefaultDepth 24
it's located here
Code:
# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "** Intel i810 (generic)               [i810]"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
maybe try changin that number to say, 16
 
Old 08-03-2004, 10:11 AM   #57
DemonFox
Member
 
Registered: Aug 2004
Posts: 46

Original Poster
Rep: Reputation: 15
XF86Config-4 or just XF86Config?
 
Old 08-03-2004, 10:13 AM   #58
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
the initial file we were editing was XF86Config-4
the file we now want to edit is just XF86Config
 
Old 08-03-2004, 10:21 AM   #59
DemonFox
Member
 
Registered: Aug 2004
Posts: 46

Original Poster
Rep: Reputation: 15
Didn't work.... should I try to change the default depth in XF86Config-4?
 
Old 08-03-2004, 10:24 AM   #60
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
yes... change the XF86Config back to what it was adn change the DefaultColorDepth in XF86Config-4 to 16
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Using partition magic to create Linux partition then install EviLBoX Linux - General 5 09-12-2008 06:01 AM
Can I get Photoshop CS2 Trial to work on Linux? IanPappas Linux - Software 8 09-29-2005 06:32 PM
Problem Resizing Linux Partition From Partition magic John_Emad SUSE / openSUSE 5 02-16-2005 01:42 PM
After using Partition Magic GRUB doesn't work... sbaguz Linux - Newbie 8 08-23-2003 02:54 AM
How do I install slackware on a partition made by partition magic in windows bling bling Slackware 4 06-29-2003 12:16 AM


All times are GMT -5. The time now is 12:11 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration