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 MICROSERVER GEN8 E3-1220LV2 @ 2.30GHz, 8GB RAM, NO HDD/OS picture

HP PROLIANT MICROSERVER GEN8 E3-1220LV2 @ 2.30GHz, 8GB RAM, NO HDD/OS

$164.97



HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS picture

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS

$199.00



Supermicro 505-2   Server picture

Supermicro 505-2 Server

$280.00



Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On picture

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On

$450.00



Supermicro E200-8D Mini Server Xeon D-1528 6-Core 64GB ECC 1TB SSD 2x10GbE IPMI picture

Supermicro E200-8D Mini Server Xeon D-1528 6-Core 64GB ECC 1TB SSD 2x10GbE IPMI

$525.00



New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G picture

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G

$449.99



Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram  240gb SSD 2x GPU *READ* picture

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*

$369.99



Supermicro 5019D-4C-FN8TP Xeon D-2123IT (4C/8T) 64GB DDR4 10GbE 480GB 1U Server picture

Supermicro 5019D-4C-FN8TP Xeon D-2123IT (4C/8T) 64GB DDR4 10GbE 480GB 1U Server

$689.00



Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset picture

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset

$129.99



Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC picture

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC

$250.00