Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-02-2007, 01:42 PM
|
#1
|
|
Member
Registered: Oct 2005
Posts: 72
Rep:
|
Reconfiguring xorg from command line in Fedora
Is there in Fedora an utility which, like Ubuntu's "dpkg-reconfigure xserver-xorg", can be used to reconfigure the X server (ie, editing the xorg.conf file) AT COMMAND LINE, when the X server does NOT start and consequently the "system-config-display" command is NOT working?
Thanks.
|
|
|
|
07-02-2007, 03:58 PM
|
#2
|
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware, Cross Linux from Scratch, Gentoo
Posts: 2,663
Rep: 
|
I always like the configuration utility that is provided by X Windows. Execute as root to create a new xorg.conf
Code:
cd ~ &&
mv /etc/X11/xorg.{conf,conf-old} &&
Xorg -configure
Then test your new configuration file
Code:
X -config ~/xorg.conf.new
You will only see a 'grey' background with black X cursor, but this indicates the X server is working. Exit with Control+Alt+Backspace. If the system does not work, take a look at /var/log/Xorg.0.log to see what went wrong.
Now, as the root user, move the configuration file to the new directory
Code:
cp -v ~/xorg.conf.new /etc/X11/xorg.conf
|
|
|
1 members found this post helpful.
|
07-02-2007, 04:14 PM
|
#3
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
In Fedora Core and related distributions, you can run the command system-config-display even in text mode.
|
|
|
|
07-03-2007, 12:26 AM
|
#4
|
|
Member
Registered: Oct 2005
Posts: 72
Original Poster
Rep:
|
Quote:
|
Originally Posted by weibullguy
I always like the configuration utility that is provided by X Windows.... ...
|
I tried that, but I'm getting the following message:
Code:
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmo/.X0-lock and start again
|
|
|
|
07-03-2007, 12:34 AM
|
#5
|
|
Member
Registered: Oct 2005
Posts: 72
Original Poster
Rep:
|
Quote:
|
Originally Posted by reddazz
In Fedora Core and related distributions, you can run the command system-config-display even in text mode.
|
How can I do that?
If I launch that command in a pts/n terminal I obviously get the graphic mode.
If I launch it in a virtual terminal, say tty1, I get the graphic mode again, but in display :17.0 (by the way, why 17?).
|
|
|
|
07-03-2007, 06:28 AM
|
#6
|
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware, Cross Linux from Scratch, Gentoo
Posts: 2,663
Rep: 
|
What don't you understand?
Code:
If this server is no longer running, remove /tmo/.X0-lock and start again
|
|
|
|
07-03-2007, 10:31 AM
|
#7
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Quote:
|
Originally Posted by armandino
How can I do that?
If I launch that command in a pts/n terminal I obviously get the graphic mode.
If I launch it in a virtual terminal, say tty1, I get the graphic mode again, but in display :17.0 (by the way, why 17?).
|
Its a graphical tool, that runs its own xserver if the xorg settings are not working properly. Anyway, try the solution suggested in the error message you got.
|
|
|
|
07-04-2007, 02:53 AM
|
#8
|
|
Member
Registered: Oct 2005
Posts: 72
Original Poster
Rep:
|
Quote:
|
Originally Posted by reddazz
Its a graphical tool...
|
I understood that.
I thought it could be similar to "system-config-network" which, when launched from a VT, runs in text mode. I thought I could be missing some option to make "system-config-display" work the same way.
So my initial question becomes more relevant: is there in Fedora (or is it possible to yum install from Fedora's repos) any text-mode utility with which to configure the X server without having to manually edit xorg.conf??
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:27 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|