Results 1 to 3 of 3

Thread: Automatically starting a program on bootup of machine

  1. #1
    Junior Member
    Join Date
    Dec 2003
    Posts
    1

    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

  2. #2
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    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.

  3. #3
    Senior Member registered user
    Join Date
    Sep 2003
    Posts
    106
    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

  1. Win XP Machine- Trying to Access /mnt/hda2/Program Files
    By jtaugher in forum General Support
    Replies: 8
    Last Post: 11-29-2004, 04:55 PM
  2. Starting videograbber automatically
    By ovaron in forum General Support
    Replies: 2
    Last Post: 10-27-2004, 07:04 AM
  3. Virtual Machine Program Live!
    By adamherb in forum MS Windows & New to Linux
    Replies: 1
    Last Post: 09-25-2004, 03:22 AM
  4. Automatically loading floppyconf & starting Samba?
    By Morf in forum General Support
    Replies: 2
    Last Post: 03-16-2004, 01:00 AM
  5. starting X programs automatically
    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
  •  


TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$19.99



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$49.99



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed picture

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed

$199.99



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$39.99



TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597 picture

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597

$36.98



Arista DCS-7050SX-64-R 48P 10GbE SFP+ 4P 40GbE QSFP+ RA Switch picture

Arista DCS-7050SX-64-R 48P 10GbE SFP+ 4P 40GbE QSFP+ RA Switch

$115.00



Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts picture

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts

$69.00



Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks picture

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks

$224.95



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch

$46.99