-
Automatically starting a program on bootup of machine
How can I automatically start a program says VNC on boot up of my machine?
Thanx
ZUZU
-
Senior Member
registered user
Write an init script and link it to your default run level's runcontrol folder. Just make a new text file with this in it:
#!/bin/sh
su -c "vncserver -geometry 1024x768 -name knoppix:1" knoppix
name the script something... vnc1024 in this example. Note: that vnc command may not be quite correct.... I'll check on it and edit if if necessary. A good place to save this is /usr/local/bin (so all users with that in their PATH can use it as a regular system command).
chmod +x vnc1024
^ makes it executable for all users.
as root:
ln -s /usr/local/bin/vnc1024 /etc/rc5.d/S98vnc1024
^ links it to the run control for graphical mode.
-
Senior Member
registered user
In kde, you can make a shortcut to the program, put it in the kde autostart folder, and it will run at startup.
Similar Threads
-
By jtaugher in forum General Support
Replies: 8
Last Post: 11-29-2004, 04:55 PM
-
By ovaron in forum General Support
Replies: 2
Last Post: 10-27-2004, 07:04 AM
-
By adamherb in forum MS Windows & New to Linux
Replies: 1
Last Post: 09-25-2004, 03:22 AM
-
By Morf in forum General Support
Replies: 2
Last Post: 03-16-2004, 01:00 AM
-
By motu2k in forum Customising & Remastering
Replies: 1
Last Post: 02-19-2004, 10:59 AM
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
Intel PCIe SSD AIC RAID Controller Card G97168-252
$44.55
LSI 9305-16i SATA SAS 12Gbs RAID Controller PCIe 3.0 x8 IT-Mode 4* 8643 SATA
$229.99
Cisco UCS LSI MegaRAID 9271CV-8I SAS2308 PCIe SAS Internal RAID Controller
$28.00
Dell HBA330 12GBPS SAS Internal HBA Controller (NON-RAID) PCIe Card J7TNV 0J7TNV
$40.95
Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE
$15.98
LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License
$39.95
ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs
$87.99
LSI MegaRaid 9361-8i 12Gbps SAS / SATA Raid Controller PCIe x8 3.0 Tested
$29.00
4 Bay RAID External Hard Drive Enclosure for 2.5/3.5" SATA HDD/SSD
$79.99
G TECHNOLOGY G RAID 0G04228 2-Bay Thunderbolt 2 RAID Array W/Power Supply
$99.99