WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: for absolute newcomers please: autostart of vnc4server?  (Read 2472 times)

Offline Qualidat

  • Newbie
  • *
  • Posts: 10
for absolute newcomers please: autostart of vnc4server?
« 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

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: for absolute newcomers please: autostart of vnc4server?
« Reply #1 on: February 15, 2011, 03:43:30 PM »
Create a startup script in your .X.d directory.
These get run when X starts.

Offline Qualidat

  • Newbie
  • *
  • Posts: 10
Re: for absolute newcomers please: autostart of vnc4server?
« Reply #2 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 ...
« Last Edit: February 16, 2011, 02:02:28 AM by Qualidat »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: for absolute newcomers please: autostart of vnc4server?
« Reply #3 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.

Offline Qualidat

  • Newbie
  • *
  • Posts: 10
Re: for absolute newcomers please: autostart of vnc4server?
« Reply #4 on: February 17, 2011, 05:12:37 PM »
Thank you , that helps.

Frank