mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Jan. 08 2005,21:07 |
|
In DSL runlevel 5 is text mode, as far as I know. The difference here is that user dsl is automatically logged in, and then since the startx line is in .bash_profile you get automatically sent into X. I assume this was done as a way to mimic the xdm behavior without the additional software. You might notice this difference between DSL and systems using a graphical session manager such as xdm....when you exit Fluxbox in DSL you're sent to tty, but with xdm you remain in X with a graphical login screen (i HATE that).
As I said, making a backup of .bash_profile with no startx command will prevent X from loading automatically, but I was just hoping I wouldn't need to shuffle around too many backup.tar.gz files...I already have 4 different ones with varying degrees of graphic configurations and that's rather annoying to begin with.
What about the possibility of specifying a tar.gz backup file at boot time? This way you could have as many different backup files as you want in the same partition without having to move them around every time you want to boot with a different configuration. One possibility is using multiple directories containing various backups. This way you could say 'dsl restore=hda4:<dirname>' or something like that. The 'optional' directory would hopefully still be read the same way(or maybe it could be symlinked), but backup.tar.gz and any auto-loaded extensions would be found in that directory. Or the autoloaded extensions could be kept in optional and loaded via bootlocal. In this way you could also keep multiple backups on a single CD. Take it with you to another machine and test it...whoops...this machine can use Xfree86, but not nvidia, so I just reboot the same CD using a different configuration....no manual copying of files and loading of extensions.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|