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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-13-2004, 08:34 AM
|
#1
|
Member
Registered: Mar 2004
Posts: 71
Rep:
|
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!
|
|
|
06-13-2004, 08:42 AM
|
#2
|
Member
Registered: Feb 2003
Distribution: Gentoo
Posts: 381
Rep:
|
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.
|
|
|
06-13-2004, 08:48 AM
|
#3
|
Member
Registered: Mar 2004
Posts: 71
Original Poster
Rep:
|
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
|
|
|
06-13-2004, 08:51 AM
|
#4
|
Member
Registered: Feb 2003
Distribution: Gentoo
Posts: 381
Rep:
|
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.
|
|
|
06-13-2004, 08:58 AM
|
#5
|
Member
Registered: Mar 2004
Posts: 71
Original Poster
Rep:
|
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)
|
|
|
06-13-2004, 09:14 AM
|
#6
|
Member
Registered: Feb 2003
Distribution: Gentoo
Posts: 381
Rep:
|
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.
|
|
|
06-13-2004, 10:47 AM
|
#7
|
Member
Registered: Mar 2004
Posts: 71
Original Poster
Rep:
|
what about remote commandline (or just sending commands to the comp no gui) would i use telnet for that?
|
|
|
06-13-2004, 01:20 PM
|
#8
|
Member
Registered: Feb 2003
Distribution: Gentoo
Posts: 381
Rep:
|
Telnet isn't secure enough, use 'ssh' instead.
Last edited by lokee; 06-14-2004 at 10:42 AM.
|
|
|
06-13-2004, 06:10 PM
|
#9
|
Member
Registered: Mar 2004
Posts: 71
Original Poster
Rep:
|
i thought SSH was a protocall not a program
|
|
|
06-13-2004, 06:54 PM
|
#10
|
Member
Registered: Mar 2004
Posts: 71
Original Poster
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 02:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|