Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Ok I need a little more help., about loading & installing vnc on start< Next Oldest | Next Newest >
thegreatkingdan Offline





Group: Members
Posts: 7
Joined: Oct. 2005
Posted: Oct. 22 2005,00:07 QUOTE

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).
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 22 2005,04:10 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
1 replies since Oct. 22 2005,00:07 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Ok I need a little more help.

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code