Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-10-2008, 03:05 PM   #1
Registered: May 2005
Posts: 255

Rep: Reputation: 30
start services at boot not login?

I followed to install a vnc server, and it works fine, but on the server if the computer is reboot I have to login to the computer before the vnc server starts, how can I change this?

I also followed to install an ssh server, but I cant get that to start without doing /etc/init.d/ssh start , how can I get that to start on boot also?
Old 03-10-2008, 04:09 PM   #2
Senior Member
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Originally Posted by android6011 View Post
I also followed to install an ssh server, but I cant get that to start without doing /etc/init.d/ssh start, how can I get that to start on boot also?
I will answer the easy question:
# update-rc.d ssh defaults
That will create the symbolic links in the default run levels to auto-magically start sshd during bootup at the right time (after networking is up and running).

It is a point of concern that you followed the HOWTO in the Wiki and apt did not auto-magically setup the run-level links. Make sure you have this:
lrwxrwxrwx 1 root root 13 2007-10-18 16:48 /etc/rc2.d/S20ssh -> ../init.d/ssh
If you are running in another run-level, you will want a similar link in the appropriate rcN.d directory.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
graphical login dosn't start on boot macubergeek2 Linux - Newbie 2 10-28-2006 12:45 PM
start a program when I login, not boot jturnbul Slackware 36 01-26-2006 01:00 PM
Start at Boot - After X, before login. grim1234 Slackware 2 11-05-2005 12:00 PM
How to auto-start services on boot? Neorio Linux - General 4 11-05-2003 05:52 AM
NFS Services do not start at Boot up nishi_k_79 Linux - Networking 4 10-02-2003 08:18 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:53 AM.

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