Fedora Linux Support Community & Resources Center
  #1  
Old 23rd April 2006, 07:53 PM
elreteipos Offline
Registered User
 
Join Date: Jun 2005
Posts: 14
Configuring X from the command line

After installing FC5, X Window doesn't work. Maybe I've misconfigured something, so I want to reconfigure X from the command line. I know that Red Hat used to have xconfig or xconf86 or something similar, but that seems to be unavailable. What should I do now?
Reply With Quote
  #2  
Old 23rd April 2006, 08:01 PM
steve1961's Avatar
steve1961 Offline
Registered User
 
Join Date: Jul 2005
Location: Coventry, UK
Posts: 583
Easiest way is to logon as root, type setup, and choose the option to configure x. By the way, the config file is /etc/X11/xorg.conf You can also edit this directly from the command line using something like vi or nano.
Reply With Quote
  #3  
Old 23rd April 2006, 08:57 PM
ItsTheSource Offline
Registered User
 
Join Date: Apr 2006
Location: Richmond, VA
Age: 28
Posts: 57
Code:
Xorg -configure
attempts to configure everything for you. You'll probably have to manually edit xorg.conf for mouse & graphics though. More Here
Reply With Quote
  #4  
Old 24th April 2006, 05:16 PM
elreteipos Offline
Registered User
 
Join Date: Jun 2005
Posts: 14
I've been able to fix it, but I can't use a resolution higher than 800x600. If I try that, the screen goes blank again. This should not be a problem, because I'm able to use 1024x768 on Windows. I also checked if FC5 is running the right drivers, and it does, so that is not part of the problem. Is there anything else I can try?

Also, I can't use Add/Remove Programs because I get an error. The same thing happens when I try to install an RPM.
Reply With Quote
  #5  
Old 24th April 2006, 05:23 PM
steve1961's Avatar
steve1961 Offline
Registered User
 
Join Date: Jul 2005
Location: Coventry, UK
Posts: 583
You could try editing /etc/X11/xorg.conf. In the screen section make sure that you set "1024x768" as the default resolution. I have 24 bit as the default colour depth so the relevant line looks like thi for a 1280x1024 display:

SubSection "Display"
Depth 24
Modes "1280x1024"

While you're at it double check the horizontal and vertical refresh rates - use the screen manual or google to get the correct entries.
Reply With Quote
  #6  
Old 24th April 2006, 05:52 PM
elreteipos Offline
Registered User
 
Join Date: Jun 2005
Posts: 14
My screen is a VERY old one so it will be hard to figure that out...

Edit: I'm using a Laser Computer LS6928/15SC screen, manufactured in 1997.

Edit 2: I just found out that I can get the frequencies using the on screen display of my monitor. FH: 68.5KHZ and FV: 84.8HZ.

Last edited by elreteipos; 24th April 2006 at 05:59 PM.
Reply With Quote
  #7  
Old 24th April 2006, 05:58 PM
steve1961's Avatar
steve1961 Offline
Registered User
 
Join Date: Jul 2005
Location: Coventry, UK
Posts: 583
Quote:
Originally Posted by elreteipos
My screen is a VERY old one so it will be hard to figure that out...

Edit: I'm using a Laser Computer LS6928/15SC screen, manufactured in 1997.

In that case just try changing the resolution.
Reply With Quote
  #8  
Old 24th April 2006, 06:12 PM
elreteipos Offline
Registered User
 
Join Date: Jun 2005
Posts: 14
Quote:
Originally Posted by steve1961
In that case just try changing the resolution.
I already tried that, but it doesn't work. I'll try the frequency thing.
Reply With Quote
  #9  
Old 24th April 2006, 06:30 PM
steve1961's Avatar
steve1961 Offline
Registered User
 
Join Date: Jul 2005
Location: Coventry, UK
Posts: 583
My values are very conservative, you could try these if you want to test them out:

HorizSync 31.5-67.0
VertRefresh 50.0-75.0

Failing that you could use a modeline. See here:

http://www.fedoraforum.org/forum/sho...d.php?t=101265
Reply With Quote
  #10  
Old 24th April 2006, 07:39 PM
elreteipos Offline
Registered User
 
Join Date: Jun 2005
Posts: 14
Not working here. Too bad... :-(
Reply With Quote
  #11  
Old 24th April 2006, 08:03 PM
steve1961's Avatar
steve1961 Offline
Registered User
 
Join Date: Jul 2005
Location: Coventry, UK
Posts: 583
Quote:
Originally Posted by elreteipos
Not working here. Too bad... :-(

Not sure what else to suggest. Anybody else have any ideas?
Reply With Quote
  #12  
Old 24th April 2006, 08:27 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
Quote:
Originally Posted by elreteipos
Not working here. Too bad... :-(
Hello:
Can you look in your Xorg.log and filter for maximum pixel clock .. it will be expressed in MHz and post the output?
Then from a terminal try $ gtf 1024x768 85
and post the output.
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #13  
Old 25th April 2006, 06:47 PM
elreteipos Offline
Registered User
 
Join Date: Jun 2005
Posts: 14
What is Xorg.log and where can I find it?

Quote:
Originally Posted by Seve
Then from a terminal try $ gtf 1024x768 85
and post the output.
I assume you meant "gtf 1024 768 85" (without the 'x'). Anyway, I got the output:
Quote:
[root@localhost ~]# gtf 1024 768 85

# 1024x768 @ 85.00 Hz (GTF) hsync: 68.60 kHz; pclk: 94.39 MHz
Modeline "1024x768_85.00" 94.39 1024 1088 1200 1376 768 769 772 807 -HSync +Vsync

[root@localhost ~]#
Reply With Quote
  #14  
Old 25th April 2006, 07:33 PM
steve1961's Avatar
steve1961 Offline
Registered User
 
Join Date: Jul 2005
Location: Coventry, UK
Posts: 583
You can find xorg.0.log in /var/log if that's of any help.
Reply With Quote
Reply

Tags
command, configuring, line

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Command-line configuring power management in FC5 Sagari Using Fedora 0 13th December 2007 09:36 AM
Configuring a firewall from command line KKJensen Servers & Networking 4 19th February 2007 04:53 PM
Installing/configuring programs (Apache/PHP) in GUI vs YUM/command line Tiembo Using Fedora 2 10th October 2005 09:11 PM


Current GMT-time: 20:38 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat