[SOLVED] xorg.conf resets at Boot

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
Baeaan
Level 1
Level 1
Posts: 3
Joined: Wed Jul 16, 2014 4:39 pm

[SOLVED] xorg.conf resets at Boot

Post by Baeaan » Wed Jul 16, 2014 4:56 pm

I have some extra lines in my /etc/X11/xorg.conf file to make my mouse preform correctly as well as a lot of other lines that were put in when I did aticonfig --inital.

Code: Select all

Section "ServerLayout"
	Identifier     "aticonfig Layout"
	Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]-0"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "Default Card 0"
	BusID       "PCI:0@0:1:0"
EndSection

Section "Device"
	Identifier  "Default Card 1"
	BusID       "PCI:1@0:0:0"
EndSection

Section "Device"
	Identifier  "Default Card 2"
	BusID       "PCI:2@0:0:0"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]-0"
	Driver      "fglrx"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]-0"
	Device     "aticonfig-Device[0]-0"
	Monitor    "aticonfig-Monitor[0]-0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

But every time I reboot the computer something changes my xorg.conf to the following:

Code: Select all

Section "Device"
    Identifier "Default Card 0"
    BusID "PCI:1@0:0:0"
EndSection

Section "Device"
    Identifier "Default Card 1"
    BusID "PCI:2@0:0:0"
EndSection
and it creates an xorg.conf.X where X is the date of the reboot.

What do I need to do to stop it from re-wrting my xorg.conf whenever i boot?
Last edited by Baeaan on Thu Jul 17, 2014 9:36 pm, edited 1 time in total.

User avatar
DrHu
Level 17
Level 17
Posts: 7539
Joined: Wed Jun 17, 2009 8:20 pm

Re: xorg.conf resets at Boot

Post by DrHu » Wed Jul 16, 2014 6:11 pm

Chagne permissions on the file (ro - Read-Only ), and remember when initially editing that file in /etc/X11/xorg.conf to use sudo (root-like /admin user--the first user created by Mint's installation)

ATI setup info..
https://wiki.archlinux.org/index.php/ATI
https://duckduckgo.com/l/?kh=-1&uddg=ht ... taller.pdf
--ATI catalyst manual/user guide..

Baeaan
Level 1
Level 1
Posts: 3
Joined: Wed Jul 16, 2014 4:39 pm

Re: xorg.conf resets at Boot

Post by Baeaan » Thu Jul 17, 2014 1:29 pm

Setting the file to read only (444) does not work. It looks like at some point xorg.conf is moved to xorg.conf.date. The file with the date still has the read only premonitions I set on the file and xorg.conf is now has 644, root can read and write, everyone else can only read.

JeremyB
Level 20
Level 20
Posts: 10781
Joined: Fri Feb 21, 2014 8:17 am

Post by JeremyB » Thu Jul 17, 2014 1:48 pm

Code: Select all

sudo chattr +i /etc/X11/xorg.conf
should stop changes but could cause issues too as I haven't used chattr on that file

Baeaan
Level 1
Level 1
Posts: 3
Joined: Wed Jul 16, 2014 4:39 pm

Re: [SOLVED] xorg.conf resets at Boot

Post by Baeaan » Thu Jul 17, 2014 9:37 pm

Thank you JeremyB. That seems to have done the trick. And I have not found any issues with using that command on xorg.conf.

Post Reply

Return to “Hardware Support”