How do I start a program automatically when KDE starts up?
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: Debian (how much I love apt-get install...)
Posts: 14
Rep:
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.
Distribution: ElementaryOS Freya as main, every other ubuntu-based as testing
Posts: 124
Rep:
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.