LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 02-29-2004, 06:10 PM   #1
zmaint
Member
 
Registered: Sep 2003
Location: Kansas
Distribution: Mandrake 9.2
Posts: 58

Rep: Reputation: 15
How do I start a program automatically when KDE starts up?


I want to start a program when KDE starts up automagically. For now the program is x0rfbserver, with a password. My girlfriend has installed Mandrake 9.2 and has even more questions about it than I do... if that's possible Anyway the best way to help her thru is to be able to vnc into her box and see what she's doing, except I can't get vnc to work. I can however vnc in to her machine if she's running the desktop sharing utility, x0rfbserver. I am aware that this is not a secure method, she doesn't work for the pentagon so it's ok. It's only temporary anyway. I tried adding an "x0rfbserver" line to rc.local (probably the wrong place), but that didn't work.

Any help will be appreciated. I don't want her to give up on Linux.. the alternative is Windows ME, which by far was the worst mistake they ever made. Personally I would rather be hanged, while on fire, than to be forced to use ME.
 
Old 02-29-2004, 06:20 PM   #2
Krappy
LQ Newbie
 
Registered: Oct 2002
Location: Australia
Distribution: Debian (how much I love apt-get install...)
Posts: 14

Rep: Reputation: 0
Hi, I don't understand what you talk a bout vnc, I'm not a Linux expert anyway.
However, as for the autostart with kde, I've done it. Just place a scrip file (with any name) in {yourhomefolder}/.kde/Autostart
It will be run automatically everytime you start kde.
Hope that helps.

Krappy

Last edited by Krappy; 02-29-2004 at 06:26 PM.
 
Old 02-29-2004, 06:42 PM   #3
zmaint
Member
 
Registered: Sep 2003
Location: Kansas
Distribution: Mandrake 9.2
Posts: 58

Original Poster
Rep: Reputation: 15
Thanks I'll give that a try and let you know how it turns out.
 
Old 03-01-2004, 02:05 AM   #4
zmaint
Member
 
Registered: Sep 2003
Location: Kansas
Distribution: Mandrake 9.2
Posts: 58

Original Poster
Rep: Reputation: 15
Well it didn't work but I think it may be because of the x0rfbserver command itself. Does anyone how to make it start up automagically at KDE launch?
 
Old 03-02-2004, 10:15 AM   #5
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
When you add the program you want to any script, make sure you include the whole command needed to run it program properly, with all the arguements.
 
Old 03-02-2004, 10:18 AM   #6
objorkum
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware 10.0
Posts: 231

Rep: Reputation: 30
Tip: You can change the Autostart path in Control Panel for KDE > System administration (or so, I ma using norwegian KDE), Paths
 
Old 03-02-2004, 12:30 PM   #7
Tih8710
Member
 
Registered: Jan 2003
Location: Finland
Distribution: Debian, INSERT-Linux, Fedora
Posts: 121

Rep: Reputation: 15
This might be "shooting far over the target", but I just updated my MDK's packages, and read about xtoolwait. If I understood it right, then that would start programs, scripts, etc when the X starts - no matter are U useing gnome and then switch into KDE or some other manager.
 
Old 12-21-2004, 05:26 PM   #8
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: PCLinuxOS 2010.12, Debian Lenny
Posts: 387

Rep: Reputation: 38
Was this ever figured out ??? I want to do the exact same thing -- a VNC server running on my box so i can GUI control is remotely even after start up.

Right now i am SSH in and edit my cron jobs to start it in the next minute from logging in. A real pain but the only work around i have for now.
 
Old 12-21-2004, 05:52 PM   #9
zmaint
Member
 
Registered: Sep 2003
Location: Kansas
Distribution: Mandrake 9.2
Posts: 58

Original Poster
Rep: Reputation: 15
No, this has not been resolved that I am aware of. I just upgraded to Mandrake 10.1 last month and have been very busy at work so I haven't had much time to play with it. I do have some time thru the holidays so if anyone has any suggestions now would be a great time to voice them.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to set a program to automatically start wfernley Linux - Newbie 8 04-16-2005 02:20 PM
NVIDIA Driver Problems / Start program when X starts up brent0324 Suse/Novell 1 03-05-2005 08:52 AM
How do I start a program automatically when I boot up? bad_andy Mandriva 2 11-27-2004 09:15 PM
Xwindows starts automatically at start up How can I stop that? Wolfy Linux - Newbie 8 06-29-2004 06:51 AM
Run programs automatically when KDE starts koyi Linux - General 2 09-01-2003 07:34 AM


All times are GMT -5. The time now is 06:03 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration