PDA

View Full Version : How to run a pgm *after* "knoppix" user is logged



markgilmore
10-31-2003, 12:21 AM
I'm trying to get a pgm to run in a KDE konsole window *after*
Knoppix automatically logs in the default "knoppix" user.
I.E. I simply want to save the user the work of having to
start a konsole session and type a command.
I appended these commands to /etc/profile:
konsole & (just a test cmd to try to get *any* konsole to display)
konsole -e="x.bin" &
But neither had any effect (no konsoles displayed).
My *other* /etc/profile commands execute just fine.
But I simply cannot get a konsole window to open.
Any help would be *greatly* appreciated.
Thanks,

paradocs
10-31-2003, 05:42 AM
Greetings markgilmore,

KDE has an Autostart folder.
/home/knoppix/.kde/Autostart
Note: .kde is a hidden file -- you must use
view and select to show hidden files.

On boot a script or link in this folder will start.

Be sure to use sudo to run from root if needed.

To open a Root Shell
rxvt -T Root -bg black -fg green -cr red -ls -e sudo -s

kfmclient can be used to open files with a specified program.
see kfmclient --commands and kfmclient --help

But perhaps this is now what you are asking?

Best Wishes
paradocs



Best Wishes
paradocs