-
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

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$99.99

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$60.00

Micron MTFDDAK256TBN 256 GB, Internal ,2.5" SSD
$23.00

Samsung New SSD 970 EVO Plus 2TB 1TB 500GB 250GB NVMe M2 Internal Hard Drive Lot
$79.99

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$549.00

Crucial MX500 250GB 2.5" SATA III SSD - Preowned
$29.00

Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health
$24.00

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON
$28.00

Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot
$119.99

Netac 256GB SSD 2.5'' SATA III 6Gb/s Internal Solid State Drive 500MB/s PC/Latop
$40.00