Tiny Core Extensions > TCE Q&A Forum

[SOLVED] /etc/X11/xorg.conf not available on reboot.

(1/2) > >>

kagashe:
Xorg 7.4 works without any xorg.conf file but in case I generate one it is not saved and hence not available for next boot. I copied the file to /home/tc and added this line to /opt/bootlocal.sh

--- Quote ---cp /home/tc/xorg.conf /etc/X11/xorg.conf
--- End quote ---

kagashe

curaga:
You can tweak what is saved to your backup in /opt/.filetool.lst - it's the list of what files/directories are saved on shutdown.

Edit: see the "backup" part of getting_started.html

kagashe:

--- Quote from: curaga on December 06, 2008, 04:29:46 AM ---You can tweak what is saved to your backup in /opt/.filetool.lst - it's the list of what files/directories are saved on shutdown.

Edit: see the "backup" part of getting_started.html

--- End quote ---
I am using backup to save /home/tc and that is how a copy of xorg.conf is available on reboot. What I mean is Xorg started fresh on reboot without my xorg.conf and failed. I have added a line in /opt/bootlocal.sh to copy the file from /home/tc to /etc/X11 in addition to modprobe commands to load the modules which are not being added in my case (intel chip).

As you have written in your Xorg document that user should generate a file with "# Xorg -configure" please warn the user that any file generated as above and copied as /etc/X11/xorg.conf is not going to be available for next reboot, else, remedy the situation as I have done or by any other means.

kagashe

^thehatsrule^:
You can also use the backup to restore those files upon next reboot, which is the standard method afaik.

kagashe:

--- Quote from: ^thehatsrule^ on December 06, 2008, 10:04:58 PM ---You can also use the backup to restore those files upon next reboot, which is the standard method afaik.

--- End quote ---
I have tried. /opt/.filetool.lst refuses to accept /etc/X11/xorg.conf file for back-up. I got errors on exit (shutdown canceled) and I had to remove the line:
/etc/X11/xorg.conf

from .filetool.lst

However, my method of keeping a copy of xorg.conf at /home/tc and putting cp command to copy it to /etc/X11 in bootlocal.sh works.

kagashe

Navigation

[0] Message Index

[#] Next page

Go to full version