LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Startup programs in KDE (https://www.linuxquestions.org/questions/linux-newbie-8/startup-programs-in-kde-200096/)

stonehurstX11 07-01-2004 06:14 PM

Startup programs in KDE
 
Hi, I am using Mandrake 10.0 with KDE 3.2.
This is just a quick question. I have a small program that I want to automatically startup after KDE boots up. Is there a way to to this?

Thanks in advance!

Tinkster 07-01-2004 06:19 PM

Assuming that the KDE didn't dump this feature
in 3.2...

Yes, there is ... open a Konsole
cd ~/.kde/Autostart
put the programs name there
and voila! :)


Cheers,
Tink

stonehurstX11 07-01-2004 06:25 PM

Now it works! Thankfully, KDE didn't get rid of this feature. Thanks, Tinkster!

Tinkster 07-01-2004 06:28 PM

Most welcome! :)


Cheers,
Tink

marsques 07-23-2004 04:40 PM

how would i do this for a program which requires root permission... (ie )firestarter to load automatically without the user having to enter root password...

mugstar 07-23-2004 05:00 PM

AFAIK, you would add a similar line to one of the startup scripts which live in /etc/rc.d.

Someone else may like to shed further light...

Corona4456 07-23-2004 05:09 PM

not too sure about this but maybe if you change the permissions to the program and set the suid bit. or just make it executable to all users (unless it's trying to access other files which require it to be executed by root). the SUID bit should let you do that though...

marsques 07-23-2004 05:09 PM

tried it but as firestarter requires X to be up and running.... entering in /etc/rc.d/rc.local doesnt work as it tries to start firestarter in console mode...

mugstar 07-23-2004 05:30 PM

I don't know my way around Slackware too well, but could you not append the necessary lines to the script which starts X?

marsques 07-23-2004 05:45 PM

could you please give me the names of the scripts...

thanks in advance...

philipacamaniac 08-20-2004 11:54 AM

Um, isn't Firestarter just a GUI frontend for iptables? You could certainly start iptables from rc.d...

marsques 08-20-2004 02:03 PM

yeah... but is there a way in linux for programs to automatically load as root in GUI mode...
say for an example in WinNT the system admin can automatically make programs load after logon... which normal users cant disable...

i just wanna do the same...

thanks...

philipacamaniac 08-20-2004 07:39 PM

No idea, doesn't sound very secure.

Anyway - in slackware, you'll want to check out xinitrc (I think). I can't remember where it is, but you can do a "locate xinitrc" if you've ever initialized/updated the "locate" database (which is the "locate -u" command")

startx just points to xinitrc, and that's the x startup script. I don't know if you can run x programs from there - I'll go read the man pages, I suppose.


All times are GMT -5. The time now is 06:08 AM.