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
  •  


Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 256GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 256GB 2x10G SFP+ 2x2200W

$3472.00



Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 64GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 64GB 2x10G SFP+ 2x2200W

$3180.00



Supermicro 4U 4x Nvidia GPU AI Server 2.6Ghz 8-Core 256GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 2.6Ghz 8-Core 256GB 2x10G SFP+ 2x2200W

$1382.00



Supermicro 4U 4x Nvidia GPU AI Server 3.6Ghz 8-Core 256GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 3.6Ghz 8-Core 256GB 2x10G SFP+ 2x2200W

$1732.00



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$489.99



AMD Ryzen 7 3700X 3.6GHz 8 Core, 16 Thread, AM4, Zen2, Processor 100-000000025 picture

AMD Ryzen 7 3700X 3.6GHz 8 Core, 16 Thread, AM4, Zen2, Processor 100-000000025

$94.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel Core i7-7700 3.60GHz (4.20GHz) Quad-Cores LGA1151 8MB 65W CPU SR338 picture

Intel Core i7-7700 3.60GHz (4.20GHz) Quad-Cores LGA1151 8MB 65W CPU SR338

$69.99



Dell Optiplex 7060 SFF 8th Gen Core i7 3.2GHZ 32GB 512GB Win 11 Pro picture

Dell Optiplex 7060 SFF 8th Gen Core i7 3.2GHZ 32GB 512GB Win 11 Pro

$249.00