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
  •  


HP ProLiant DL360 Gen 11 - Xeon Gold 5th Gen - 192 GB DDR5 ECC - 2x 240 GB SSD picture

HP ProLiant DL360 Gen 11 - Xeon Gold 5th Gen - 192 GB DDR5 ECC - 2x 240 GB SSD

$17000.00



Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor   picture

Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor

$50.00



Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS picture

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS

$239.99



Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS picture

Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS

$127.54



Dell T7910 Workstation Tower Homelab AI Server PC - Xeon CPU - NO HDD/RAM/GPU picture

Dell T7910 Workstation Tower Homelab AI Server PC - Xeon CPU - NO HDD/RAM/GPU

$279.99



Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU picture

Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU

$7.95



Intel Xeon E5-2699 v3 18 Core 2.3 GHz 45MB SR1XD LGA 2011-3 B Grade picture

Intel Xeon E5-2699 v3 18 Core 2.3 GHz 45MB SR1XD LGA 2011-3 B Grade

$15.95



Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



Dell Precision T1700 Workstation Intel Xeon 16G Ram 256GG SSD Nvidia 600  Win 10 picture

Dell Precision T1700 Workstation Intel Xeon 16G Ram 256GG SSD Nvidia 600 Win 10

$109.99



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00