-
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

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

Corsair RMe RM850e 850W 80 Plus Gold Fully Modular Low Noise Certified Refurb
$58.99

Gigabyte GA-B85M-D3H Motherboard
$54.99

GIGABYTE - A620M S2H AM5 DDR5 M-ATX Motherboard
$65.00

Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4
$79.99

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P
$71.49

ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series
$235.99

Dell XPS 8940 Desktop Motherboard Intel H470 LGA1200 DDR4 K3CM7 KV3RP 427JK
$154.98