Marc Klünder's Message from Wednesday 13 October 2004 16:58:
Hello, I'd like to autostart a program for a special user (is logged in automatically) at the startup of KDE. I use Suse Linux Prof. 8.2 and KDE 3.1 Version 3.1.1-17 (Standardinstallation of Suse 8.2).
Actually the program ist started automatically for the desired user by adding a start-script in '$HOME/.kde/Autostart/'. But before starting the program all parts of KDE (KDesktop, Kicker/Panel(control bar)) are loaded and started. Until the start of the program it is possible to interact with the System (with the help of kde). But this should not be possible. I want to avoid that the special user can interact with anything other than the desired program.
Why do you want to start a complete KDE session if the only thing that should be accessible is your program? Wouldn't it be better to just use a plain X session and run only your program (and maybe a lightweight window manager) on it? You probably can achieve this by hardcoding some other window manager in .xinitrc: # # Add your own lines here... # <start-script> & # # finally start the window manager # WINDOWMANAGER=/usr/X11R6/bin/fvwm2 exec $WINDOWMANAGER Then configure fvwm2 in a way that the user cannot start anything else (I hope that is possible). Mario