WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: X automatically starting at each boot  (Read 2727 times)

Offline Sosukodo

  • Newbie
  • *
  • Posts: 4
X automatically starting at each boot
« on: March 29, 2011, 10:39:51 PM »
Hi all,

Firstly, I just want to say that I'm loving Microcore :-) I've just run into a slight problem.

After installing XOrg, X starts automatically. I don't want it to.

What script is being run that starts X after boot?

I've tried edting the ~/.profile but after commenting the startx at the bottom, it's uncommented after reboot!

Thanks

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: X automatically starting at each boot
« Reply #1 on: March 29, 2011, 10:49:27 PM »
You can add the boot option text to whatever boot loader that you are using.

Another option is to use the backup/restore feature. Since you have Xorg working then perform a backup upon exit.

Another option is to use persistent home.

Many options depend on how you chose to install microcore.
10+ Years Contributing to Linux Open Source Projects.

Offline Sosukodo

  • Newbie
  • *
  • Posts: 4
Re: X automatically starting at each boot
« Reply #2 on: March 29, 2011, 11:39:52 PM »
Thanks.

I used the tutorial at http://www.tinycorelinux.com/install.html to install.

I've added text to menu.lst and now it's all good.

But I still don't understand why my ~/.profile, etc files are being reverted to their original content each reboot?

Thanks again

Offline Sosukodo

  • Newbie
  • *
  • Posts: 4
Re: X automatically starting at each boot
« Reply #3 on: March 29, 2011, 11:59:37 PM »
Nevermind. I just found the Wiki lol.

Offline Sosukodo

  • Newbie
  • *
  • Posts: 4
Re: X automatically starting at each boot
« Reply #4 on: March 30, 2011, 08:41:04 PM »
Scratch that. Wiki has vaporized.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11643
Re: X automatically starting at each boot
« Reply #5 on: March 30, 2011, 08:58:51 PM »
Hi Sosukodo
Open the the  /opt/filetool.lst  and add the names of files that you would like to save between reboots.
Use the same format as is in the file, no leading  /  from the root.
Enter  filetool.sh -b  to backup those files before rebooting.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: X automatically starting at each boot
« Reply #6 on: March 30, 2011, 09:03:21 PM »
Scratch that. Wiki has vaporized.
The wiki has JUST been moved.