Results 1 to 3 of 3

Thread: X and run levels

  1. #1
    Member registered user
    Join Date
    Aug 2003
    Posts
    52

    X and run levels

    Hello Everyone,

    I remastered Knoppix, but I've lost the ability for X to be configure and start after a hard drive install. I've looked in various place in order to solve this, but I'm at a lose. Any clues? Also, how can I dictate what daemons get started. I'm referring to /etc/rcX.d/. What I want to get started start when booting from the CD, but again are lose after a hard drive install.

    Thanks in advance,
    cesman

  2. #2
    Member registered user
    Join Date
    Aug 2003
    Posts
    52
    Problem solved! Fabain was able to help me on the IRC! You must modify the knoppix-install script to get what ever daemon you want started. To do this, you'd modify the script below:

    chroot "$TR" su $USER_NAME -c mkdesktopicons

    Here is an example:

    chroot $TR update-rc.d daemon defaults

    Will add which ever daemon(where daemon is the name of the daemon you want to start), it will place it in all run levels. So, it you wanted to start Apache:

    chroot $TR update-rc.d apache defaults

    If you want one daemon to start before another:

    chroot $TR update-rc.d apache defaults 30
    chroot $TR update-rc.d mysql defaults 35

    Will ensure mysql start after apache. If you only want a daemon to start at a specific run level:

    chroot $TR update-rc.d mysql defaults 35 5

    Will start mysql only on run level 5(X). The problem with X not starting was due to my oversight.

    cesman

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    I'm lazy and have been using kxconfig rather than editing /etc/X11/XF86Config-4

    Run kxconfig as root and you sould be able to make your modifications there. Otherwise you'll need to edit the aforementioned file by hand.

Similar Threads

  1. changing run levels? need some advise
    By helios17 in forum General Support
    Replies: 3
    Last Post: 11-22-2004, 05:19 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
  •  


Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5

Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$157.99



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$174.99



WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN picture

WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN

$49.99



Seagate Exos X22 ST20000NM004E 20TB 512E SATA 6Gb/s 3.5

Seagate Exos X22 ST20000NM004E 20TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$268.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$82.99



HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$74.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$27.49



Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5

Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5" Hard Drive

$28.49



HDD-T10T-SM0F27495 - Supermicro 10TB 7.2K 6G SATA 3.5

HDD-T10T-SM0F27495 - Supermicro 10TB 7.2K 6G SATA 3.5" HDD HUH721010ALE604

$43.84