Re: automatic boot up and login - VNC related
Thanks everyone,
I now have the runlevel set to 3 and I have vnc starting up after
logging in. I added /usr/local/bin/vncserver to the end of the file
.bashrc .
I am now attempting to get the machine to log in with no password
automatically.
To answer Ray's question about responsiveness of the program- it does
behave a bit squishy. I wouldn't set up a real machine with it just
yet. It runs like my old pentium 100 and Xemc. I would definitely set
up a dedicated panel with real switches and buttons on it if I was going
to use it this way. One of the dangers that I fear with it is random
behavior when you run the cursor over buttons on the screen. My G4
Cube isn't as much of a worry to me as my old Win98 AMD 500, which seems
really slow. I might accidently click on something and not know about
it until it's too late. Or click it several times before it springs to
life.
I have tripped up my blackbox several times this weekend, to the point
of having to learn a little bit about vi :) Onward!
Thanks,
Dan
Paul wrote:
>
>Hi Dan
>
>I'll answer the second question first - To change the boot up level, edit
>/etc/inittab and look for a line :-
>
>id:5:initdefault:
>
>Change it to a 3 instead of 5, and next time you reboot, you'll be in a text
>mode.
>
>When you talk about running a program at login - Do you mean after a user has
>logged on or at boot up time ?
>In the first case, just add the command that you want to run at the end of
>the $HOME/.bash_profile
>For the latter case, a number of methods can be used - One is to add the
>commands to one of the files in /etc/rc.d - Usually the rc.local is the one
>to use. A methode that I use is to add a couple of bash scripts to /etc/rc3.d
>called S99myscript and K99myscript. Files starting with an S are for kicking
>off the application, and K99 will terminate it in a controlled manner (handy
>for loadable modules). Just noticed an S99local that can be used for running
>various commands....
>The advantage of putting scripts in the /etc/rcX.d directories is you can
>control which run level will use them - rc.local is a catch all script, so if
>it does something fatal, you have no way back.
>
>If you want some notes on running an X app from the boot up scripts, I can
>email my notes later on.
>
>BTW plain text is very easy to import into a LyX document.
>
>
>Regards, Paul.
>
>
>
>On Sunday 10 Mar 2002 4:22 pm, Dan Falck wrote:
>
>>I set up VNC again yesterday with the 2.12 BDI system. As soon as I
>>figure out how to run Lyx, I will send Ray a document on how I did it.
>>My question today is: How can one set up the EMC BDI system to log in
>>automatically and launch a program right after it logs in? It has
>>something to do with rc.d or an rc file somewher, but I am a weekend
>>warrior when it comes to this and haven't figured it out yet.
>>Also, I have forgotten how to set up to NOT boot into X. When I boot
>>up now, I type in 'linux 3' at the lilo prompt. This gets me there
>>temporarily.
>>
>
>
>
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact