Results 1 to 2 of 2

Thread: Automatically Do Some Commands?

  1. #1
    Just burned his ISO
    Join Date
    Jun 2010
    Posts
    4

    Cool Automatically Do Some Commands?

    The only way I can get into the Backtrack 5 GUI is to do these commands that I found.
    rm /root/.kde/cache-root/icon-cache.kcache
    rm /root/.kde/cache-root/plasma_theme_Volatile.kcache
    rm /root/.kde/cache-bt/icon-cache.kcache
    rm /root/.kde/cache-bt/plasma_theme_Volatile.kcache
    rm -rf /var/tmp/kdecache-root
    startx
    So I'm wondering, is there anyway to make all of these commands automatically run as soon as backtrack starts up? (Which would also make it start up in GUI automatically)

    Thanks

  2. #2
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default Re: Automatically Do Some Commands?

    I'm going to guess you are booting from a live dvd each time. I would suggest setting up a persistent USB stick doing the above 1 time and be finished with it.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

Similar Threads

  1. Automatically starting X with GDM or KDM
    By KMDave in forum BackTrack 5 How-To's
    Replies: 0
    Last Post: 06-14-2011, 01:28 PM
  2. How do I start the GUI automatically?
    By trusk in forum OLD Newbie Area
    Replies: 4
    Last Post: 01-17-2010, 06:26 PM
  3. Starting the Xserver automatically
    By KMDave in forum OLD BT4beta HowTo's
    Replies: 21
    Last Post: 04-04-2009, 12:39 PM
  4. Run VMware Tools automatically?
    By squishyalt in forum OLD BackTrack 3 Final
    Replies: 22
    Last Post: 11-27-2008, 11:17 PM
  5. How to mount USB-Stick / USB-HDD automatically ??
    By chrisrace in forum OLD Newbie Area
    Replies: 4
    Last Post: 11-06-2007, 06:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •