Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
I am trying to get VNC server to load automatically when the system boots.
At the moment, the only way that I can get the service to run is if I first log into the server and then the service starts.
Is there any way to configure the service to start without having to log in first?
SSH is probably a better option, but if you need to "see" a desktop, VNC is cool. I always think running Xwindows on a server is bass ackwards, but whatever floats your boat!
Is't like a 'parking spot' on which a user can logon to Linux?
Like: there are 7 runlevels, does it mean that 7 people max can logon simultanously and work in their own workspace on the box?
Last edited by Bl4deRunner; 03-17-2005 at 04:33 AM.
No, you can have a huge number of people logged into a *nix system regardless of runlevel, so it has nothing to do with the number of simultaneous users. The way I think of runlevels is that they are different sets of startup instructions. You can configure what starts up in each runlevel to suit your needs. For example, you might have runlevel 5 start everything you would possibily use, then have fewer things auto start in 4, even fewer in 3, etc. I told you to start vncserver in runlevels 3, 4, and 5 because chances are very good that you boot into runlevel 5, but if you booted into another you would still have vnc server working. I boot into 3, because I don't want my xwindows to start by default. As with all things linux, you could customize each runlevel to do exactly what you want, but most people leave them set as they come from the install.
The computer switches to runlevel 6 when you give the shutdown or reboot command, and I have never personally used runlevels 1,2, or 6. I think 6 is used if you forget your root password, but I haven't had that problem.
Runlevels are are part of all distros. I would check out google.com/linux, and put in runlevels explained as your search terms. The first page of hits looks very much like what you're looking for.
I would urge you to do some search before posting questions. Not that we mind answering them, but if you tried google (even the non-linux specific google) you'd have had your answer faster than it took you to write your question!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.