LinHES Forums
http://forum.linhes.org/

Xorg.conf recreated every time X restarts
http://forum.linhes.org/viewtopic.php?f=6&t=15370
Page 1 of 1

Author:  JoeyJoeJo [ Fri May 25, 2007 4:41 pm ]
Post subject:  Xorg.conf recreated every time X restarts

I've got my xorg.conf file like I want it, but every time I restart X or reboot, a new file with the wrong driver and resolution is created. How can I stop this from happening?

Author:  psicard [ Fri May 25, 2007 6:49 pm ]
Post subject: 

Are you booting from a CD to edit xorg.conf?

Author:  JoeyJoeJo [ Fri May 25, 2007 7:59 pm ]
Post subject: 

No, I installed to a hard drive.

Author:  Greg Frost [ Sat May 26, 2007 12:26 am ]
Post subject: 

How are you restarting X? The recommended way is using the command pkill xinit or by using ctrl-alt-backspace on a keyboard.

Author:  tjc [ Sat May 26, 2007 8:41 am ]
Post subject: 

It sounds more like the nvidia installer is being run repeatedly, but lacking more details (like whether he has an nViida video card) it's hard to say.

Author:  JoeyJoeJo [ Sat May 26, 2007 1:10 pm ]
Post subject: 

Greg Frost: Usually I only restart X when I reboot the frontend. Once or twice I restarted it by using /etc/init.d/xsession restart.

tjc: I don't have an Nvidia card, but I'll check and see if the nvidia installer is running. I have an epia board which uses the via driver at 800x600. When I restart, it switches to the fbdev driver and 1024x768.

Author:  JoeyJoeJo [ Sat May 26, 2007 1:22 pm ]
Post subject: 

I ran the command 'update-rc.d -f install-nvidia-debian remove' then '/etc/init.d/xsession restart', but it still does the same thing.

Author:  tjc [ Sat May 26, 2007 4:45 pm ]
Post subject: 

Given the video card you have, Try adding an "exit 0" line right after the #! magic in /usr/local/bin/install-epia-unipro.sh

If that doesn't help, there's also the possibility that /etc/init.d/xsession is stepping on it around line 118 or so.

Author:  Greg Frost [ Sat May 26, 2007 5:16 pm ]
Post subject: 

I had the same issue when I was using /etc/init.d/xsession restart. It clobbered xorg.conf every time. From now on, restart X using "pkill xinit" or ctrl-alt-backspace.

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