-
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
-
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
-
Senior Member
registered user
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
-
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
-
Forum Rules

WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure
$107.99

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003
$639.69

Lacie 2big Quadra RAID 2 x 2 TB 4 TB Only 158 hours
$199.00

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2
$75.99

OWC ThunderBay 8 8-Bay Thunderbolt 40Gb/s RAID 5 Enclosure w/SoftRAID Premium
$698.85

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller
$64.99

Dell 3KDWX PERC H755 12G 8GB Cache Front RAID Controller
$999.99

Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004
$649.99

LSI 9461-16i MEGARAID RAID 12GBPS 16 PCIE3.0 PORT KIT W/BATTERY 03-50011-69004
$145.99