LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-13-2004, 08:34 AM   #1
Maver
Member
 
Registered: Mar 2004
Posts: 71

Rep: Reputation: 15
how to make a program start on startup


i want VNC to auto load,

i know i have to add it to a runlevel but which? and what is the command to do it?

also too sence the server is only 400mhz 310mb ram or somthing like that will it improve performence if i runlevel 3 (with no gui?) and if it will help the system run faster then how do i use telnet (is that what i need to use??) for remote admin the commandline so that way the server can run in commandline to save rescorces and then when i need to use it i just use telnet or whatever and type in startx then use vnc to start working on it.

is this process gona work?

thanks for ur help!
 
Old 06-13-2004, 08:42 AM   #2
lokee
Member
 
Registered: Feb 2003
Distribution: Gentoo
Posts: 381

Rep: Reputation: 30
Which distro do you run? This thing sometimes changes from distro to distro...

Anyways, you can look in '/etc/inittab' for more info on your runlevel conf.

(Most of the time, the file is well commented, so no need for explanation)

Last edited by lokee; 06-13-2004 at 08:48 AM.
 
Old 06-13-2004, 08:48 AM   #3
Maver
Member
 
Registered: Mar 2004
Posts: 71

Original Poster
Rep: Reputation: 15
oh sry officle mandrake 10.0

i believe runlevel 5 is gui for it
runlevel 4 is not used
runlevel 3 is the step right below gui
 
Old 06-13-2004, 08:51 AM   #4
lokee
Member
 
Registered: Feb 2003
Distribution: Gentoo
Posts: 381

Rep: Reputation: 30
Ok try: 'chkconfig --list', it'll list all available services...

To add, let's say 'sendmail', run the following:
Code:
chkconfig --level 3 sendmail on
As root of course.

I hope this helps.
 
Old 06-13-2004, 08:58 AM   #5
Maver
Member
 
Registered: Mar 2004
Posts: 71

Original Poster
Rep: Reputation: 15
well i was also too wondering wat was the command line to start the tightvnc server cuzz that whole line needs to be put in the startup (cuzz i think it has password and such along with it)
 
Old 06-13-2004, 09:14 AM   #6
lokee
Member
 
Registered: Feb 2003
Distribution: Gentoo
Posts: 381

Rep: Reputation: 30
Well, I found something interesting:
http://www.vanemery.com/Linux/VNC/vnc-over-ssh.html

Next time, try searching a little on google.com; it can answer most of your questions(you just have to get used to it).
But if you have unanswered questions, don't hesitate to ask here.
 
Old 06-13-2004, 10:47 AM   #7
Maver
Member
 
Registered: Mar 2004
Posts: 71

Original Poster
Rep: Reputation: 15
what about remote commandline (or just sending commands to the comp no gui) would i use telnet for that?
 
Old 06-13-2004, 01:20 PM   #8
lokee
Member
 
Registered: Feb 2003
Distribution: Gentoo
Posts: 381

Rep: Reputation: 30
Telnet isn't secure enough, use 'ssh' instead.

Last edited by lokee; 06-14-2004 at 10:42 AM.
 
Old 06-13-2004, 06:10 PM   #9
Maver
Member
 
Registered: Mar 2004
Posts: 71

Original Poster
Rep: Reputation: 15
i thought SSH was a protocall not a program
 
Old 06-13-2004, 06:54 PM   #10
Maver
Member
 
Registered: Mar 2004
Posts: 71

Original Poster
Rep: Reputation: 15
hey when i try to run the vnc server it only runs local is there a boot arugment i have to type in or somthing so that it recives calls from the internet?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Make software start on startup Peanutman Linux - Software 1 08-12-2005 06:55 AM
How Do I Get A Program to Start at the Machine Startup andy1.52 Linux - Software 1 03-03-2005 10:33 AM
start program on startup HTS Programming 2 07-08-2004 01:22 AM
how to make named start automatically at startup nazzymac *BSD 3 04-20-2004 11:58 AM
start a program at startup. abhay Slackware 3 10-14-2003 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration