x404.co.uk
http://www.x404.co.uk/forum/

HOWTO: Back up and restore X Server Configuration
http://www.x404.co.uk/forum/viewtopic.php?f=4&t=507
Page 1 of 1

Author:  forquare1 [ Tue May 12, 2009 10:32 pm ]
Post subject:  HOWTO: Back up and restore X Server Configuration

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.

Author:  rustybucket [ Wed Sep 29, 2010 4:38 pm ]
Post subject:  Re: HOWTO: Back up and restore X Server Configuration

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**
=================================

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/