Dear All:
I am very new to Knoppix, and I try to customize the live cd to autostart vncserver when the cd is booted.
Would you please give me suggestion on how to accomplish this task?
Dear All:
I am very new to Knoppix, and I try to customize the live cd to autostart vncserver when the cd is booted.
Would you please give me suggestion on how to accomplish this task?
The best place to post this type of question is to the Customising & Remastering forum. Check out the HOWTO I made http://www.knoppix.net/forum/viewtopic.php?t=13867 or see the docs for the remastering HOWTO http://www.knoppix.net/docs/index.ph...masteringHowto.
You should be able to create a script that launches vncserver. There is the issue with the vncserver password as you will either need to capture it or have to enter it everytime the script is run. I would store that script (myvnclauncher) in /etc/init.d/. Then I would create a link to that script in runlevel 5.That script would be executed right before Knoppix starts up KDE.Code:ln -s /etc/init.d/myvnclauncher /etc/rc5.d/S80myvnclauncher
If you want to start the vncserver after KDE starts up you will probably have to edit the /etc/X11/Xsession.d/45xsession script as it controls how & when KDE is loaded.
I hope this helps.
James

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99
Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99
GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$189.99
ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.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
ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio
$34.99
ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI ATX RGB
$69.99
Dell XPS 8940 Desktop Motherboard Intel H470 LGA1200 DDR4 K3CM7 KV3RP 427JK
$154.99
B85M-G Motherboard Intel Core i7-4770 CPU LGA1150 mATX 4 DIMM IO Shield
$75.96