Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: Qualidat on February 15, 2011, 03:31:31 PM

Title: for absolute newcomers please: autostart of vnc4server?
Post by: Qualidat on February 15, 2011, 03:31:31 PM
I'am using the installed copy of the actual live tiny core linux.
I have installed realvnc. I can use it, if I start it manually from the terminal.
Where I must write what - to do this automatical?

Thanks, Frank
Title: Re: for absolute newcomers please: autostart of vnc4server?
Post by: gerald_clark on February 15, 2011, 03:43:30 PM
Create a startup script in your .X.d directory.
These get run when X starts.
Title: Re: for absolute newcomers please: autostart of vnc4server?
Post by: Qualidat on February 16, 2011, 01:58:59 AM
Startup script - I hear from this, I have some questions:

- is this a "normal" text file?
- what means the "&" sign at the end of some lines in other scripts?
- I write the same commands like in terminal?
- the script file can have any name?
- the datatype ist ".sh"?
- all files in this folder will execute automatical?

thank you ...
Title: Re: for absolute newcomers please: autostart of vnc4server?
Post by: Rich on February 16, 2011, 11:20:40 AM
Hi Qualidat
A script file is basically a text file that contains commands just like you would type in
a terminal. It can have any name, but you should avoid reserved and system names
like "ls", "cp", etc. Some people put an "sh" extension on them to make it obvious
that it's a script. The difference between a text and a script file is the script file is
marked as executable. To do that run "chmod 755 yourscriptsname", you only need
to do that once and you can still edit it if you need to.
Title: Re: for absolute newcomers please: autostart of vnc4server?
Post by: Qualidat on February 17, 2011, 05:12:37 PM
Thank you , that helps.

Frank