LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-17-2005, 02:44 PM   #1
overproof
Member
 
Registered: Apr 2005
Distribution: mandrake 10.2, ubuntu 7.10
Posts: 51

Rep: Reputation: 15
How do I start a program on boot ?


Hi

How can I get a VNC server like rfbdrake to start on boot up, and also where do I save the password ?
Any ideas please ?
Thanks
 
Old 04-17-2005, 03:50 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
vnc will often create it's own init script in /etc/init.d/ haev a check there. within that script there will either be a direct reference to the unpriveledged user who will own it, or a config file that does contain those details. as for passwords, just like any usage of vnc, it will be stored in the .vnc/ direcotry of that user. if there is no init script, you can either make your own, which is nice and easy, or just whup the commands directly into /etc/rc.local
 
Old 04-18-2005, 03:27 PM   #3
overproof
Member
 
Registered: Apr 2005
Distribution: mandrake 10.2, ubuntu 7.10
Posts: 51

Original Poster
Rep: Reputation: 15
Ok, thanks for your reply.....I will have a look and poke around ...and see what I can get going.
Its all good fun.
Cheers
 
Old 04-20-2005, 06:16 PM   #4
levargas
LQ Newbie
 
Registered: May 2004
Posts: 4

Rep: Reputation: 0
Smile

Here's what I did.

I used the menu link to setup the password (K menu->Internet->Remote Access->Virtual Network Connection). That info (password) is saved into your home directory as .x0rfbserver.

You can open that file just to check

I copied x0fbserver from /usr/bin to my home/.kde/autostart. So when KDE is started upon reboot the server is called and voila!

The downside of this is that you need to enable the auto logon for your account or else the server isn't called.

Good luck.
 
Old 04-22-2005, 07:13 AM   #5
overproof
Member
 
Registered: Apr 2005
Distribution: mandrake 10.2, ubuntu 7.10
Posts: 51

Original Poster
Rep: Reputation: 15
Thumbs up

Thanks for your reply.
It works for me too.
Excellent, and its simple enough for me
I was about to give up, but problem now solved.
Cheers
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Start a daemon/program at boot SchwipSchwap Linux - Newbie 15 01-24-2006 01:58 AM
Adding a program to start at boot ... tomazN Debian 3 10-15-2005 04:52 PM
How do I start a program automatically when I boot up? bad_andy Mandriva 2 11-27-2004 08:15 PM
Start a program at boot time cppkid Programming 3 08-31-2004 09:33 AM
program start at boot moonloader Slackware 4 03-08-2004 06:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration