WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline Qualidat

  • Newbie
  • *
  • Posts: 10
for absolute newcomers please: autostart of vnc4server?
« on: February 15, 2011, 12: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, 12: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 15, 2011, 10:58:59 PM »
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 15, 2011, 11:02:28 PM by Qualidat »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: for absolute newcomers please: autostart of vnc4server?
« Reply #3 on: February 16, 2011, 08: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, 02:12:37 PM »
Thank you , that helps.

Frank