Reply to topic  [ 2 posts ] 
HOWTO: Back up and restore X Server Configuration 
Author Message
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 6:36 pm
Posts: 5150
Location: /dev/tty0
Reply with quote
PLEASE don't mess about with your system without doing this - it makes it simple if certain things go wrong.

This is a technique that I have used several times this week as I buggered the config whilst pratting with Sax2.

The main X server config file is called xorg.conf is located in /etc/X11.

--------------------------------------------------------------
To Back-up do the following:

Open up a terminal window.

Type cd /etc/X11 and press return

Type su and press return. Enter the root password and press return again.

Type cp xorg.conf xorg.conf.rescue and press return.

Type exit and press enter

Close the terminal window

--------------------------------------------------------------
To Restore do the following:

Get yourself to run-level 3. The easiest way to do this (in SUSE) is to press Ctrl+Alt+F2, log in as root, type init 3 and press return, and then log in normally.

Type cd /etc/X11 and press return

Type su and press return. Enter the root password and press return again.

Type cp xorg.conf.rescue xorg.conf and press return.

Type init 5 &&exit& to restart X.


Tue May 12, 2009 10:32 pm
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Thu Jun 18, 2009 5:10 pm
Posts: 5836
Reply with quote
Since v. 11.3, openSUSE no longer uses an Xorg.conf file and Sax2 has been deprecated.

This is because XOrg now uses dynamic automagic to detect your correct settings. You now only need a static xorg.conf file if the autodetect fails or you want to do something special.

If you just want to change screen properties, use the Display section in System Settings.

=================================

However, if you really need an xorg.conf file, type the following to generate one from the detected configuration:

Code:
Xorg -configure


**Messing about with this can seriously b*ll*x your rig! DO NOT attempt unless you absolutely know what you're doing**
=================================

_________________
Jim

Image


Wed Sep 29, 2010 4:38 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.