Ok I need a little more help.


Forum: Other Help Topics
Topic: Ok I need a little more help.
started by: thegreatkingdan

Posted by thegreatkingdan on Oct. 22 2005,00:07
I need to have the vncserver .dsl file install and run on startup.  I've been looking through the forums and the wiki and there is a lot information that I've tried but nothing seems to work.  I have a frugal install with a 15 gb hd formated into 3 partitions.  A 55 mb partition for dsl, a 200 or so partition for swap, and the rest for the third.  I did it exactly as the pdf said and it seems to work fine.  I just can't get any mydsls to load on startup.  Try to be as specific as possible and pretend like I don't know anything about what I'm doing (you shouldn't have to pretend very hard).
Posted by mikshaw on Oct. 22 2005,04:10
There may be an issue with the user (that would be you) confusing the expression "load at startup" with the expression "run at startup".  If this is not the case, please forgive me and wait for the next response.
If it is true, then let me explain that loading an extension at startup is equivalent to installing it...it will not run simply by adding an extension to the root of your boot media.  If you add an extension to the root of a DSL CD or frugal installation, it will install during the boot process.  If you add the extension to a directory called "optional" in one of those two places it will not install but will appear in the fluxbox menu so it can be installed with two clicks.
If you want to have a mydsl package automatically installed AND run at startup, first do the thing above with the adding to the root of the boot media.  This will install it.
THEN, you will need to tell the program to start.  This is done in one of a few places, depending on when you want the program to start and who you want to be the user starting the program.  If it is a daemon that needs to be run as root, such as cupsd or syslogd or some other thing like that, the program should be started from /opt/bootlocal.sh.  If it is a program that is run by user dsl when you login, add it to /home/dsl/.bash_profile (this is probably where you want to add the vncserver command).  if it is a program that requires a GUI (X), then add it to /home/dsl/.xinitrc.
In the second and third files, most commands should be followed by "&" so the script can continue on to the next command, if any.  Commands that do their thing and then close, such as the xset command, do not need "&".

A very important thing to remember is that you will need to make sure that the files you edit are included in /home/dsl/.filetool.lst and that you have specified a backup partition so your files will be restored next time you reboot.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.